Lines Matching refs:STAILQ_NEXT
158 #undef STAILQ_NEXT
317 (var) = STAILQ_NEXT((var), field))
325 if ((STAILQ_NEXT((elm), field) = STAILQ_NEXT((tqelm), field)) == NULL)\
326 (head)->stqh_last = &STAILQ_NEXT((elm), field); \
327 STAILQ_NEXT((tqelm), field) = (elm); \
331 if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
332 (head)->stqh_last = &STAILQ_NEXT((elm), field); \
337 STAILQ_NEXT((elm), field) = NULL; \
339 (head)->stqh_last = &STAILQ_NEXT((elm), field); \
348 #define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next)
356 while (STAILQ_NEXT(curelm, field) != (elm)) \
357 curelm = STAILQ_NEXT(curelm, field); \
358 if ((STAILQ_NEXT(curelm, field) = \
359 STAILQ_NEXT(STAILQ_NEXT(curelm, field), field)) == NULL)\
360 (head)->stqh_last = &STAILQ_NEXT((curelm), field);\
366 STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) \
371 if ((STAILQ_FIRST((head)) = STAILQ_NEXT((elm), field)) == NULL) \