Lines Matching refs:list
1 /* $Id: list.h,v 1.6 2006/10/31 06:25:28 gmm Exp $ */
10 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in the
27 * $FreeBSD: releng/10.2/sys/dev/hptnr/list.h 252867 2013-07-06 07:49:41Z delphij $
86 static HPT_INLINE void __list_splice(struct list_head *list,
89 struct list_head *first = list->next;
90 struct list_head *last = list->prev;
100 static HPT_INLINE void list_splice(struct list_head *list, struct list_head *head)
102 if (!list_empty(list))
103 __list_splice(list, head);
106 static HPT_INLINE void list_splice_init(struct list_head *list, struct list_head *head)
108 if (!list_empty(list)) {
109 __list_splice(list, head);
110 INIT_LIST_HEAD(list);