Function report |
Source Code:mm\percpu.c |
Create Date:2022-07-28 14:25:47 |
Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static void pcpu_next_md_free_region(struct pcpu_chunk *chunk, int *bit_off, int *bits)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct pcpu_chunk * | chunk | |
int * | bit_off | |
int * | bits |
367 | i = pcpu_off_to_block_index( * bit_off) |
368 | block_off = pcpu_off_to_block_off( * bit_off) |
371 | bits = 0 |
375 | If bits Then |
377 | If size of free space alongthe left side of the block == PCPU_BITMAP_BLOCK_BITS Then Continue |
379 | Return |
390 | bits = contig hint for block |
395 | Return |
398 | block_off = 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 |