函数逻辑报告 |
Source Code:mm\percpu.c |
Create Date:2022-07-27 15:50:46 |
Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pcpu_is_populated - determines if the region is populated*@chunk: chunk of interest*@bit_off: chunk offset*@bits: size of area*@next_off: return value for the next offset to start searching* For atomic allocations, check if the backing pages are populated
函数原型:static bool pcpu_is_populated(struct pcpu_chunk *chunk, int bit_off, int bits, int *next_off)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pcpu_chunk * | chunk | |
int | bit_off | |
int | bits | |
int * | next_off |
1046 | page_start等于PFN_DOWN(bit_off * PCPU_MIN_ALLOC_SIZE) |
1047 | page_end等于PFN_UP((bit_off + bits) * PCPU_MIN_ALLOC_SIZE) |
1049 | rs等于page_start |
1050 | pcpu_next_unpop( populated bitmap , & rs, & re, page_end) |
1055 | 返回:false |
名称 | 描述 |
---|---|
pcpu_find_block_fit | pcpu_find_block_fit - finds the block index to start searching*@chunk: chunk of interest*@alloc_bits: size of request in allocation units*@align: alignment of area (max PAGE_SIZE bytes)*@pop_only: use populated regions only* Given a chunk and an |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |