Lines Matching refs:head
801 struct list_head *seq_list_start(struct list_head *head, loff_t pos) in seq_list_start() argument
805 list_for_each(lh, head) in seq_list_start()
813 struct list_head *seq_list_start_head(struct list_head *head, loff_t pos) in seq_list_start_head() argument
816 return head; in seq_list_start_head()
818 return seq_list_start(head, pos - 1); in seq_list_start_head()
822 struct list_head *seq_list_next(void *v, struct list_head *head, loff_t *ppos) in seq_list_next() argument
828 return lh == head ? NULL : lh; in seq_list_next()
839 struct hlist_node *seq_hlist_start(struct hlist_head *head, loff_t pos) in seq_hlist_start() argument
843 hlist_for_each(node, head) in seq_hlist_start()
858 struct hlist_node *seq_hlist_start_head(struct hlist_head *head, loff_t pos) in seq_hlist_start_head() argument
863 return seq_hlist_start(head, pos - 1); in seq_hlist_start_head()
875 struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head, in seq_hlist_next() argument
882 return head->first; in seq_hlist_next()
899 struct hlist_node *seq_hlist_start_rcu(struct hlist_head *head, in seq_hlist_start_rcu() argument
904 __hlist_for_each_rcu(node, head) in seq_hlist_start_rcu()
923 struct hlist_node *seq_hlist_start_head_rcu(struct hlist_head *head, in seq_hlist_start_head_rcu() argument
929 return seq_hlist_start_rcu(head, pos - 1); in seq_hlist_start_head_rcu()
946 struct hlist_head *head, in seq_hlist_next_rcu() argument
953 return rcu_dereference(head->first); in seq_hlist_next_rcu()
968 seq_hlist_start_percpu(struct hlist_head __percpu *head, int *cpu, loff_t pos) in seq_hlist_start_percpu() argument
973 hlist_for_each(node, per_cpu_ptr(head, *cpu)) { in seq_hlist_start_percpu()
992 seq_hlist_next_percpu(void *v, struct hlist_head __percpu *head, in seq_hlist_next_percpu() argument
1004 struct hlist_head *bucket = per_cpu_ptr(head, *cpu); in seq_hlist_next_percpu()