Home | History | Annotate | Download | only in scsipi

Lines Matching defs:sc_counts

79 	int		sc_counts[4];	/* counts, indexed by CHET_* */
242 sc->sc_counts[CHET_ST], PLURAL(sc->sc_counts[CHET_ST]),
243 sc->sc_counts[CHET_DT], PLURAL(sc->sc_counts[CHET_DT]),
244 sc->sc_counts[CHET_MT], PLURAL(sc->sc_counts[CHET_MT]),
245 sc->sc_counts[CHET_IE], PLURAL(sc->sc_counts[CHET_IE]));
396 if (new_picker > (sc->sc_counts[CHET_MT] - 1))
407 cp->cp_npickers = sc->sc_counts[CHET_MT];
408 cp->cp_nslots = sc->sc_counts[CHET_ST];
409 cp->cp_nportals = sc->sc_counts[CHET_IE];
410 cp->cp_ndrives = sc->sc_counts[CHET_DT];
592 if ((cm->cm_fromunit > (sc->sc_counts[cm->cm_fromtype] - 1)) ||
593 (cm->cm_tounit > (sc->sc_counts[cm->cm_totype] - 1)))
638 if ((ce->ce_srcunit > (sc->sc_counts[ce->ce_srctype] - 1)) ||
639 (ce->ce_fdstunit > (sc->sc_counts[ce->ce_fdsttype] - 1)) ||
640 (ce->ce_sdstunit > (sc->sc_counts[ce->ce_sdsttype] - 1)))
691 if (cp->cp_unit > (sc->sc_counts[cp->cp_type] - 1))
736 if (sc->sc_counts[chet] == 0)
745 sc->sc_counts[chet], &st_hdr, sizeof(st_hdr), 0, 0);
766 sc->sc_counts[chet], data, size, 0, 0);
780 if (avail != sc->sc_counts[chet])
827 if (sc->sc_counts[cesr->cesr_type] == 0)
829 if (cesr->cesr_unit > (sc->sc_counts[cesr->cesr_type] - 1))
832 (sc->sc_counts[cesr->cesr_type] + cesr->cesr_unit))
1070 if (csvr->csvr_unit > (sc->sc_counts[csvr->csvr_type] - 1))
1144 tmo = sc->sc_counts[CHET_MT] +
1145 sc->sc_counts[CHET_ST] +
1146 sc->sc_counts[CHET_IE] +
1147 sc->sc_counts[CHET_DT];
1186 sc->sc_counts[CHET_MT] = _2btol(sense_data.pages.ea.nmte);
1188 sc->sc_counts[CHET_ST] = _2btol(sense_data.pages.ea.nse);
1190 sc->sc_counts[CHET_IE] = _2btol(sense_data.pages.ea.niee);
1192 sc->sc_counts[CHET_DT] = _2btol(sense_data.pages.ea.ndte);
1259 elem < (sc->sc_firsts[chet] + sc->sc_counts[chet])) {