Lines Matching refs:TAILQ_NEXT
467 if (TAILQ_NEXT((elm), field) != NULL && \
468 TAILQ_NEXT((elm), field)->field.tqe_prev != \
502 (var) = TAILQ_NEXT((var), field))
506 (var) && ((tvar) = TAILQ_NEXT((var), field), 1); \
527 if ((TAILQ_NEXT((elm), field) = TAILQ_NEXT((listelm), field)) != NULL)\
528 TAILQ_NEXT((elm), field)->field.tqe_prev = \
529 &TAILQ_NEXT((elm), field); \
531 (head)->tqh_last = &TAILQ_NEXT((elm), field); \
534 TAILQ_NEXT((listelm), field) = (elm); \
535 (elm)->field.tqe_prev = &TAILQ_NEXT((listelm), field); \
543 TAILQ_NEXT((elm), field) = (listelm); \
545 (listelm)->field.tqe_prev = &TAILQ_NEXT((elm), field); \
552 if ((TAILQ_NEXT((elm), field) = TAILQ_FIRST((head))) != NULL) \
554 &TAILQ_NEXT((elm), field); \
556 (head)->tqh_last = &TAILQ_NEXT((elm), field); \
565 TAILQ_NEXT((elm), field) = NULL; \
568 (head)->tqh_last = &TAILQ_NEXT((elm), field); \
576 #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
584 if ((TAILQ_NEXT((elm), field)) != NULL) \
585 TAILQ_NEXT((elm), field)->field.tqe_prev = \
591 *(elm)->field.tqe_prev = TAILQ_NEXT((elm), field); \