Lines Matching refs:STAILQ_FIRST
237 #define STAILQ_FIRST(head) ((head)->stqh_first)
240 for((var) = STAILQ_FIRST((head)); \
245 STAILQ_FIRST((head)) = NULL; \
246 (head)->stqh_last = &STAILQ_FIRST((head)); \
256 if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
258 STAILQ_FIRST((head)) = (elm); \
276 if (STAILQ_FIRST((head)) == (elm)) { \
280 struct type *curelm = STAILQ_FIRST((head)); \
290 if ((STAILQ_FIRST((head)) = \
291 STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) \
292 (head)->stqh_last = &STAILQ_FIRST((head)); \
296 if ((STAILQ_FIRST((head)) = STAILQ_NEXT((elm), field)) == NULL) \
297 (head)->stqh_last = &STAILQ_FIRST((head)); \