函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:void *trace_pid_next(struct trace_pid_list *pid_list, void *v, loff_t *pos)

返回类型:void

参数:

类型参数名称
struct trace_pid_list *pid_list
void *v
loff_t *pos
451  pid等于v
453  pos自加
456  pid等于在内存区域中找到下一个设置位
459  如果pid小于pid_max则返回:pid加1
462  返回:NULL
调用者
名称描述
trace_pid_startrace_pid_start - Used for seq_file to start reading pid lists*@pid_list: The pid list to show*@pos: The position of the file* This is used by seq_file "start" operation to start the iteration* of listing pids
p_next
fpid_next