Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kmemleak_no_scan - do not scan an allocated object*@ptr: pointer to beginning of the object* This function notifies kmemleak not to scan the given memory block. Useful* in situations where it is known that the given object does not contain any

Proto:void __ref kmemleak_no_scan(const void *ptr)

Type:void

Parameter:

TypeParameterName
const void *ptr
1102  pr_debug("%s(0x%p)\n", __func__, ptr)
1104  If set if tracing memory operations is enabled && ptr && Not IS_ERR(ptr) Then Set the OBJECT_NO_SCAN flag for the object corresponding to the give* pointer. Such object will not be scanned by kmemleak but references to it* are searched.
Caller
NameDescribe
__alloc_alien_cache