Searched refs:STAILQ_FIRST (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/scsi/aic7xxx/
H A Dqueue.h187 #define STAILQ_FIRST(head) ((head)->stqh_first) macro
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)); \
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.c324 for (cur_instr = STAILQ_FIRST(&seq_program); back_patch()
366 for (cur_instr = STAILQ_FIRST(&seq_program); output_code()
371 cur_instr == STAILQ_FIRST(&seq_program) ? "" : ",\n", output_code()
425 for (cur_patch = STAILQ_FIRST(&patches); output_code()
429 cur_patch == STAILQ_FIRST(&patches) ? "" : ",\n", output_code()
597 cur_patch = STAILQ_FIRST(&patches); output_listing()
598 for (cur_instr = STAILQ_FIRST(&seq_program); output_listing()

Completed in 38 milliseconds