函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:stat_seq_start

函数原型:static void *stat_seq_start(struct seq_file *s, loff_t *pos)

返回类型:void

参数:

类型参数名称
struct seq_file *s
loff_t *pos
173  session等于private
175  n等于pos
179  mutex_lock( & stat_mutex)
182  如果stat_headers
183  如果n恒等于0则返回:SEQ_START_TOKEN
185  n自减
188  node等于This function returns the first node (in sort order) of the tree.
189 nodei小于n循环node等于rb_next(node)
192  返回:node