Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\seq_file.c Create Date:2022-07-28 20:09:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:seq_hlist_next_percpu - move to the next position of the percpu hlist array*@v: pointer to current hlist_node*@head: pointer to percpu array of struct hlist_heads*@cpu: pointer to cpu "cursor"*@pos: start position of sequence

Proto:struct hlist_node *seq_hlist_next_percpu(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)

Type:struct hlist_node

Parameter:

TypeParameterName
void *v
struct hlist_head __percpu *head
int *cpu
loff_t *pos
1090  node = v
1092  ++pos
1094  If next Then Return next
1097  When cpu < Setup number of possible processor ids cycle
1099  bucket = per_cpu_ptr(head, * cpu)
1101  If Not hlist_empty(bucket) Then Return first
1104  Return NULL
Caller
NameDescribe
locks_next