函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Print the information for an unreferenced object to the seq file.

函数原型:static int kmemleak_seq_show(struct seq_file *seq, void *v)

返回类型:int

参数:

类型参数名称
struct seq_file *seq
void *v
1681  object等于v
1684  spin_lock_irqsave( & lock, flags)
1685  如果bject status flags 按位与lag set after the first reporting of an unreference object Objects are considered unreferenced only if their color is white, they have* not be deleted and have a minimum age to avoid false positives caused by* pointers temporarily stored in CPU registers.Printing of the unreferenced objects information to the seq file. The* print_unreferenced function must be called with the object->lock held.
1687  spin_unlock_irqrestore( & lock, flags)
1688  返回:0