Function report | 
Source Code:lib\find_bit.c | 
Create Date:2022-07-28 06:24:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:find_last_bit
Proto:unsigned long find_last_bit(const unsigned long *addr, unsigned long size)
Type:unsigned long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const unsigned long * | addr | |
| unsigned long | size | 
| 133 | If size Then | 
| 134 | val = BITMAP_LAST_WORD_MASK(size) | 
| 135 | idx = (size - 1) / BITS_PER_LONG | 
| 137 | Do | 
| 139 | If val Then Return idx * BITS_PER_LONG + __fls: find last set bit in word*@word: The word to search* Undefined if no set bit exists, so code should check against 0 first. | 
| 142 | val = ~0ul | 
| 145 | Return size | 
| Name | Describe | 
|---|---|
| test_find_last_bit | |
| pcpu_block_update_hint_free | pcpu_block_update_hint_free - updates the block hints on the free path*@chunk: chunk of interest*@bit_off: chunk offset*@bits: size of request* Updates metadata for the allocation path. This avoids a blind block | 
| chunk_map_stats | Prints out chunk state. Fragmentation is considered between* the beginning of the chunk to the last allocation.* All statistics are in bytes unless stated otherwise. | 
| 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  |