Searched refs:nluns (Results 1 – 2 of 2) sorted by relevance
248 uint16_t nluns, ent; in stmf_session_prepare_report_lun_data() local253 nluns = sm->lm_nluns; in stmf_session_prepare_report_lun_data()255 data_size = 8 + (((uint32_t)nluns) << 3); in stmf_session_prepare_report_lun_data()256 if (nluns == 0) { in stmf_session_prepare_report_lun_data()270 if (nluns == 0) { in stmf_session_prepare_report_lun_data()277 for (i = 0; ((i < sm->lm_nentries) && (ent < nluns)); i++) { in stmf_session_prepare_report_lun_data()286 ASSERT(ent == nluns); in stmf_session_prepare_report_lun_data()
7003 uint32_t tluns, nluns; in scsi_device_reportluns() local7017 nluns = default_maxluns; in scsi_device_reportluns()7020 ((nluns - 1) * sizeof (struct scsi_lun)); in scsi_device_reportluns()7078 if (tluns > nluns) { in scsi_device_reportluns()7080 if (nluns == default_maxluns) { in scsi_device_reportluns()7083 nluns = tluns; in scsi_device_reportluns()7089 "tluns changed from %d to %d", nluns, tluns)); in scsi_device_reportluns()7091 nluns = tluns; in scsi_device_reportluns()7103 nluns * sizeof (scsi_lun_t), KM_SLEEP); in scsi_device_reportluns()7110 *sizep = nluns * sizeof (scsi_lun_t); in scsi_device_reportluns()[all …]