Searched refs:num_luns (Results 1 – 11 of 11) sorted by relevance
1399 unsigned int num_luns; in scsi_report_lun_scan() local1517 num_luns = (length / sizeof(struct scsi_lun)); in scsi_report_lun_scan()1526 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()
2298 vtarget->num_luns--; in mptscsih_slave_destroy()
1918 vdevice->vtarget->num_luns++; in mptsas_slave_alloc()
1811 int num_luns, num_entries, idx = 0, mgt_agt_addr, ret; in sbp_update_unit_directory() local1823 num_luns = sbp_count_se_tpg_luns(&tport->tpg->se_tpg); in sbp_update_unit_directory()1836 num_entries = ARRAY_SIZE(sbp_unit_directory_template) + 4 + num_luns; in sbp_update_unit_directory()1871 data[idx++] = 0x8d000000 | (num_luns + 1); in sbp_update_unit_directory()
759 u32 num_luns; member
4201 scsi_tgt_priv_data->num_luns--; in mpi3mr_slave_destroy()4212 if (tgt_dev && (!scsi_tgt_priv_data->num_luns)) in mpi3mr_slave_destroy()4382 scsi_tgt_priv_data->num_luns++; in mpi3mr_slave_alloc()
444 int num_luns; member
2059 sas_target_priv_data->num_luns++; in scsih_slave_alloc()2131 sas_target_priv_data->num_luns--; in scsih_slave_destroy()2140 if (pcie_device && !sas_target_priv_data->num_luns) in scsih_slave_destroy()2152 if (sas_device && !sas_target_priv_data->num_luns) in scsih_slave_destroy()