Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slob.c Create Date:2022-07-28 15:35:52
Last Modify:2022-05-20 09:26:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:slob_new_pages

Proto:static void *slob_new_pages(gfp_t gfp, int order, int node)

Type:void

Parameter:

TypeParameterName
gfp_tgfp
intorder
intnode
196  If node != NUMA_NO_NODE Then page = Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node().
198  Else page = alloc_pages(gfp, order)
202  If Not page Then Return NULL
205  mod_node_page_state(page_pgdat(page), NR_SLAB_UNRECLAIMABLE, 1 << order)
207  Return page_address(page)
Caller
NameDescribe
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