函数逻辑报告 |
Source Code:mm\percpu.c |
Create Date:2022-07-27 15:50:25 |
Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static void pcpu_block_update_scan(struct pcpu_chunk *chunk, int bit_off, int bits)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pcpu_chunk * | chunk | |
int | bit_off | |
int | bits |
693 | 如果e_off大于PCPU_BITMAP_BLOCK_BITS则返回 |
697 | block等于 metadata blocks 加s_index |
700 | l_bit等于查找最后的CPU标志位 |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |