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 the object as black-colored so that it is ignored from scans and* reporting.

Proto:static void make_black_object(unsigned long ptr)

Type:void

Parameter:

TypeParameterName
unsigned longptr
778  paint_ptr(ptr, KMEMLEAK_BLACK)
Caller
NameDescribe
kmemleak_ignorekmemleak_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)