Lines Matching refs:list_head
41 struct list_head {
42 struct list_head *next, *prev;
48 struct list_head name = LIST_HEAD_INIT(name)
60 static inline void __list_add(struct list_head *new,
61 struct list_head *prev,
62 struct list_head *next)
78 static inline void list_add(struct list_head *new, struct list_head *head)
91 static inline void list_add_tail(struct list_head *new, struct list_head *head)
103 static inline void __list_del(struct list_head * prev, struct list_head * next)
115 static inline void list_del(struct list_head *entry)
126 static inline void list_del_init(struct list_head *entry)
137 static inline void list_move(struct list_head *list, struct list_head *head)
148 static inline void list_move_tail(struct list_head *list,
149 struct list_head *head)
159 static inline int list_empty(struct list_head *head)
164 static inline void __list_splice(struct list_head *list,
165 struct list_head *head)
167 struct list_head *first = list->next;
168 struct list_head *last = list->prev;
169 struct list_head *at = head->next;
183 static inline void list_splice(struct list_head *list, struct list_head *head)
196 static inline void list_splice_init(struct list_head *list,
197 struct list_head *head)
207 * @ptr: the &struct list_head pointer.
216 * @pos: the &struct list_head to use as a loop counter.
225 * @pos: the &struct list_head to use as a loop counter.
238 * @pos: the &struct list_head to use as a loop counter.
246 * @pos: the &struct list_head to use as a loop counter.
247 * @n: another &struct list_head to use as temporary storage