Lines Matching defs:list
1 /* $NetBSD: list.h,v 1.5 2014/08/20 15:26:52 riastradh Exp $ */
14 * notice, this list of conditions and the following disclaimer.
16 * notice, this list of conditions and the following disclaimer in the
144 __list_splice_between(struct list_head *prev, const struct list_head *list,
147 struct list_head *first = list->next;
148 struct list_head *last = list->prev;
158 list_splice(const struct list_head *list, struct list_head *head)
160 if (!list_empty(list))
161 __list_splice_between(head, list, head->next);
165 list_splice_tail(const struct list_head *list, struct list_head *head)
167 if (!list_empty(list))
168 __list_splice_between(head->prev, list, head);