Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-28 15:45:51
Last Modify:2022-05-23 17:02:55 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kmem_cache_alloc_node - Allocate an object on the specified node*@cachep: The cache to allocate from.*@flags: See kmalloc().*@nodeid: node number of the target node.* Identical to kmem_cache_alloc but it will allocate memory on the given

Proto:void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *cachep
gfp_tflags
intnodeid
3623  ret = Inlined fastpath so that allocation functions (kmalloc, kmem_cache_alloc)* have the fastpath folded into their functions. So no function call* overhead for requests that can be satisfied on the fastpath.
3625  trace_kmem_cache_alloc_node(_RET_IP_, ret, The size of an object without metadata , The size of an object including metadata , flags, nodeid)
3629  Return ret