Lines Matching refs:list_head

22 	struct list_head name = LIST_HEAD_INIT(name)
24 static inline void INIT_LIST_HEAD(struct list_head *list)
37 static inline void __list_add(struct list_head *new,
38 struct list_head *prev,
39 struct list_head *next)
47 extern void __list_add(struct list_head *new,
48 struct list_head *prev,
49 struct list_head *next);
60 static inline void list_add(struct list_head *new, struct list_head *head)
74 static inline void list_add_tail(struct list_head *new, struct list_head *head)
86 static inline void __list_del(struct list_head * prev, struct list_head * next)
99 static inline void __list_del_entry(struct list_head *entry)
104 static inline void list_del(struct list_head *entry)
111 extern void __list_del_entry(struct list_head *entry);
112 extern void list_del(struct list_head *entry);
122 static inline void list_replace(struct list_head *old,
123 struct list_head *new)
131 static inline void list_replace_init(struct list_head *old,
132 struct list_head *new)
142 static inline void list_del_init(struct list_head *entry)
153 static inline void list_move(struct list_head *list, struct list_head *head)
164 static inline void list_move_tail(struct list_head *list,
165 struct list_head *head)
176 static inline int list_is_last(const struct list_head *list,
177 const struct list_head *head)
186 static inline int list_empty(const struct list_head *head)
204 static inline int list_empty_careful(const struct list_head *head)
206 struct list_head *next = head->next;
214 static inline void list_rotate_left(struct list_head *head)
216 struct list_head *first;
228 static inline int list_is_singular(const struct list_head *head)
233 static inline void __list_cut_position(struct list_head *list,
234 struct list_head *head, struct list_head *entry)
236 struct list_head *new_first = entry->next;
259 static inline void list_cut_position(struct list_head *list,
260 struct list_head *head, struct list_head *entry)
273 static inline void __list_splice(const struct list_head *list,
274 struct list_head *prev,
275 struct list_head *next)
277 struct list_head *first = list->next;
278 struct list_head *last = list->prev;
292 static inline void list_splice(const struct list_head *list,
293 struct list_head *head)
304 static inline void list_splice_tail(struct list_head *list,
305 struct list_head *head)
318 static inline void list_splice_init(struct list_head *list,
319 struct list_head *head)
335 static inline void list_splice_tail_init(struct list_head *list,
336 struct list_head *head)
346 * @ptr: the &struct list_head pointer.
377 * @pos: the &struct list_head to use as a loop cursor.
385 * @pos: the &struct list_head to use as a loop cursor.
393 * @pos: the &struct list_head to use as a loop cursor.
394 * @n: another &struct list_head to use as temporary storage
403 * @pos: the &struct list_head to use as a loop cursor.
404 * @n: another &struct list_head to use as temporary storage