Lines Matching refs:pos
164 * @pos: the &struct hlist_node to use as a loop cursor.
169 #define hlist_bl_for_each_entry(tpos, pos, head, member) \
170 for (pos = hlist_bl_first(head); \
171 pos && \
172 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \
173 pos = pos->next)
178 * @pos: the &struct hlist_node to use as a loop cursor.
183 #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \
184 for (pos = hlist_bl_first(head); \
185 pos && ({ n = pos->next; 1; }) && \
186 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \
187 pos = n)