Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-28 15:48:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kmem_cache_alloc_node

Proto:void *kmem_cache_alloc_node(struct kmem_cache *s, gfp_t gfpflags, int node)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *s
gfp_tgfpflags
intnode
2795  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.
2797  trace_kmem_cache_alloc_node(_RET_IP_, ret, The size of an object without metadata , The size of an object including metadata , gfpflags, node)
2800  Return ret
Caller
NameDescribe
alloc_unbound_pwqbtain a pool matching @attr and create a pwq associating the pool and @wq
alloc_vmap_areaAllocate a region of KVA of the specified size and alignment, within the* vstart and vend.
alloc_slabmgmtGet the memory for a slab management obj.* For a slab cache when the slab descriptor is off-slab, the* slab descriptor can't come from the same cache which is being created,* Because if it is the case, that means we defer the creation of
init_kmem_cache_nodes
create_task_io_context
ioc_create_icq_create_icq - create and link io_cq*@ioc: io_context of interest*@q: request_queue of interest*@gfp_mask: allocation mask* Make sure io_cq linking @ioc and @q exists
bfq_get_queue