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:The following are helper functions to help access bitmaps and convert* between bitmap offsets to address offsets.
Proto:static unsigned long *pcpu_index_alloc_map(struct pcpu_chunk *chunk, int index)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct pcpu_chunk * | chunk | |
int | index |
306 | Return allocation map + index * PCPU_BITMAP_BLOCK_BITS / BITS_PER_LONG |
Name | Describe |
---|---|
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_refresh_hint | pcpu_block_refresh_hint*@chunk: chunk of interest*@index: index of the metadata block* Scans over the block beginning at first_free and updates the block* metadata accordingly. |
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 |