函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:分配高速缓存区

函数原型:void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags)

返回类型:void

参数:

类型参数名称
struct kmem_cache *cachep
gfp_tflags
3532  ret等于slab_alloc(cachep, flags, _RET_IP_)
3534  trace_kmem_cache_alloc(_RET_IP_, ret, The size of an object without metadata , The size of an object including metadata , flags)
3537  返回:ret