Searched refs:LIST_FIRST (Results 1 – 3 of 3) sorted by relevance
269 #define LIST_FIRST(head) ((head)->lh_first) macro272 for ((var) = LIST_FIRST((head)); \277 LIST_FIRST((head)) = NULL; \296 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \297 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\298 LIST_FIRST((head)) = (elm); \299 (elm)->field.le_prev = &LIST_FIRST((head)); \
6674 first_scb = LIST_FIRST(free_list); in ahd_add_col_list()6695 first_scb = LIST_FIRST(free_list); in ahd_rem_col_list()6731 if ((scb = LIST_FIRST(&ahd->scb_data.any_dev_free_scb_list)) == NULL) { in ahd_get_scb()7968 if (LIST_FIRST(&ahd->pending_scbs) != NULL) { in ahd_suspend()8654 scbp_next = LIST_FIRST(&ahd->pending_scbs); in ahd_abort_scbs()10384 if (LIST_FIRST(&ahd->pending_scbs) != NULL) { in ahd_handle_en_lun()
5662 if (LIST_FIRST(&ahc->pending_scbs) != NULL) { in ahc_suspend()6440 scbp_next = LIST_FIRST(&ahc->pending_scbs); in ahc_abort_scbs()7488 if (LIST_FIRST(&ahc->pending_scbs) != NULL) { in ahc_handle_en_lun()