| Function report | 
| Source Code: kernel\events\uprobes.c | Create Date:2022-07-28 13:46:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:- search for a free slot.
Proto:static unsigned long xol_take_insn_slot(struct xol_area *area)
Type:unsigned long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct xol_area * | area | 
| 1590 | Do | 
| 1592 | If slot_nr < UINSNS_PER_PAGE Then | 
| 1593 | If Not st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier). Then Break | 
| 1596 | slot_nr = UINSNS_PER_PAGE | 
| 1597 | Continue | 
| 1600 | When slot_nr >= UINSNS_PER_PAGE cycle | 
| 1603 | atomic_inc( & umber of in-use slots ) | 
| 1605 | Return slot_addr | 
| Name | Describe | 
|---|---|
| xol_get_insn_slot | xol_get_insn_slot - allocate a slot for xol.* Returns the allocated slot address or 0. | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |