Lines Matching refs:list_head
23 struct list_head name = LIST_HEAD_INIT(name)
25 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
38 static inline void __list_add(struct list_head *new, in __list_add()
39 struct list_head *prev, in __list_add()
40 struct list_head *next) in __list_add()
48 extern void __list_add(struct list_head *new,
49 struct list_head *prev,
50 struct list_head *next);
61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
75 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
87 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del()
100 static inline void __list_del_entry(struct list_head *entry) in __list_del_entry()
105 static inline void list_del(struct list_head *entry) in list_del()
112 extern void __list_del_entry(struct list_head *entry);
113 extern void list_del(struct list_head *entry);
123 static inline void list_replace(struct list_head *old, in list_replace()
124 struct list_head *new) in list_replace()
132 static inline void list_replace_init(struct list_head *old, in list_replace_init()
133 struct list_head *new) in list_replace_init()
143 static inline void list_del_init(struct list_head *entry) in list_del_init()
154 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
165 static inline void list_move_tail(struct list_head *list, in list_move_tail()
166 struct list_head *head) in list_move_tail()
177 static inline int list_is_last(const struct list_head *list, in list_is_last()
178 const struct list_head *head) in list_is_last()
187 static inline int list_empty(const struct list_head *head) in list_empty()
205 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
207 struct list_head *next = head->next; in list_empty_careful()
215 static inline void list_rotate_left(struct list_head *head) in list_rotate_left()
217 struct list_head *first; in list_rotate_left()
229 static inline int list_is_singular(const struct list_head *head) in list_is_singular()
234 static inline void __list_cut_position(struct list_head *list, in __list_cut_position()
235 struct list_head *head, struct list_head *entry) in __list_cut_position()
237 struct list_head *new_first = entry->next; in __list_cut_position()
260 static inline void list_cut_position(struct list_head *list, in list_cut_position()
261 struct list_head *head, struct list_head *entry) in list_cut_position()
274 static inline void __list_splice(const struct list_head *list, in __list_splice()
275 struct list_head *prev, in __list_splice()
276 struct list_head *next) in __list_splice()
278 struct list_head *first = list->next; in __list_splice()
279 struct list_head *last = list->prev; in __list_splice()
293 static inline void list_splice(const struct list_head *list, in list_splice()
294 struct list_head *head) in list_splice()
305 static inline void list_splice_tail(struct list_head *list, in list_splice_tail()
306 struct list_head *head) in list_splice_tail()
319 static inline void list_splice_init(struct list_head *list, in list_splice_init()
320 struct list_head *head) in list_splice_init()
336 static inline void list_splice_tail_init(struct list_head *list, in list_splice_tail_init()
337 struct list_head *head) in list_splice_tail_init()
768 static inline void list_del_range(struct list_head *begin, in list_del_range()
769 struct list_head *end) in list_del_range()