函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-27 17:21:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:slab_free_hook

函数原型:static __always_inline bool slab_free_hook(struct kmem_cache *s, void *x)

返回类型:bool

参数:

类型参数名称
struct kmem_cache *s
void *x
1405  kmemleak_free_recursive(x, Used for retrieving partial slabs, etc. )
1421  如果非Used for retrieving partial slabs, etc. 按位与SLAB_DEBUG_OBJECTS的值则debug_check_no_obj_freed(x, The size of an object without metadata )
1425  返回:kasan_slab_free(s, x, _RET_IP_)
调用者
名称描述
slab_free_freelist_hook