Home | History | Annotate | Download | only in linux

Lines Matching defs:LIST_HEAD

23 struct list_head {
24 struct list_head *next, *prev;
29 #define LIST_HEAD(name) \
30 struct list_head name = LIST_HEAD_INIT(name)
32 static inline void INIT_LIST_HEAD(struct list_head *list)
44 static inline void __list_add(struct list_head *new,
45 struct list_head *prev,
46 struct list_head *next)
62 static inline void list_add(struct list_head *new, struct list_head *head)
77 static inline void list_add_tail(struct list_head *new, struct list_head *head)
90 static inline void __list_del(struct list_head * prev, struct list_head * next)
102 static inline void list_del(struct list_head *entry)
116 static inline void list_replace(struct list_head *old,
117 struct list_head *new)
125 static inline void list_replace_init(struct list_head *old,
126 struct list_head *new)
136 static inline void list_del_init(struct list_head *entry)
147 static inline void list_move(struct list_head *list, struct list_head *head)
158 static inline void list_move_tail(struct list_head *list,
159 struct list_head *head)
170 static inline int list_is_last(const struct list_head *list,
171 const struct list_head *head)
180 static inline int list_empty(const struct list_head *head)
198 static inline int list_empty_careful(const struct list_head *head)
200 struct list_head *next = head->next;
204 static inline void __list_splice(struct list_head *list,
205 struct list_head *head)
207 struct list_head *first = list->next;
208 struct list_head *last = list->prev;
209 struct list_head *at = head->next;
223 static inline void list_splice(struct list_head *list, struct list_head *head)
236 static inline void list_splice_init(struct list_head *list,
237 struct list_head *head)
247 * @ptr: the &struct list_head pointer.
267 * @pos: the &struct list_head to use as a loop cursor.
276 * @pos: the &struct list_head to use as a loop cursor.
289 * @pos: the &struct list_head to use as a loop cursor.
298 * @pos: the &struct list_head to use as a loop cursor.
299 * @n: another &struct list_head to use as temporary storage
308 * @pos: the &struct list_head to use as a loop cursor.
309 * @n: another &struct list_head to use as temporary storage