Lines Matching refs:head
758 struct list_head *seq_list_start(struct list_head *head, loff_t pos) in seq_list_start() argument
762 list_for_each(lh, head) in seq_list_start()
770 struct list_head *seq_list_start_head(struct list_head *head, loff_t pos) in seq_list_start_head() argument
773 return head; in seq_list_start_head()
775 return seq_list_start(head, pos - 1); in seq_list_start_head()
779 struct list_head *seq_list_next(void *v, struct list_head *head, loff_t *ppos) in seq_list_next() argument
785 return lh == head ? NULL : lh; in seq_list_next()
796 struct hlist_node *seq_hlist_start(struct hlist_head *head, loff_t pos) in seq_hlist_start() argument
800 hlist_for_each(node, head) in seq_hlist_start()
815 struct hlist_node *seq_hlist_start_head(struct hlist_head *head, loff_t pos) in seq_hlist_start_head() argument
820 return seq_hlist_start(head, pos - 1); in seq_hlist_start_head()
832 struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head, in seq_hlist_next() argument
839 return head->first; in seq_hlist_next()
856 struct hlist_node *seq_hlist_start_rcu(struct hlist_head *head, in seq_hlist_start_rcu() argument
861 __hlist_for_each_rcu(node, head) in seq_hlist_start_rcu()
880 struct hlist_node *seq_hlist_start_head_rcu(struct hlist_head *head, in seq_hlist_start_head_rcu() argument
886 return seq_hlist_start_rcu(head, pos - 1); in seq_hlist_start_head_rcu()
903 struct hlist_head *head, in seq_hlist_next_rcu() argument
910 return rcu_dereference(head->first); in seq_hlist_next_rcu()
925 seq_hlist_start_percpu(struct hlist_head __percpu *head, int *cpu, loff_t pos) in seq_hlist_start_percpu() argument
930 hlist_for_each(node, per_cpu_ptr(head, *cpu)) { in seq_hlist_start_percpu()
949 seq_hlist_next_percpu(void *v, struct hlist_head __percpu *head, in seq_hlist_next_percpu() argument
961 struct hlist_head *bucket = per_cpu_ptr(head, *cpu); in seq_hlist_next_percpu()