Lines Matching refs:head
64 static __inline__ void list_add(struct list_head * new_entry, struct list_head * head) in list_add() argument
66 __list_add(new_entry, head, head->next); in list_add()
77 static __inline__ void list_add_tail(struct list_head * new_entry, struct list_head * head) in list_add_tail() argument
79 __list_add(new_entry, head->prev, head); in list_add_tail()
120 static __inline__ int list_empty(struct list_head const * head) in list_empty() argument
122 return head->next == head; in list_empty()
130 static __inline__ void list_splice(struct list_head * list, struct list_head * head) in list_splice() argument
136 struct list_head * at = head->next; in list_splice()
138 first->prev = head; in list_splice()
139 head->next = first; in list_splice()
160 #define list_for_each(pos, head) \ argument
161 for (pos = (head)->next; pos != (head); pos = pos->next)
169 #define list_for_each_safe(pos, n, head) \ argument
170 for (pos = (head)->next, n = pos->next; pos != (head); \