函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fpid_next

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

返回类型:void

参数:

类型参数名称
struct seq_file *m
void *v
loff_t *pos
7038  tr等于private
7039  pid_list等于cu_dereference_sched() - fetch RCU-sched-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* Makes rcu_dereference_check() do the dirty work.(function_pids)
7041  如果v恒等于Greater than any max PID
7042  pos自加
7043  返回:NULL
7045  返回:race_pid_next - Used for seq_file to get to the next pid of a pid_list*@pid_list: The pid list to show*@v: The last pid that was shown (+1 the actual pid to let zero be displayed)*@pos: The position of the file* This is used by the seq_file "next"