Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kmemleak_ignore - ignore an allocated object*@ptr: pointer to beginning of the object* Calling this function on an object will cause the memory block to be* ignored (not scanned and not reported as a leak)

Proto:void __ref kmemleak_ignore(const void *ptr)

Type:void

Parameter:

TypeParameterName
const void *ptr
1064  pr_debug("%s(0x%p)\n", __func__, ptr)
1066  If set if tracing memory operations is enabled && ptr && Not IS_ERR(ptr) Then Mark the object as black-colored so that it is ignored from scans and* reporting.
Caller
NameDescribe
move_module
kasan_mem_notifier
kmemleak_ignore_physkmemleak_ignore_phys - similar to kmemleak_ignore but taking a physical* address argument*@phys: physical address of the object