Lines Matching refs:pos
148 * @pos: the type * to use as a loop counter
151 #define plist_for_each(pos, head) \
152 list_for_each_entry(pos, &(head)->node_list, node_list)
156 * @pos: the type * to use as a loop cursor
161 #define plist_for_each_continue(pos, head) \
162 list_for_each_entry_continue(pos, &(head)->node_list, node_list)
166 * @pos: the type * to use as a loop counter
172 #define plist_for_each_safe(pos, n, head) \
173 list_for_each_entry_safe(pos, n, &(head)->node_list, node_list)
177 * @pos: the type * to use as a loop counter
181 #define plist_for_each_entry(pos, head, mem) \
182 list_for_each_entry(pos, &(head)->node_list, mem.node_list)
186 * @pos: the type * to use as a loop cursor
193 #define plist_for_each_entry_continue(pos, head, m) \
194 list_for_each_entry_continue(pos, &(head)->node_list, m.node_list)
198 * @pos: the type * to use as a loop counter
205 #define plist_for_each_entry_safe(pos, n, head, m) \
206 list_for_each_entry_safe(pos, n, &(head)->node_list, m.node_list)
264 * @pos: the type * to cursor
266 #define plist_next(pos) \
267 list_next_entry(pos, node_list)
271 * @pos: the type * to cursor
273 #define plist_prev(pos) \
274 list_prev_entry(pos, node_list)