Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-28 15:49:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__kmalloc_track_caller

Proto:void *__kmalloc_track_caller(size_t size, gfp_t gfpflags, unsigned long caller)

Type:void

Parameter:

TypeParameterName
size_tsize
gfp_tgfpflags
unsigned longcaller
4327  If Value for the false possibility is greater at compile time(size > Maximum size for which we actually use a slab cache ) Then Return kmalloc_large(size, gfpflags)
4330  s = kmalloc_slab(size, gfpflags)
4332  If Value for the false possibility is greater at compile time(ZERO_OR_NULL_PTR(s)) Then Return s
4335  ret = slab_alloc(s, gfpflags, caller)
4338  trace_kmalloc(caller, ret, size, The size of an object including metadata , gfpflags)
4340  Return ret