函数逻辑报告 |
Source Code:lib\find_bit.c |
Create Date:2022-07-27 07:21:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:查找最后的CPU标志位
函数原型:unsigned long find_last_bit(const unsigned long *addr, unsigned long size)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
const unsigned long * | addr | |
unsigned long | size |
133 | 如果size则 |
134 | val等于BITMAP_LAST_WORD_MASK(size) |
135 | idx等于size减1的差除BITS_PER_LONG |
137 | 循环 |
145 | 返回:size |
名称 | 描述 |
---|---|
test_find_last_bit | |
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 |
chunk_map_stats | Prints out chunk state. Fragmentation is considered between* the beginning of the chunk to the last allocation.* All statistics are in bytes unless stated otherwise. |
setup_nr_cpu_ids | An arch may set nr_cpu_ids earlier if needed, so this would be redundant |
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |