Function report |
Source Code:mm\percpu.c |
Create Date:2022-07-28 14:26:01 |
| Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static void pcpu_block_update_scan(struct pcpu_chunk *chunk, int bit_off, int bits)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pcpu_chunk * | chunk | |
| int | bit_off | |
| int | bits |
| 688 | s_off = pcpu_off_to_block_off(bit_off) |
| 693 | If e_off > PCPU_BITMAP_BLOCK_BITS Then Return |
| 697 | block = metadata blocks + s_index |
| 700 | l_bit = find_last_bit(The following are helper functions to help access bitmaps and convert* between bitmap offsets to address offsets., s_off) |
| Name | Describe |
|---|---|
| pcpu_alloc_area | pcpu_alloc_area - allocates an area from a pcpu_chunk*@chunk: chunk of interest*@alloc_bits: size of request in allocation units*@align: alignment of area (max PAGE_SIZE)*@start: bit_off to start searching* This function takes in a @start offset to begin |
| 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 |