Lines Matching full:head
53 * @head: list head to add it after
55 * Insert a new entry after the specified head.
58 _INLINE_ void list_add(struct list_head *add, struct list_head *head) in list_add() argument
60 __list_add(add, head, head->next); in list_add()
66 * @head: list head to add it before
68 * Insert a new entry before the specified head.
71 _INLINE_ void list_add_tail(struct list_head *add, struct list_head *head) in list_add_tail() argument
73 __list_add(add, head->prev, head); in list_add_tail()
114 * @head: the list to test.
116 _INLINE_ int list_empty(struct list_head *head) in list_empty() argument
118 return head->next == head; in list_empty()
124 * @head: the place to add it in the first list.
126 _INLINE_ void list_splice(struct list_head *list, struct list_head *head) in list_splice() argument
132 struct list_head *at = head->next; in list_splice()
134 first->prev = head; in list_splice()
135 head->next = first; in list_splice()
154 * @head: the head for your list.
156 #define list_for_each(pos, head) \ argument
157 for (pos = (head)->next; pos != (head); pos = pos->next)
164 * @head: the head for your list (not included in iteration).
166 #define list_for_each_safe(pos, pnext, head) \ argument
167 for (pos = (head)->next, pnext = pos->next; pos != (head); \