Home | History | Annotate | Download | only in internal

Lines Matching defs:LIST_HEAD

58 struct list_head {
59 struct list_head *next, *prev;
64 #define LIST_HEAD(name) \
65 struct list_head name = LIST_HEAD_INIT(name)
77 static inline void __list_add(struct list_head *new,
78 struct list_head *prev,
79 struct list_head *next)
95 static inline void list_add(struct list_head *new, struct list_head *head)
108 static inline void list_add_tail(struct list_head *new, struct list_head *head)
119 static inline void __list_add_rcu(struct list_head * new,
120 struct list_head * prev, struct list_head * next)
145 static inline void list_add_rcu(struct list_head *new, struct list_head *head)
166 static inline void list_add_tail_rcu(struct list_head *new,
167 struct list_head *head)
179 static inline void __list_del(struct list_head * prev, struct list_head * next)
191 static inline void list_del(struct list_head *entry)
222 static inline void list_del_rcu(struct list_head *entry)
232 static inline void list_del_init(struct list_head *entry)
243 static inline void list_move(struct list_head *list, struct list_head *head)
254 static inline void list_move_tail(struct list_head *list,
255 struct list_head *head)
265 static inline int list_empty(const struct list_head *head)
282 static inline int list_empty_careful(const struct list_head *head)
284 struct list_head *next = head->next;
288 static inline void __list_splice(struct list_head *list,
289 struct list_head *head)
291 struct list_head *first = list->next;
292 struct list_head *last = list->prev;
293 struct list_head *at = head->next;
307 static inline void list_splice(struct list_head *list, struct list_head *head)
320 static inline void list_splice_init(struct list_head *list,
321 struct list_head *head)
331 * @ptr: the &struct list_head pointer.
340 * @pos: the &struct list_head to use as a loop counter.
349 * @pos: the &struct list_head to use as a loop counter.
362 * @pos: the &struct list_head to use as a loop counter.
371 * @pos: the &struct list_head to use as a loop counter.
372 * @n: another &struct list_head to use as temporary storage
444 * @pos: the &struct list_head to use as a loop counter.
462 * @pos: the &struct list_head to use as a loop counter.
463 * @n: another &struct list_head to use as temporary storage
496 * @pos: the &struct list_head to use as a loop counter.