Lines Matching refs:STAILQ_FIRST
187 #define STAILQ_FIRST(head) ((head)->stqh_first)
190 for((var) = STAILQ_FIRST((head)); \
195 STAILQ_FIRST((head)) = NULL; \
196 (head)->stqh_last = &STAILQ_FIRST((head)); \
206 if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
208 STAILQ_FIRST((head)) = (elm); \
222 if (STAILQ_FIRST((head)) == (elm)) { \
226 struct type *curelm = STAILQ_FIRST((head)); \
236 if ((STAILQ_FIRST((head)) = \
237 STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) \
238 (head)->stqh_last = &STAILQ_FIRST((head)); \
242 if ((STAILQ_FIRST((head)) = STAILQ_NEXT((elm), field)) == NULL) \
243 (head)->stqh_last = &STAILQ_FIRST((head)); \