Lines Matching refs:head
50 static __inline__ void list_add(struct list_head *new, struct list_head *head) in list_add() argument
52 __list_add(new, head, head->next); in list_add()
58 static __inline__ void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
60 __list_add(new, head->prev, head); in list_add_tail()
82 static __inline__ int list_empty(struct list_head *head) in list_empty() argument
84 return head->next == head; in list_empty()
90 static __inline__ void list_splice(struct list_head *list, struct list_head *head) in list_splice() argument
96 struct list_head *at = head->next; in list_splice()
98 first->prev = head; in list_splice()
99 head->next = first; in list_splice()
109 #define list_for_each(pos, head) \ argument
110 for (pos = (head)->next; pos != (head); pos = pos->next)