Lines Matching refs:head
65 struct flist_head *head) in flist_add() argument
67 __flist_add(new_entry, head, head->next); in flist_add()
71 struct flist_head *head) in flist_add_tail() argument
73 __flist_add(new_entry, head->prev, head); in flist_add_tail()
117 static inline int flist_empty(const struct flist_head *head) in flist_empty() argument
119 return head->next == head; in flist_empty()
137 struct flist_head *head) in flist_splice() argument
140 __flist_splice(list, head, head->next); in flist_splice()
144 struct flist_head *head) in flist_splice_tail() argument
147 __flist_splice(list, head->prev, head); in flist_splice_tail()
151 struct flist_head *head) in flist_splice_tail_init() argument
154 __flist_splice(list, head->prev, head); in flist_splice_tail_init()
160 struct flist_head *head) in flist_splice_init() argument
163 __flist_splice(list, head, head->next); in flist_splice_init()
185 #define flist_for_each(pos, head) \ argument
186 for (pos = (head)->next; pos != (head); pos = pos->next)
194 #define flist_for_each_safe(pos, n, head) \ argument
195 for (pos = (head)->next, n = pos->next; pos != (head); \
198 extern void flist_sort(void *priv, struct flist_head *head,