函数逻辑报告 | 
Source Code:mm\percpu-vm.c | 
Create Date:2022-07-27 15:51:33 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:pcpu_create_chunk
函数原型:static struct pcpu_chunk *pcpu_create_chunk(gfp_t gfp)
返回类型:struct pcpu_chunk
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| gfp_t | gfp | 
| 336 | chunk等于pcpu_alloc_chunk(gfp) | 
| 337 | 如果非chunk则返回:NULL | 
| 340 | vms等于pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes, group information, used for vm allocation , pcpu_atom_size) | 
| 342 | 如果非vms则 | 
| 343 | pcpu_free_chunk(chunk) | 
| 344 | 返回:NULL | 
| 347 | chunk data 等于vms | 
| 350 | pcpu_stats_chunk_alloc() | 
| 353 | 返回:chunk | 
| 名称 | 描述 | 
|---|---|
| pcpu_alloc | pcpu_alloc - the percpu allocator*@size: size of area to allocate in bytes*@align: alignment of area (max PAGE_SIZE)*@reserved: allocate from the reserved chunk if available*@gfp: allocation flags* Allocate percpu area of @size bytes aligned at @align | 
| pcpu_balance_workfn | Balance work is used to populate or destroy chunks asynchronously. We* try to keep the number of populated free pages between* PCPU_EMPTY_POP_PAGES_LOW and HIGH for atomic allocations and at most one* empty chunk. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |