Lines Matching defs:llist_node

57 	struct llist_node *first;
60 struct llist_node {
61 struct llist_node *next;
84 static inline void init_llist_node(struct llist_node *node)
98 static inline bool llist_on_list(const struct llist_node *node)
105 * @ptr: the &struct llist_node pointer.
107 * @member: the name of the llist_node within the struct.
114 * @ptr: the object pointer (struct type * that contains the llist_node)
115 * @member: the name of the llist_node within the struct.
131 * @pos: the &struct llist_node to use as a loop cursor
149 * @pos: the &struct llist_node to use as a loop cursor
150 * @n: another &struct llist_node to use as temporary storage
169 * @member: the name of the llist_node with the struct.
191 * @member: the name of the llist_node with the struct.
221 static inline struct llist_node *llist_next(struct llist_node *node)
226 extern bool llist_add_batch(struct llist_node *new_first,
227 struct llist_node *new_last,
230 static inline bool __llist_add_batch(struct llist_node *new_first,
231 struct llist_node *new_last,
246 static inline bool llist_add(struct llist_node *new, struct llist_head *head)
251 static inline bool __llist_add(struct llist_node *new, struct llist_head *head)
264 static inline struct llist_node *llist_del_all(struct llist_head *head)
269 static inline struct llist_node *__llist_del_all(struct llist_head *head)
271 struct llist_node *first = head->first;
277 extern struct llist_node *llist_del_first(struct llist_head *head);
286 static inline struct llist_node *llist_del_first_init(struct llist_head *head)
288 struct llist_node *n = llist_del_first(head);
296 struct llist_node *this);
298 struct llist_node *llist_reverse_order(struct llist_node *head);