函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:36:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:alloc_pages_exact_nid - allocate an exact number of physically-contiguous* pages on a node
函数原型:void *__meminit alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
int | nid | |
size_t | size | |
gfp_t | gfp_mask |
4978 | 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 |
4981 | 如果WARN_ON_ONCE(gfp_mask & __GFP_COMP)则gfp_mask与等于__GFP_COMP的反 |
4984 | p等于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. |
4985 | 如果非p则返回:NULL |
4987 | 返回:make_alloc_exact((unsignedlong)page_address(p), order, size) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |