函数逻辑报告 |
Source Code:mm\percpu.c |
Create Date:2022-07-27 15:50:02 |
Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pcpu_chunk_slot
函数原型:static int pcpu_chunk_slot(const struct pcpu_chunk *chunk)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct pcpu_chunk * | chunk |
237 | 如果 free bytes in the chunk 小于PCPU_MIN_ALLOC_SIZE或contig hint for block 恒等于0则返回:0 |
名称 | 描述 |
---|---|
pcpu_chunk_relocate | pcpu_chunk_relocate - put chunk in the appropriate chunk slot*@chunk: chunk of interest*@oslot: the previous slot it was on* This function is called after an allocation or free changed @chunk |
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 |
pcpu_free_area | pcpu_free_area - frees the corresponding offset*@chunk: chunk of interest*@off: addr offset into chunk* This function determines the size of an allocation to free using* the boundary bitmap and clears the allocation map. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |