Searched refs:maxluns (Results 1 – 3 of 3) sorted by relevance
1493 int maxluns; in scsi_get_scsi_maxluns() local1503 maxluns = SCSI_8LUN_PER_TARGET; /* 8 */ in scsi_get_scsi_maxluns()1505 maxluns = SCSI_16LUNS_PER_TARGET; /* 16 */ in scsi_get_scsi_maxluns()1508 maxluns = SCSI_1LUN_PER_TARGET; /* 1 */ in scsi_get_scsi_maxluns()1511 maxluns = SCSI_8LUN_PER_TARGET; /* 8 */ in scsi_get_scsi_maxluns()1514 maxluns = SCSI_16LUNS_PER_TARGET; /* 16 */ in scsi_get_scsi_maxluns()1517 maxluns = SCSI_32LUNS_PER_TARGET; /* 32 */ in scsi_get_scsi_maxluns()1523 (maxluns > SCSI_8LUN_PER_TARGET)) in scsi_get_scsi_maxluns()1524 maxluns = SCSI_8LUN_PER_TARGET; in scsi_get_scsi_maxluns()1526 return (maxluns); in scsi_get_scsi_maxluns()
7161 int maxluns; in scsi_hba_enum_lsf_of_t() local7268 maxluns = scsi_get_scsi_maxluns(sd0); in scsi_hba_enum_lsf_of_t()7280 maxluns = 1; in scsi_hba_enum_lsf_of_t()7284 if (maxluns > 1) in scsi_hba_enum_lsf_of_t()7287 maxluns - 1)); in scsi_hba_enum_lsf_of_t()7292 for (lun64 = 0; lun64 < maxluns; lun64++) { in scsi_hba_enum_lsf_of_t()
149 sbp2_tgt_init(void *bus_hdl, sbp2_bus_t *bus, int maxluns, sbp2_tgt_t **tpp) in sbp2_tgt_init() argument173 if ((ret = sbp2_tgt_init_luns(tp, maxluns)) != SBP2_SUCCESS) { in sbp2_tgt_init()259 sbp2_tgt_init_luns(sbp2_tgt_t *tp, int maxluns) in sbp2_tgt_init_luns() argument268 tp->t_lun = kmem_zalloc(maxluns * sizeof (sbp2_lun_t), KM_SLEEP); in sbp2_tgt_init_luns()269 tp->t_nluns_alloc = maxluns; in sbp2_tgt_init_luns()272 for (tp->t_nluns = 0; tp->t_nluns < maxluns; tp->t_nluns++) { in sbp2_tgt_init_luns()