Home | History | Annotate | Download | only in include

Lines Matching defs:LIST_HEAD

57 struct list_head {
58 struct list_head *next, *prev;
63 #define LIST_HEAD(name) \
64 struct list_head name = LIST_HEAD_INIT(name)
76 static inline void __list_add(struct list_head *new,
77 struct list_head *prev,
78 struct list_head *next)
94 static inline void list_add(struct list_head *new, struct list_head *head)
107 static inline void list_add_tail(struct list_head *new, struct list_head *head)
118 static inline void __list_add_rcu(struct list_head * new,
119 struct list_head * prev, struct list_head * next)
144 static inline void list_add_rcu(struct list_head *new, struct list_head *head)
165 static inline void list_add_tail_rcu(struct list_head *new,
166 struct list_head *head)
178 static inline void __list_del(struct list_head * prev, struct list_head * next)
190 static inline void list_del(struct list_head *entry)
221 static inline void list_del_rcu(struct list_head *entry)
231 static inline void list_del_init(struct list_head *entry)
242 static inline void list_move(struct list_head *list, struct list_head *head)
253 static inline void list_move_tail(struct list_head *list,
254 struct list_head *head)
264 static inline int list_empty(const struct list_head *head)
281 static inline int list_empty_careful(const struct list_head *head)
283 struct list_head *next = head->next;
287 static inline void __list_splice(struct list_head *list,
288 struct list_head *head)
290 struct list_head *first = list->next;
291 struct list_head *last = list->prev;
292 struct list_head *at = head->next;
306 static inline void list_splice(struct list_head *list, struct list_head *head)
319 static inline void list_splice_init(struct list_head *list,
320 struct list_head *head)
330 * @ptr: the &struct list_head pointer.
339 * @pos: the &struct list_head to use as a loop counter.
348 * @pos: the &struct list_head to use as a loop counter.
361 * @pos: the &struct list_head to use as a loop counter.
370 * @pos: the &struct list_head to use as a loop counter.
371 * @n: another &struct list_head to use as temporary storage
443 * @pos: the &struct list_head to use as a loop counter.
461 * @pos: the &struct list_head to use as a loop counter.
462 * @n: another &struct list_head to use as temporary storage
495 * @pos: the &struct list_head to use as a loop counter.