Lines Matching refs:list_head

53 struct list_head {
54 struct list_head *next, *prev;
60 struct list_head name = LIST_HEAD_INIT(name)
72 static inline void __list_add(struct list_head *new,
73 struct list_head *prev,
74 struct list_head *next)
90 static inline void list_add(struct list_head *new, struct list_head *head)
103 static inline void list_add_tail(struct list_head *new, struct list_head *head)
114 static inline void __list_add_rcu(struct list_head * new,
115 struct list_head * prev, struct list_head * next)
140 static inline void list_add_rcu(struct list_head *new, struct list_head *head)
161 static inline void list_add_tail_rcu(struct list_head *new,
162 struct list_head *head)
174 static inline void __list_del(struct list_head * prev, struct list_head * next)
186 static inline void list_del(struct list_head *entry)
217 static inline void list_del_rcu(struct list_head *entry)
227 static inline void list_del_init(struct list_head *entry)
238 static inline void list_move(struct list_head *list, struct list_head *head)
249 static inline void list_move_tail(struct list_head *list,
250 struct list_head *head)
260 static inline int list_empty(const struct list_head *head)
277 static inline int list_empty_careful(const struct list_head *head)
279 struct list_head *next = head->next;
283 static inline void __list_splice(struct list_head *list,
284 struct list_head *head)
286 struct list_head *first = list->next;
287 struct list_head *last = list->prev;
288 struct list_head *at = head->next;
302 static inline void list_splice(struct list_head *list, struct list_head *head)
315 static inline void list_splice_init(struct list_head *list,
316 struct list_head *head)
326 * @ptr: the &struct list_head pointer.
335 * @pos: the &struct list_head to use as a loop counter.
344 * @pos: the &struct list_head to use as a loop counter.
357 * @pos: the &struct list_head to use as a loop counter.
366 * @pos: the &struct list_head to use as a loop counter.
367 * @n: another &struct list_head to use as temporary storage
439 * @pos: the &struct list_head to use as a loop counter.
457 * @pos: the &struct list_head to use as a loop counter.
458 * @n: another &struct list_head to use as temporary storage
491 * @pos: the &struct list_head to use as a loop counter.