Lines Matching full:head
46 * @head: the head for your list.
49 #define list_for_each_entry(pos, head, member) \ argument
50 for (pos = list_entry((head)->next, typeof(*pos), member); \
51 &pos->member != (head); \
58 * @head: the head for your list.
61 #define list_for_each_entry_safe(pos, n, head, member) \ argument
62 for (pos = list_entry((head)->next, typeof(*pos), member), \
64 &pos->member != (head); \
69 * @head: the list to test.
71 static inline int list_empty(const struct list_head *head) in list_empty() argument
73 return head->next == head; in list_empty()
95 * @head: list head to add it before
97 * Insert a new entry before the specified head.
100 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() argument
102 __list_add(_new, head->prev, head); in list_add_tail()