Lines Matching defs:list_head

41 struct list_head {
42 struct list_head *next, *prev;
48 struct list_head name = LIST_HEAD_INIT(name)
50 static inline void INIT_LIST_HEAD(struct list_head *list)
63 static inline void __list_add(struct list_head *new,
64 struct list_head *prev, struct list_head *next)
72 extern void __list_add(struct list_head *new,
73 struct list_head *prev, struct list_head *next);
84 static inline void list_add(struct list_head *new, struct list_head *head)
97 static inline void list_add_tail(struct list_head *new, struct list_head *head)
109 static inline void __list_del(struct list_head *prev, struct list_head *next)
122 static inline void list_del(struct list_head *entry)
129 extern void list_del(struct list_head *entry);
139 static inline void list_replace(struct list_head *old, struct list_head *new)
147 static inline void list_replace_init(struct list_head *old,
148 struct list_head *new)
158 static inline void list_del_init(struct list_head *entry)
169 static inline void list_move(struct list_head *list, struct list_head *head)
180 static inline void list_move_tail(struct list_head *list,
181 struct list_head *head)
192 static inline int list_is_last(const struct list_head *list,
193 const struct list_head *head)
202 static inline int list_empty(const struct list_head *head)
220 static inline int list_empty_careful(const struct list_head *head)
222 struct list_head *next = head->next;
230 static inline int list_is_singular(const struct list_head *head)
235 static inline void __list_cut_position(struct list_head *list,
236 struct list_head *head,
237 struct list_head *entry)
239 struct list_head *new_first = entry->next;
262 static inline void list_cut_position(struct list_head *list,
263 struct list_head *head,
264 struct list_head *entry)
276 static inline void __list_splice(const struct list_head *list,
277 struct list_head *prev, struct list_head *next)
279 struct list_head *first = list->next;
280 struct list_head *last = list->prev;
294 static inline void list_splice(const struct list_head *list,
295 struct list_head *head)
306 static inline void list_splice_tail(struct list_head *list,
307 struct list_head *head)
320 static inline void list_splice_init(struct list_head *list,
321 struct list_head *head)
337 static inline void list_splice_tail_init(struct list_head *list,
338 struct list_head *head)
348 * @ptr: the &struct list_head pointer.
368 * @pos: the &struct list_head to use as a loop cursor.
377 * @pos: the &struct list_head to use as a loop cursor.
390 * @pos: the &struct list_head to use as a loop cursor.
399 * @pos: the &struct list_head to use as a loop cursor.
400 * @n: another &struct list_head to use as temporary storage
409 * @pos: the &struct list_head to use as a loop cursor.
410 * @n: another &struct list_head to use as temporary storage
552 struct list_head list;
557 struct list_head offsets;