函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slob.c Create Date:2022-07-27 17:09:15
Last Modify:2022-05-20 09:26:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:slob_new_pages

函数原型:static void *slob_new_pages(gfp_t gfp, int order, int node)

返回类型:void

参数:

类型参数名称
gfp_tgfp
intorder
intnode
196  如果node不等于NUMA_NO_NODEpage等于Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node().
198  否则page等于alloc_pages(gfp, order)
202  如果非page则返回:NULL
205  mod_node_page_state(page_pgdat(page), NR_SLAB_UNRECLAIMABLE, 1 << order)
207  返回:page_address(page)
调用者
名称描述
slob_allocslob_alloc: entry point into the slob allocator.
__do_kmalloc_nodeEnd of slob allocator proper. Begin kmem_cache_alloc and kmalloc frontend.
slob_alloc_node