Lines Matching refs:pos

185 #define list_next_entry(pos, member) list_entry((pos)->member.next, typeof(*(pos)), member)  argument
193 #define list_prev_entry(pos, member) list_entry((pos)->member.prev, typeof(*(pos)), member) argument
242 #define list_for_each_entry(pos, head, member) \ argument
243 for (pos = list_first_entry(head, typeof(*pos), member); \
244 &pos->member != (head); \
245 pos = list_next_entry(pos, member))
255 #define list_for_each_entry_safe(pos, n, head, member) \ argument
256 for (pos = list_first_entry(head, typeof(*pos), member), n = list_next_entry(pos, member); \
257 &pos->member != (head); \
258 pos = n, n = list_next_entry(n, member))
267 #define list_for_each_entry_reverse(pos, head, member) \ argument
268 for (pos = list_last_entry(head, typeof(*pos), member); \
269 &pos->member != (head); \
270 pos = list_prev_entry(pos, member))
279 #define list_prepare_entry(pos, head, member) \ argument
280 ((pos) ? pos : list_entry(head, typeof(*pos), member))
289 #define list_for_each_entry_continue(pos, head, member) \ argument
290 for (pos = list_next_entry(pos, member); \
291 &pos->member != (head); \
292 pos = list_next_entry(pos, member))
302 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument
303 for (pos = list_next_entry(pos, member), n = list_next_entry(pos, member); \
304 &pos->member != (head); \
305 pos = n, n = list_next_entry(n, member))
314 #define list_for_each_entry_continue_reverse(pos, head, member) \ argument
315 for (pos = list_prev_entry(pos, member); \
316 &pos->member != (head); \
317 pos = list_prev_entry(pos, member))
326 #define list_for_each_entry_safe_continue_reverse(pos, n, head, member) \ argument
327 for (pos = list_prev_entry(pos, member), n = list_prev_entry(pos, member); \
328 &pos->member != (head); \
329 pos = n, n = list_prev_entry(n, member))
338 #define list_for_each_entry_from(pos, head, member) \ argument
340 &pos->member != (head); \
341 pos = list_next_entry(pos, member))
351 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument
352 for (n = list_next_entry(pos, member); \
353 &pos->member != (head); \
354 pos = n, n = list_next_entry(n, member))