Searched refs:nluns (Results 1 – 2 of 2) sorted by relevance
290 uint16_t nluns, ent; in stmf_session_prepare_report_lun_data() local294 nluns = sm->lm_nluns; in stmf_session_prepare_report_lun_data()296 data_size = 8 + (((uint32_t)nluns) << 3); in stmf_session_prepare_report_lun_data()297 if (nluns == 0) { in stmf_session_prepare_report_lun_data()311 if (nluns == 0) { in stmf_session_prepare_report_lun_data()317 for (i = 0; ((i < sm->lm_nentries) && (ent < nluns)); i++) { in stmf_session_prepare_report_lun_data()326 ASSERT(ent == nluns); in stmf_session_prepare_report_lun_data()
6998 uint32_t tluns, nluns; in scsi_device_reportluns() local7012 nluns = default_maxluns; in scsi_device_reportluns()7015 ((nluns - 1) * sizeof (struct scsi_lun)); in scsi_device_reportluns()7073 if (tluns > nluns) { in scsi_device_reportluns()7075 if (nluns == default_maxluns) { in scsi_device_reportluns()7078 nluns = tluns; in scsi_device_reportluns()7084 "tluns changed from %d to %d", nluns, tluns)); in scsi_device_reportluns()7086 nluns = tluns; in scsi_device_reportluns()7098 nluns * sizeof (scsi_lun_t), KM_SLEEP); in scsi_device_reportluns()7105 *sizep = nluns * sizeof (scsi_lun_t); in scsi_device_reportluns()[all …]