Lines Matching refs:list_head
41 struct list_head { struct
42 struct list_head *next, *prev; argument
48 struct list_head name = LIST_HEAD_INIT(name)
50 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
63 static inline void __list_add(struct list_head *new, in __list_add()
64 struct list_head *prev, struct list_head *next) in __list_add()
72 extern void __list_add(struct list_head *new,
73 struct list_head *prev, struct list_head *next);
84 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
97 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
109 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del()
122 static inline void list_del(struct list_head *entry) in list_del()
129 extern void list_del(struct list_head *entry);
139 static inline void list_replace(struct list_head *old, struct list_head *new) in list_replace()
147 static inline void list_replace_init(struct list_head *old, in list_replace_init()
148 struct list_head *new) in list_replace_init()
158 static inline void list_del_init(struct list_head *entry) in list_del_init()
169 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
180 static inline void list_move_tail(struct list_head *list, in list_move_tail()
181 struct list_head *head) in list_move_tail()
192 static inline int list_is_last(const struct list_head *list, in list_is_last()
193 const struct list_head *head) in list_is_last()
202 static inline int list_empty(const struct list_head *head) in list_empty()
220 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
222 struct list_head *next = head->next; in list_empty_careful()
230 static inline int list_is_singular(const struct list_head *head) in list_is_singular()
235 static inline void __list_cut_position(struct list_head *list, in __list_cut_position()
236 struct list_head *head, in __list_cut_position()
237 struct list_head *entry) in __list_cut_position()
239 struct list_head *new_first = entry->next; in __list_cut_position()
262 static inline void list_cut_position(struct list_head *list, in list_cut_position()
263 struct list_head *head, in list_cut_position()
264 struct list_head *entry) in list_cut_position()
276 static inline void __list_splice(const struct list_head *list, in __list_splice()
277 struct list_head *prev, struct list_head *next) in __list_splice()
279 struct list_head *first = list->next; in __list_splice()
280 struct list_head *last = list->prev; in __list_splice()
294 static inline void list_splice(const struct list_head *list, in list_splice()
295 struct list_head *head) in list_splice()
306 static inline void list_splice_tail(struct list_head *list, in list_splice_tail()
307 struct list_head *head) in list_splice_tail()
320 static inline void list_splice_init(struct list_head *list, in list_splice_init()
321 struct list_head *head) in list_splice_init()
337 static inline void list_splice_tail_init(struct list_head *list, in list_splice_tail_init()
338 struct list_head *head) in list_splice_tail_init()
539 struct list_head list;
544 struct list_head offsets;