| Function report | 
| Source Code: mm\percpu.c | Create Date:2022-07-28 14:25:44 | 
| Last Modify:2022-05-23 13:52:24 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:pcpu_off_to_block_off
Proto:static unsigned long pcpu_off_to_block_off(int off)
Type:unsigned long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | off | 
| 317 | Return off & PCPU_BITMAP_BLOCK_BITS - 1 | 
| Name | Describe | 
|---|---|
| pcpu_next_md_free_region | pcpu_next_md_free_region - finds the next hint free area*@chunk: chunk of interest*@bit_off: chunk offset*@bits: size of free area* Helper function for pcpu_for_each_md_free_region | 
| pcpu_next_fit_region | pcpu_next_fit_region - finds fit areas for a given allocation request*@chunk: chunk of interest*@alloc_bits: size of allocation*@align: alignment of area (max PAGE_SIZE)*@bit_off: chunk offset*@bits: size of free area* Finds the next free region that is | 
| pcpu_block_update_scan | pcpu_block_update_scan - update a block given a free area from a scan*@chunk: chunk of interest*@bit_off: chunk offset*@bits: size of free area* Finding the final allocation spot first goes through pcpu_find_block_fit()* to find a block that can hold the | 
| pcpu_block_update_hint_alloc | pcpu_block_update_hint_alloc - update hint on allocation path*@chunk: chunk of interest*@bit_off: chunk offset*@bits: size of request* Updates metadata for the allocation path. The metadata only has to be | 
| 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 | 
| 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 |