Lines Matching refs:list_head

22 struct list_head {  struct
23 struct list_head *next, *prev; argument
29 struct list_head name = LIST_HEAD_INIT(name)
31 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
43 static inline void __list_add(struct list_head *new, in __list_add()
44 struct list_head *prev, in __list_add()
45 struct list_head *next) in __list_add()
61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
74 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
86 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del()
98 static inline void list_del(struct list_head *entry) in list_del()
112 static inline void list_replace(struct list_head *old, in list_replace()
113 struct list_head *new) in list_replace()
121 static inline void list_replace_init(struct list_head *old, in list_replace_init()
122 struct list_head *new) in list_replace_init()
132 static inline void list_del_init(struct list_head *entry) in list_del_init()
143 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
154 static inline void list_move_tail(struct list_head *list, in list_move_tail()
155 struct list_head *head) in list_move_tail()
166 static inline int list_is_last(const struct list_head *list, in list_is_last()
167 const struct list_head *head) in list_is_last()
176 static inline int list_empty(const struct list_head *head) in list_empty()
194 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
196 struct list_head *next = head->next; in list_empty_careful()
204 static inline int list_is_singular(const struct list_head *head) in list_is_singular()
209 static inline void __list_cut_position(struct list_head *list, in __list_cut_position()
210 struct list_head *head, struct list_head *entry) in __list_cut_position()
212 struct list_head *new_first = entry->next; in __list_cut_position()
235 static inline void list_cut_position(struct list_head *list, in list_cut_position()
236 struct list_head *head, struct list_head *entry) in list_cut_position()
249 static inline void __list_splice(const struct list_head *list, in __list_splice()
250 struct list_head *prev, in __list_splice()
251 struct list_head *next) in __list_splice()
253 struct list_head *first = list->next; in __list_splice()
254 struct list_head *last = list->prev; in __list_splice()
268 static inline void list_splice(const struct list_head *list, in list_splice()
269 struct list_head *head) in list_splice()
280 static inline void list_splice_tail(struct list_head *list, in list_splice_tail()
281 struct list_head *head) in list_splice_tail()
294 static inline void list_splice_init(struct list_head *list, in list_splice_init()
295 struct list_head *head) in list_splice_init()
311 static inline void list_splice_tail_init(struct list_head *list, in list_splice_tail_init()
312 struct list_head *head) in list_splice_tail_init()