Lines Matching refs:pos
116 #define llist_for_each(pos, node) \ argument
117 for ((pos) = (node); pos; (pos) = (pos)->next)
135 #define llist_for_each_safe(pos, n, node) \ argument
136 for ((pos) = (node); (pos) && ((n) = (pos)->next, true); (pos) = (n))
153 #define llist_for_each_entry(pos, node, member) \ argument
154 for ((pos) = llist_entry((node), typeof(*(pos)), member); \
155 member_address_is_nonnull(pos, member); \
156 (pos) = llist_entry((pos)->member.next, typeof(*(pos)), member))
175 #define llist_for_each_entry_safe(pos, n, node, member) \ argument
176 for (pos = llist_entry((node), typeof(*pos), member); \
177 member_address_is_nonnull(pos, member) && \
178 (n = llist_entry(pos->member.next, typeof(*n), member), true); \
179 pos = n)