Lines Matching refs:__next
232 queue_entry_t __next = elt->next; in __QUEUE_ELT_VALIDATE_NEXT() local
234 if (__next->prev != elt) { in __QUEUE_ELT_VALIDATE_NEXT()
238 return __next; in __QUEUE_ELT_VALIDATE_NEXT()
767 #define __QUEUE2_CHECK_PREV(__fail, __elt, __next, __head, type, field) \ argument
769 if (__next == __head) { \
772 __fail |= ((type)(void *)__next)->field.prev != \
795 #define __QUEUE2_SET_PREV(__next, __elt, __head, type, field) \ argument
797 if (__head == __next) { \
800 ((type)(void *)__next)->field.prev = (queue_entry_t)__elt; \
863 queue_entry_t __head, __next; \
869 __next = __head->next; \
871 __QUEUE2_CHECK_PREV(__fail, __head, __next, __head, type, field); \
874 __elt->field.next = __next; \
877 __QUEUE2_SET_PREV(__next, __elt, __head, type, field); \
937 queue_entry_t __head, __cur, __next; \
946 __next = __head->next; \
948 __next = ((type)(void *)__cur)->field.next; \
951 __QUEUE2_CHECK_PREV(__fail, __cur, __next, __head, type, field); \
955 __elt->field.next = __next; \
958 __QUEUE2_SET_PREV(__next, __elt, __head, type, field); \
984 queue_entry_t __head, __next, __prev; \
990 __next = __elt->field.next; \
993 __QUEUE2_CHECK_PREV(__fail, __elt, __next, __head, type, field); \
997 __QUEUE2_SET_PREV(__next, __prev, __head, type, field); \
998 __QUEUE2_SET_NEXT(__prev, __next, __head, type, field); \