Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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"

Proto:void *trace_pid_next(struct trace_pid_list *pid_list, void *v, loff_t *pos)

Type:void

Parameter:

TypeParameterName
struct trace_pid_list *pid_list
void *v
loff_t *pos
451  pid = v
453  pos++
456  pid = Find the next set bit in a memory region.
459  If pid < pid_max Then Return pid + 1
462  Return NULL
Caller
NameDescribe
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