Searched refs:num_luns (Results 1 – 11 of 11) sorted by relevance
1404 unsigned int num_luns; in scsi_report_lun_scan() local1526 num_luns = (length / sizeof(struct scsi_lun)); in scsi_report_lun_scan()1535 for (lunp = &lun_data[1]; lunp <= &lun_data[num_luns]; lunp++) { in scsi_report_lun_scan()
582 vtarget->num_luns, in mptfc_dump_lun_info()626 if (vtarget->num_luns == 0) { in mptfc_slave_alloc()634 vtarget->num_luns++; in mptfc_slave_alloc()
402 u32 num_luns; member
741 vtarget->num_luns++; in mptspi_slave_alloc()809 if (vtarget->num_luns == 1 && vdevice->configured_lun) { in mptspi_slave_destroy()
2297 vtarget->num_luns--; in mptscsih_slave_destroy()
1918 vdevice->vtarget->num_luns++; in mptsas_slave_alloc()
1786 int num_luns, num_entries, idx = 0, mgt_agt_addr, ret; in sbp_update_unit_directory() local1798 num_luns = sbp_count_se_tpg_luns(&tport->tpg->se_tpg); in sbp_update_unit_directory()1811 num_entries = ARRAY_SIZE(sbp_unit_directory_template) + 4 + num_luns; in sbp_update_unit_directory()1846 data[idx++] = 0x8d000000 | (num_luns + 1); in sbp_update_unit_directory()
774 u32 num_luns; member
4316 scsi_tgt_priv_data->num_luns--; in mpi3mr_slave_destroy()4327 if (tgt_dev && (!scsi_tgt_priv_data->num_luns)) in mpi3mr_slave_destroy()4497 scsi_tgt_priv_data->num_luns++; in mpi3mr_slave_alloc()
444 int num_luns; member
2058 sas_target_priv_data->num_luns++; in scsih_slave_alloc()2130 sas_target_priv_data->num_luns--; in scsih_slave_destroy()2139 if (pcie_device && !sas_target_priv_data->num_luns) in scsih_slave_destroy()2151 if (sas_device && !sas_target_priv_data->num_luns) in scsih_slave_destroy()