Lines Matching refs:list_head

44 struct list_head {
45 struct list_head *next, *prev;
51 struct list_head name = LIST_HEAD_INIT(name)
53 static inline void INIT_LIST_HEAD(struct list_head *list)
66 static inline void __list_add(struct list_head *new,
67 struct list_head *prev, struct list_head *next)
75 extern void __list_add(struct list_head *new,
76 struct list_head *prev, struct list_head *next);
87 static inline void list_add(struct list_head *new, struct list_head *head)
100 static inline void list_add_tail(struct list_head *new, struct list_head *head)
112 static inline void __list_del(struct list_head *prev, struct list_head *next)
125 static inline void list_del(struct list_head *entry)
132 extern void list_del(struct list_head *entry);
142 static inline void list_replace(struct list_head *old, struct list_head *new)
150 static inline void list_replace_init(struct list_head *old,
151 struct list_head *new)
161 static inline void list_del_init(struct list_head *entry)
172 static inline void list_move(struct list_head *list, struct list_head *head)
183 static inline void list_move_tail(struct list_head *list,
184 struct list_head *head)
195 static inline int list_is_last(const struct list_head *list,
196 const struct list_head *head)
205 static inline int list_empty(const struct list_head *head)
223 static inline int list_empty_careful(const struct list_head *head)
225 struct list_head *next = head->next;
233 static inline int list_is_singular(const struct list_head *head)
238 static inline void __list_cut_position(struct list_head *list,
239 struct list_head *head,
240 struct list_head *entry)
242 struct list_head *new_first = entry->next;
265 static inline void list_cut_position(struct list_head *list,
266 struct list_head *head,
267 struct list_head *entry)
279 static inline void __list_splice(const struct list_head *list,
280 struct list_head *prev, struct list_head *next)
282 struct list_head *first = list->next;
283 struct list_head *last = list->prev;
297 static inline void list_splice(const struct list_head *list,
298 struct list_head *head)
309 static inline void list_splice_tail(struct list_head *list,
310 struct list_head *head)
323 static inline void list_splice_init(struct list_head *list,
324 struct list_head *head)
340 static inline void list_splice_tail_init(struct list_head *list,
341 struct list_head *head)
351 * @ptr: the &struct list_head pointer.
371 * @pos: the &struct list_head to use as a loop cursor.
380 * @pos: the &struct list_head to use as a loop cursor.
393 * @pos: the &struct list_head to use as a loop cursor.
402 * @pos: the &struct list_head to use as a loop cursor.
403 * @n: another &struct list_head to use as temporary storage
412 * @pos: the &struct list_head to use as a loop cursor.
413 * @n: another &struct list_head to use as temporary storage
555 struct list_head list;
560 struct list_head offsets;