Lines Matching refs:tqe_next
286 struct type *tqe_next; /* next element */ \
295 #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
323 if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \
325 &(elm)->field.tqe_next; \
327 (head)->tqh_last = &(elm)->field.tqe_next; \
333 (elm)->field.tqe_next = NULL; \
336 (head)->tqh_last = &(elm)->field.tqe_next; \
340 if (((elm)->field.tqe_next = (listelm)->field.tqe_next) != NULL)\
341 (elm)->field.tqe_next->field.tqe_prev = \
342 &(elm)->field.tqe_next; \
344 (head)->tqh_last = &(elm)->field.tqe_next; \
345 (listelm)->field.tqe_next = (elm); \
346 (elm)->field.tqe_prev = &(listelm)->field.tqe_next; \
351 (elm)->field.tqe_next = (listelm); \
353 (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \
357 if (((elm)->field.tqe_next) != NULL) \
358 (elm)->field.tqe_next->field.tqe_prev = \
362 *(elm)->field.tqe_prev = (elm)->field.tqe_next; \
366 if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL) \
367 (elm2)->field.tqe_next->field.tqe_prev = \
368 &(elm2)->field.tqe_next; \
370 (head)->tqh_last = &(elm2)->field.tqe_next; \