Home | History | Annotate | Download | only in ext2fs

Lines Matching full:head

48  * Insert a new entry after the specified head..
50 static __inline__ void list_add(struct list_head *new, struct list_head *head)
52 __list_add(new, head, head->next);
58 static __inline__ void list_add_tail(struct list_head *new, struct list_head *head)
60 __list_add(new, head->prev, head);
82 static __inline__ int list_empty(struct list_head *head)
84 return head->next == head;
88 * Splice in "list" into "head"
90 static __inline__ void list_splice(struct list_head *list, struct list_head *head)
96 struct list_head *at = head->next;
98 first->prev = head;
99 head->next = first;
109 #define list_for_each(pos, head) \
110 for (pos = (head)->next; pos != (head); pos = pos->next)