• Home
  • Raw
  • Download

Lines Matching refs:pos

356 #define list_for_each(pos, head) \  argument
357 for (pos = (head)->next; prefetch(pos->next), pos != (head); \
358 pos = pos->next)
370 #define __list_for_each(pos, head) \ argument
371 for (pos = (head)->next; pos != (head); pos = pos->next)
378 #define list_for_each_prev(pos, head) \ argument
379 for (pos = (head)->prev; prefetch(pos->prev), pos != (head); \
380 pos = pos->prev)
388 #define list_for_each_safe(pos, n, head) \ argument
389 for (pos = (head)->next, n = pos->next; pos != (head); \
390 pos = n, n = pos->next)
398 #define list_for_each_prev_safe(pos, n, head) \ argument
399 for (pos = (head)->prev, n = pos->prev; \
400 prefetch(pos->prev), pos != (head); \
401 pos = n, n = pos->prev)
409 #define list_for_each_entry(pos, head, member) \ argument
410 for (pos = list_entry((head)->next, typeof(*pos), member); \
411 prefetch(pos->member.next), &pos->member != (head); \
412 pos = list_entry(pos->member.next, typeof(*pos), member))
420 #define list_for_each_entry_reverse(pos, head, member) \ argument
421 for (pos = list_entry((head)->prev, typeof(*pos), member); \
422 prefetch(pos->member.prev), &pos->member != (head); \
423 pos = list_entry(pos->member.prev, typeof(*pos), member))
433 #define list_prepare_entry(pos, head, member) \ argument
434 ((pos) ? : list_entry(head, typeof(*pos), member))
445 #define list_for_each_entry_continue(pos, head, member) \ argument
446 for (pos = list_entry(pos->member.next, typeof(*pos), member); \
447 prefetch(pos->member.next), &pos->member != (head); \
448 pos = list_entry(pos->member.next, typeof(*pos), member))
459 #define list_for_each_entry_continue_reverse(pos, head, member) \ argument
460 for (pos = list_entry(pos->member.prev, typeof(*pos), member); \
461 prefetch(pos->member.prev), &pos->member != (head); \
462 pos = list_entry(pos->member.prev, typeof(*pos), member))
472 #define list_for_each_entry_from(pos, head, member) \ argument
473 for (; prefetch(pos->member.next), &pos->member != (head); \
474 pos = list_entry(pos->member.next, typeof(*pos), member))
483 #define list_for_each_entry_safe(pos, n, head, member) \ argument
484 for (pos = list_entry((head)->next, typeof(*pos), member), \
485 n = list_entry(pos->member.next, typeof(*pos), member); \
486 &pos->member != (head); \
487 pos = n, n = list_entry(n->member.next, typeof(*n), member))
499 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument
500 for (pos = list_entry(pos->member.next, typeof(*pos), member), \
501 n = list_entry(pos->member.next, typeof(*pos), member); \
502 &pos->member != (head); \
503 pos = n, n = list_entry(n->member.next, typeof(*n), member))
515 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument
516 for (n = list_entry(pos->member.next, typeof(*pos), member); \
517 &pos->member != (head); \
518 pos = n, n = list_entry(n->member.next, typeof(*n), member))
530 #define list_for_each_entry_safe_reverse(pos, n, head, member) \ argument
531 for (pos = list_entry((head)->prev, typeof(*pos), member), \
532 n = list_entry(pos->member.prev, typeof(*pos), member); \
533 &pos->member != (head); \
534 pos = n, n = list_entry(n->member.prev, typeof(*n), member))
627 #define hlist_for_each(pos, head) \ argument
628 for (pos = (head)->first; pos && ({ prefetch(pos->next); 1; }); \
629 pos = pos->next)
631 #define hlist_for_each_safe(pos, n, head) \ argument
632 for (pos = (head)->first; pos && ({ n = pos->next; 1; }); \
633 pos = n)
642 #define hlist_for_each_entry(tpos, pos, head, member) \ argument
643 for (pos = (head)->first; \
644 pos && ({ prefetch(pos->next); 1;}) && \
645 ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;}); \
646 pos = pos->next)
654 #define hlist_for_each_entry_continue(tpos, pos, member) \ argument
655 for (pos = (pos)->next; \
656 pos && ({ prefetch(pos->next); 1;}) && \
657 ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;}); \
658 pos = pos->next)
666 #define hlist_for_each_entry_from(tpos, pos, member) \ argument
667 for (; pos && ({ prefetch(pos->next); 1;}) && \
668 ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;}); \
669 pos = pos->next)
679 #define hlist_for_each_entry_safe(tpos, pos, n, head, member) \ argument
680 for (pos = (head)->first; \
681 pos && ({ n = pos->next; 1; }) && \
682 ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;}); \
683 pos = n)