Lines Matching refs:head

201 #define list_for_each(ptr, head) \  argument
202 for ((ptr) = (head)->next; (ptr) != (head); (ptr) = (ptr)->next)
210 #define list_for_each_prev(ptr, head) \ argument
211 for ((ptr) = (head)->prev; (ptr) != (head); (ptr) = (ptr)->prev)
221 #define list_for_each_safe(ptr, n, head) \ argument
222 for ((ptr) = (head)->next, (n) = (ptr)->next; (ptr) != (head); (ptr) = n, n = (ptr)->next)
232 #define list_for_each_prev_safe(ptr, n, head) \ argument
233 for ((ptr) = (head)->prev, (n) = (ptr)->prev; (ptr) != (head); (ptr) = n, n = (ptr)->prev)
242 #define list_for_each_entry(pos, head, member) \ argument
243 for (pos = list_first_entry(head, typeof(*pos), member); \
244 &pos->member != (head); \
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); \
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); \
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
291 &pos->member != (head); \
302 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument
304 &pos->member != (head); \
314 #define list_for_each_entry_continue_reverse(pos, head, member) \ argument
316 &pos->member != (head); \
326 #define list_for_each_entry_safe_continue_reverse(pos, n, head, member) \ argument
328 &pos->member != (head); \
338 #define list_for_each_entry_from(pos, head, member) \ argument
340 &pos->member != (head); \
351 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument
353 &pos->member != (head); \