Home | History | Annotate | Download | only in btt

Lines Matching defs:list_head

34 struct list_head {
35 struct list_head *next, *prev;
40 #define LIST_HEAD(name) \
41 struct list_head name = LIST_HEAD_INIT(name)
43 static inline void INIT_LIST_HEAD(struct list_head *list)
55 static inline void __list_add(struct list_head *new,
56 struct list_head *prev,
57 struct list_head *next)
73 static inline void list_add(struct list_head *new, struct list_head *head)
86 static inline void list_add_tail(struct list_head *new, struct list_head *head)
98 static inline void __list_del(struct list_head * prev, struct list_head * next)
110 static inline void list_del(struct list_head *entry)
119 * @pos: the &struct list_head to use as a loop counter.
132 * @pos: the &struct list_head to use as a loop counter.
133 * @n: another &struct list_head to use as temporary storage
142 * @ptr: the &struct list_head pointer.
149 static inline int list_len(struct list_head *head_p)
151 struct list_head *p;
165 static inline int list_empty(const struct list_head *head)
174 static inline struct list_head *list_first(const struct list_head *head)
184 static inline void list_move_tail(struct list_head *list,
185 struct list_head *head)
191 static inline void __list_splice(struct list_head *list,
192 struct list_head *head)
194 struct list_head *first = list->next;
195 struct list_head *last = list->prev;
196 struct list_head *at = head->next;
210 static inline void list_splice(struct list_head *list, struct list_head *head)
223 static inline void list_replace(struct list_head *old,
224 struct list_head *new)
232 static inline void list_replace_init(struct list_head *old,
233 struct list_head *new)