Lines Matching refs:tqe_next
389 struct type *tqe_next; /* next element */ \
398 #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
426 if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \
428 &(elm)->field.tqe_next; \
430 (head)->tqh_last = &(elm)->field.tqe_next; \
436 (elm)->field.tqe_next = NULL; \
439 (head)->tqh_last = &(elm)->field.tqe_next; \
443 if (((elm)->field.tqe_next = (listelm)->field.tqe_next) != NULL)\
444 (elm)->field.tqe_next->field.tqe_prev = \
445 &(elm)->field.tqe_next; \
447 (head)->tqh_last = &(elm)->field.tqe_next; \
448 (listelm)->field.tqe_next = (elm); \
449 (elm)->field.tqe_prev = &(listelm)->field.tqe_next; \
454 (elm)->field.tqe_next = (listelm); \
456 (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \
460 if (((elm)->field.tqe_next) != NULL) \
461 (elm)->field.tqe_next->field.tqe_prev = \
465 *(elm)->field.tqe_prev = (elm)->field.tqe_next; \
469 if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL) \
470 (elm2)->field.tqe_next->field.tqe_prev = \
471 &(elm2)->field.tqe_next; \
473 (head)->tqh_last = &(elm2)->field.tqe_next; \