函数逻辑报告 |
Source Code:mm\percpu.c |
Create Date:2022-07-27 15:50:00 |
Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pcpu_addr_in_chunk - check if the address is served from this chunk*@chunk: chunk of interest*@addr: percpu address* RETURNS:* True if the address is served from this chunk.
函数原型:static bool pcpu_addr_in_chunk(struct pcpu_chunk *chunk, void *addr)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pcpu_chunk * | chunk | |
void * | addr |
210 | 如果非chunk则返回:false |
213 | start_addr等于 base address of this chunk 加 the overlap with the previous region to have a page aligned base_addr |
214 | end_addr等于 base address of this chunk 加 # of pages served by this chunk 乘PAGE_SIZE减 additional area required to have the region end page aligned |
217 | 返回:addr大于等于start_addr且addr小于end_addr |
名称 | 描述 |
---|---|
pcpu_chunk_addr_search | pcpu_chunk_addr_search - determine chunk containing specified address*@addr: address for which the chunk needs to be determined.* This is an internal function that handles all but static allocations. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |