Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:____cache_alloc

Proto:static inline void *____cache_alloc(struct kmem_cache *cachep, gfp_t flags)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *cachep
gfp_tflags
3091  check_irq_off()
3093  ac = cpu_cache_get(cachep)
3094  If Value is more likely to compile time(avail) Then
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  Go to out
3102  STATS_INC_ALLOCMISS(cachep)
3103  objp = cache_alloc_refill(cachep, flags)
3108  ac = cpu_cache_get(cachep)
3110  out :
3116  If objp Then kmemleak_erase( & Must have this definition in here for the proper* alignment of array_cache. Also simplifies accessing* the entries.[avail])
3118  Return objp
Caller
NameDescribe
slab_alloc_node
__do_cache_alloc