Home
last modified time | relevance | path

Searched refs:maxluns (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c1492 int maxluns; in scsi_get_scsi_maxluns() local
1502 maxluns = SCSI_8LUN_PER_TARGET; /* 8 */ in scsi_get_scsi_maxluns()
1504 maxluns = SCSI_16LUNS_PER_TARGET; /* 16 */ in scsi_get_scsi_maxluns()
1507 maxluns = SCSI_1LUN_PER_TARGET; /* 1 */ in scsi_get_scsi_maxluns()
1510 maxluns = SCSI_8LUN_PER_TARGET; /* 8 */ in scsi_get_scsi_maxluns()
1513 maxluns = SCSI_16LUNS_PER_TARGET; /* 16 */ in scsi_get_scsi_maxluns()
1516 maxluns = SCSI_32LUNS_PER_TARGET; /* 32 */ in scsi_get_scsi_maxluns()
1522 (maxluns > SCSI_8LUN_PER_TARGET)) in scsi_get_scsi_maxluns()
1523 maxluns = SCSI_8LUN_PER_TARGET; in scsi_get_scsi_maxluns()
1525 return (maxluns); in scsi_get_scsi_maxluns()
H A Dscsi_hba.c7166 int maxluns; in scsi_hba_enum_lsf_of_t() local
7273 maxluns = scsi_get_scsi_maxluns(sd0); in scsi_hba_enum_lsf_of_t()
7285 maxluns = 1; in scsi_hba_enum_lsf_of_t()
7289 if (maxluns > 1) in scsi_hba_enum_lsf_of_t()
7292 maxluns - 1)); in scsi_hba_enum_lsf_of_t()
7297 for (lun64 = 0; lun64 < maxluns; lun64++) { in scsi_hba_enum_lsf_of_t()
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dsbp2.c149 sbp2_tgt_init(void *bus_hdl, sbp2_bus_t *bus, int maxluns, sbp2_tgt_t **tpp) in sbp2_tgt_init() argument
173 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() argument
268 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()