Lines Matching refs:STAILQ_FIRST
188 #define STAILQ_FIRST(head) ((head)->stqh_first)
191 for((var) = STAILQ_FIRST((head)); \
196 STAILQ_FIRST((head)) = NULL; \
197 (head)->stqh_last = &STAILQ_FIRST((head)); \
207 if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
209 STAILQ_FIRST((head)) = (elm); \
227 if (STAILQ_FIRST((head)) == (elm)) { \
231 struct type *curelm = STAILQ_FIRST((head)); \
241 if ((STAILQ_FIRST((head)) = \
242 STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) \
243 (head)->stqh_last = &STAILQ_FIRST((head)); \
247 if ((STAILQ_FIRST((head)) = STAILQ_NEXT((elm), field)) == NULL) \
248 (head)->stqh_last = &STAILQ_FIRST((head)); \