Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Print the information for an unreferenced object to the seq file.

Proto:static int kmemleak_seq_show(struct seq_file *seq, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *seq
void *v
1681  object = v
1684  spin_lock_irqsave( & lock, flags)
1685  If 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. Then 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  Return 0