函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-27 17:19:45
Last Modify:2022-05-23 17:02:55 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:在指定节点上分配一个对象

函数原型:void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid)

返回类型:void

参数:

类型参数名称
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  返回:ret