函数逻辑报告 |
Source Code:mm\percpu.c |
Create Date:2022-07-27 15:52:08 |
Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pcpu_alloc_alloc_info - allocate percpu allocation info*@nr_groups: the number of groups*@nr_units: the number of units* Allocate ai which is large enough for @nr_groups groups containing*@nr_units units
函数原型:struct pcpu_alloc_info *__init pcpu_alloc_alloc_info(int nr_groups, int nr_units)
返回类型:struct pcpu_alloc_info
参数:
类型 | 参数 | 名称 |
---|---|---|
int | nr_groups | |
int | nr_units |
2132 | ptr等于memblock_alloc(PFN_ALIGN(ai_size), PAGE_SIZE) |
2133 | 如果非ptr则返回:NULL |
2144 | internal, don't use 等于PFN_ALIGN(ai_size) |
2146 | 返回:ai |
名称 | 描述 |
---|---|
setup_per_cpu_areas | UP percpu area setup.* UP always uses km-based percpu allocator with identity mapping.* Static percpu variables are indistinguishable from the usual static* variables and don't require any special preparation. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |