函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\seq_file.c Create Date:2022-07-29 10:40:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:struct hlist_node *seq_hlist_next_percpu(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)

返回类型:struct hlist_node

参数:

类型参数名称
void *v
struct hlist_head __percpu *head
int *cpu
loff_t *pos
1090  node等于v
1092  pos先自加
1094  如果next则返回:next
1097 cpu小于CPU数量循环
1099  bucket等于per_cpu_ptr(head, * cpu)
1101  如果非hlist_empty(bucket)则返回:first
1104  返回:NULL
调用者
名称描述
locks_next