函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__paint_it

函数原型:static void __paint_it(struct kmemleak_object *object, int color)

返回类型:void

参数:

类型参数名称
struct kmemleak_object *object
intcolor
733  minimum number of a pointers found before it is considered leak 等于color
734  如果color恒等于KMEMLEAK_BLACKbject status flags 或等于lag set to not scan the object
调用者
名称描述
paint_it
kmemleak_clearWe use grey instead of black to ensure we can do future scans on the same* objects. If we did not do future scans these black objects could* potentially contain references to newly allocated objects in the future and* we'd end up with false positives.