Lines Matching refs:head
99 static void mlist_add(struct mlist_head *new, struct mlist_head *head) in mlist_add() argument
101 __list_add(new, head, head->next); in mlist_add()
113 static void mlist_add_tail(struct mlist_head *new, struct mlist_head *head) in mlist_add_tail() argument
115 __list_add(new, head->prev, head); in mlist_add_tail()
165 static int mlist_empty(struct mlist_head *head) in mlist_empty() argument
167 return (head->next == head); in mlist_empty()
176 static void mlist_splice(struct mlist_head *list, struct mlist_head *head) in mlist_splice() argument
182 struct mlist_head *at = head->next; in mlist_splice()
184 first->prev = head; in mlist_splice()
185 head->next = first; in mlist_splice()
216 #define mlist_for_each(pos, head) \ argument
217 for (pos = (head)->next, prefetch(pos->next); pos != (head); \
227 #define mlist_for_each_safe(pos, n, head) \ argument
228 for (pos = (head)->next, n = pos->next; pos != (head); \