Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\dynamic_debug.c Create Date:2022-07-28 07:15:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Seq_ops next method. Called several times within a read()* call from userspace, with ddebug_lock held. Walks to the* next _ddebug object with a special case for the header line.

Proto:static void *ddebug_proc_next(struct seq_file *m, void *p, loff_t *pos)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
void *p
loff_t *pos
795  iter = private
798  vpr_info("called m=%p p=%p *pos=%lld\n", m, p, (unsignedlonglong) * pos)
801  If p == SEQ_START_TOKEN Then dp = Set the iterator to point to the first _ddebug object* and return a pointer to that first object. Returns* NULL if there are no _ddebugs at all.
803  Else dp = Advance the iterator to point to the next _ddebug* object from the one the iterator currently points at,* and returns a pointer to the new _ddebug. Returns* NULL if the iterator has seen all the _ddebugs.
805  ++pos
806  Return dp