Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static void make_gray_object(unsigned long ptr)

Type:void

Parameter:

TypeParameterName
unsigned longptr
769  paint_ptr(ptr, KMEMLEAK_GREY)
Caller
NameDescribe
kmemleak_not_leakkmemleak_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.