函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kmemleak_not_leak - mark an allocated object as false positive*@ptr: pointer to beginning of the object* Calling this function on an object will cause the memory block to no longer* be reported as leak and always be scanned.

函数原型:void __ref kmemleak_not_leak(const void *ptr)

返回类型:void

参数:

类型参数名称
const void *ptr
1046  pr_debug("%s(0x%p)\n", __func__, ptr)
1048  如果set if tracing memory operations is enabled ptr且非是错误Mark an object permanently as gray-colored so that it can no longer be* reported as a leak. This is used in general to mark a false positive.
调用者
名称描述
move_module
seccomp_sysctl_init
kmemleak_not_leak_physkmemleak_not_leak_phys - similar to kmemleak_not_leak but taking a physical* address argument*@phys: physical address of the object
sysctl_init