Lines Matching refs:head
808 struct list_head *seq_list_start(struct list_head *head, loff_t pos) in seq_list_start() argument
812 list_for_each(lh, head) in seq_list_start()
820 struct list_head *seq_list_start_head(struct list_head *head, loff_t pos) in seq_list_start_head() argument
823 return head; in seq_list_start_head()
825 return seq_list_start(head, pos - 1); in seq_list_start_head()
829 struct list_head *seq_list_next(void *v, struct list_head *head, loff_t *ppos) in seq_list_next() argument
835 return lh == head ? NULL : lh; in seq_list_next()
846 struct hlist_node *seq_hlist_start(struct hlist_head *head, loff_t pos) in seq_hlist_start() argument
850 hlist_for_each(node, head) in seq_hlist_start()
865 struct hlist_node *seq_hlist_start_head(struct hlist_head *head, loff_t pos) in seq_hlist_start_head() argument
870 return seq_hlist_start(head, pos - 1); in seq_hlist_start_head()
882 struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head, in seq_hlist_next() argument
889 return head->first; in seq_hlist_next()
906 struct hlist_node *seq_hlist_start_rcu(struct hlist_head *head, in seq_hlist_start_rcu() argument
911 __hlist_for_each_rcu(node, head) in seq_hlist_start_rcu()
930 struct hlist_node *seq_hlist_start_head_rcu(struct hlist_head *head, in seq_hlist_start_head_rcu() argument
936 return seq_hlist_start_rcu(head, pos - 1); in seq_hlist_start_head_rcu()
953 struct hlist_head *head, in seq_hlist_next_rcu() argument
960 return rcu_dereference(head->first); in seq_hlist_next_rcu()
975 seq_hlist_start_percpu(struct hlist_head __percpu *head, int *cpu, loff_t pos) in seq_hlist_start_percpu() argument
980 hlist_for_each(node, per_cpu_ptr(head, *cpu)) { in seq_hlist_start_percpu()
999 seq_hlist_next_percpu(void *v, struct hlist_head __percpu *head, in seq_hlist_next_percpu() argument
1011 struct hlist_head *bucket = per_cpu_ptr(head, *cpu); in seq_hlist_next_percpu()