Lines Matching refs:list
113 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
115 __list_del(list->prev, list->next); in list_move()
116 list_add(list, head); in list_move()
124 static inline void list_move_tail(struct list_head *list, in list_move_tail() argument
127 __list_del(list->prev, list->next); in list_move_tail()
128 list_add_tail(list, head); in list_move_tail()
140 static inline void __list_splice(struct list_head *list, in __list_splice() argument
143 struct list_head *first = list->next; in __list_splice()
144 struct list_head *last = list->prev; in __list_splice()
159 static inline void list_splice(struct list_head *list, struct list_head *head) in list_splice() argument
161 if (!list_empty(list)) in list_splice()
162 __list_splice(list, head); in list_splice()
172 static inline void list_splice_init(struct list_head *list, in list_splice_init() argument
175 if (!list_empty(list)) { in list_splice_init()
176 __list_splice(list, head); in list_splice_init()
177 INIT_LIST_HEAD(list); in list_splice_init()