Lines Matching refs:node
84 static inline void init_llist_node(struct llist_node *node) in init_llist_node() argument
86 node->next = node; in init_llist_node()
98 static inline bool llist_on_list(const struct llist_node *node) in llist_on_list() argument
100 return node->next != node; in llist_on_list()
143 #define llist_for_each(pos, node) \ argument
144 for ((pos) = (node); pos; (pos) = (pos)->next)
162 #define llist_for_each_safe(pos, n, node) \ argument
163 for ((pos) = (node); (pos) && ((n) = (pos)->next, true); (pos) = (n))
180 #define llist_for_each_entry(pos, node, member) \ argument
181 for ((pos) = llist_entry((node), typeof(*(pos)), member); \
202 #define llist_for_each_entry_safe(pos, n, node, member) \ argument
203 for (pos = llist_entry((node), typeof(*pos), member); \
221 static inline struct llist_node *llist_next(struct llist_node *node) in llist_next() argument
223 return node->next; in llist_next()