函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Mark the object as black-colored so that it is ignored from scans and* reporting.

函数原型:static void make_black_object(unsigned long ptr)

返回类型:void

参数:

类型参数名称
unsigned longptr
778  paint_ptr(ptr, KMEMLEAK_BLACK)
调用者
名称描述
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)