Lines Matching defs:list_head
32 struct list_head {
33 struct list_head *next, *prev;
39 struct list_head name = LIST_HEAD_INIT(name)
51 static inline void __list_add(struct list_head *new,
52 struct list_head *prev,
53 struct list_head *next)
69 static inline void list_add(struct list_head *new, struct list_head *head)
82 static inline void list_add_tail(struct list_head *new, struct list_head *head)
94 static inline void __list_del(struct list_head *prev, struct list_head *next)
106 static inline void list_del(struct list_head *entry)
117 static inline void list_del_init(struct list_head *entry)
128 static inline void list_move(struct list_head *list, struct list_head *head)
139 static inline void list_move_tail(struct list_head *list,
140 struct list_head *head)
150 static inline int list_empty(const struct list_head *head)
155 static inline void __list_splice(struct list_head *list,
156 struct list_head *head)
158 struct list_head *first = list->next;
159 struct list_head *last = list->prev;
160 struct list_head *at = head->next;
174 static inline void list_splice(struct list_head *list, struct list_head *head)
187 static inline void list_splice_init(struct list_head *list,
188 struct list_head *head)
198 * @ptr: the &struct list_head pointer.
207 * @pos: the &struct list_head to use as a loop counter.
217 * @pos: the &struct list_head to use as a loop counter.
230 * @pos: the &struct list_head to use as a loop counter.
239 * @pos: the &struct list_head to use as a loop counter.
240 * @n: another &struct list_head to use as temporary storage