函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kmemleak.h Create Date:2022-07-27 07:10:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kmemleak_alloc_recursive

函数原型:static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, int min_count, slab_flags_t flags, gfp_t gfp)

返回类型:void

参数:

类型参数名称
const void *ptr
size_tsize
intmin_count
slab_flags_tflags
gfp_tgfp
42  如果非flags按位与Avoid kmemleak tracing 的值则kmemleak_alloc - register a newly allocated object*@ptr: pointer to beginning of the object*@size: size of the object*@min_count: minimum number of references to this object. If during memory* scanning a number of references less than @min_count is found,
调用者
名称描述
slob_alloc_node
slab_post_alloc_hook