函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static void *ddebug_proc_next(struct seq_file *m, void *p, loff_t *pos)

返回类型:void

参数:

类型参数名称
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  如果p恒等于SEQ_START_TOKENdp等于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  否则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  返回:dp