函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:____cache_alloc

函数原型:static inline void *____cache_alloc(struct kmem_cache *cachep, gfp_t flags)

返回类型:void

参数:

类型参数名称
struct kmem_cache *cachep
gfp_tflags
3091  check_irq_off()
3093  ac等于cpu_cache_get(cachep)
3094  如果此条件成立可能性大(为编译器优化)(avail)则
3095  touched等于1
3096  objp等于Must have this definition in here for the proper* alignment of array_cache. Also simplifies accessing* the entries.[--avail]
3098  STATS_INC_ALLOCHIT(cachep)
3099  转到:out
3102  STATS_INC_ALLOCMISS(cachep)
3103  objp等于cache_alloc_refill(cachep, flags)
3108  ac等于cpu_cache_get(cachep)
3110  out :
3116  如果objpkmemleak_erase( & Must have this definition in here for the proper* alignment of array_cache. Also simplifies accessing* the entries.[avail])
3118  返回:objp
调用者
名称描述
slab_alloc_node
__do_cache_alloc