函数逻辑报告 |
Source Code:mm\sparse-vmemmap.c |
Create Date:2022-07-27 17:08:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:vmemmap_alloc_block
函数原型:void *__meminit vmemmap_alloc_block(unsigned long size, int node)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | size | |
int | node |
52 | 如果slab_is_available()则 |
54 | order等于get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory |
58 | page等于Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online. |
59 | 如果page则返回:page_address(page) |
62 | 如果非warned则 |
65 | warned = true |
67 | 返回:NULL |
名称 | 描述 |
---|---|
vmemmap_alloc_block_buf | d to make sure size is all the same during early stage |
vmemmap_alloc_block_zero |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |