Lines Matching defs:head
34 * @head: list head to add it after
36 * Insert a new entry after the specified head.
39 static inline void list_add(struct list_head *new, struct list_head *head)
41 __list_add(new, head, head->next);
75 static inline int list_empty(const struct list_head *head)
77 return head->next == head;
86 #define list_for_each_entry(pos, head, member) \
87 for (pos = list_first_entry(head, typeof(*pos), member); \
88 &pos->member != (head); \