Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kmem_cache_alloc - Allocate an object*@cachep: The cache to allocate from

Proto:void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags)

Type:void

Parameter:

TypeParameterName
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  Return ret