Lines Matching defs:list_head

26  *      access the container of the list from the list_head struct.
60 struct list_head {
61 struct list_head *next, *prev;
67 struct list_head name = LIST_HEAD_INIT(name)
69 static inline void INIT_LIST_HEAD(struct list_head *list)
81 static inline void __list_add(struct list_head *new,
82 struct list_head *prev,
83 struct list_head *next)
99 static inline void list_add(struct list_head *new, struct list_head *head)
112 static inline void list_add_tail(struct list_head *new, struct list_head *head)
124 static inline void __list_del(struct list_head * prev, struct list_head * next)
136 static inline void list_del(struct list_head *entry)
147 static inline void list_del_init(struct list_head *entry)
158 static inline void list_move(struct list_head *list, struct list_head *head)
169 static inline void list_move_tail(struct list_head *list,
170 struct list_head *head)
180 static inline int list_empty(const struct list_head *head)
197 static inline int list_empty_careful(const struct list_head *head)
199 struct list_head *next = head->next;
203 static inline void __list_splice(struct list_head *list,
204 struct list_head *head)
206 struct list_head *first = list->next;
207 struct list_head *last = list->prev;
208 struct list_head *at = head->next;
222 static inline void list_splice(struct list_head *list, struct list_head *head)
235 static inline void list_splice_init(struct list_head *list,
236 struct list_head *head)
259 * @ptr: the &struct list_head pointer.
268 * @pos: the &struct list_head to use as a loop counter.
277 * @pos: the &struct list_head to use as a loop counter.
286 * @pos: the &struct list_head to use as a loop counter.
287 * @n: another &struct list_head to use as temporary storage