Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:slab_free_hook

Proto:static __always_inline bool slab_free_hook(struct kmem_cache *s, void *x)

Type:bool

Parameter:

TypeParameterName
struct kmem_cache *s
void *x
1405  kmemleak_free_recursive(x, Used for retrieving partial slabs, etc. )
1421  If Not (Used for retrieving partial slabs, etc. & SLAB_DEBUG_OBJECTS) Then debug_check_no_obj_freed(x, The size of an object without metadata )
1425  Return kasan_slab_free(s, x, _RET_IP_)
Caller
NameDescribe
slab_free_freelist_hook