函数逻辑报告 |
Source Code:include\linux\gfp.h |
Create Date:2022-07-27 06:40:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node().
函数原型:static inline struct page *__alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
int | nid | |
gfp_t | gfp_mask | |
unsigned int | order |
506 | VM_BUG_ON(nid < 0 || nid >= MAX_NUMNODES) |
507 | VM_WARN_ON((gfp_mask & __GFP_THISNODE) && !NUMA节点状态(nid)) |
509 | 返回:__alloc_pages(gfp_mask, order, nid) |
名称 | 描述 |
---|---|
__page_cache_alloc | |
new_non_cma_page | |
alloc_new_node_page | page allocation callback for NUMA node migration |
alloc_pages_vma | alloc_pages_vma - Allocate a page for a VMA.*@gfp:* %GFP_USER user allocation.* %GFP_KERNEL kernel allocations,* %GFP_HIGHMEM highmem/user allocations,* %GFP_FS allocation should not call back into a file system.* %GFP_ATOMIC don't sleep. |
slob_new_pages | |
kmem_getpages | Interface to system's page allocator. No need to hold the* kmem_cache_node ->list_lock.* If we requested dmaable memory, we will get it. Even if we* did not request dmaable memory, we might get it, but that* would be relatively rare and ignorable. |
alloc_slab_page | Slab allocation and freeing |
khugepaged_alloc_page | |
alloc_pages_node | 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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |