Searched defs:maxluns (Results 1 - 3 of 3) sorted by relevance

/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) argument
173 if ((ret = sbp2_tgt_init_luns(tp, maxluns)) != SBP2_SUCCESS) {
259 sbp2_tgt_init_luns(sbp2_tgt_t *tp, int maxluns) argument
268 tp->t_lun = kmem_zalloc(maxluns * sizeof (sbp2_lun_t), KM_SLEEP);
269 tp->t_nluns_alloc = maxluns;
272 for (tp->t_nluns = 0; tp->t_nluns < maxluns; tp->t_nluns++) {
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c1493 int maxluns; local
1503 maxluns = SCSI_8LUN_PER_TARGET; /* 8 */
1505 maxluns = SCSI_16LUNS_PER_TARGET; /* 16 */
1508 maxluns = SCSI_1LUN_PER_TARGET; /* 1 */
1511 maxluns = SCSI_8LUN_PER_TARGET; /* 8 */
1514 maxluns = SCSI_16LUNS_PER_TARGET; /* 16 */
1517 maxluns = SCSI_32LUNS_PER_TARGET; /* 32 */
1523 (maxluns > SCSI_8LUN_PER_TARGET))
1524 maxluns = SCSI_8LUN_PER_TARGET;
1526 return (maxluns);
[all...]
H A Dscsi_hba.c7161 int maxluns; local
7268 maxluns = scsi_get_scsi_maxluns(sd0);
7280 maxluns = 1;
7284 if (maxluns > 1)
7287 maxluns - 1));
7292 for (lun64 = 0; lun64 < maxluns; lun64++) {

Completed in 89 milliseconds