Home
last modified time | relevance | path

Searched refs:num_luns (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/scsi/
Dscsi_scan.c1404 unsigned int num_luns; in scsi_report_lun_scan() local
1526 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()
/linux-6.6.21/drivers/message/fusion/
Dmptfc.c582 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()
Dmptbase.h402 u32 num_luns; member
Dmptspi.c741 vtarget->num_luns++; in mptspi_slave_alloc()
809 if (vtarget->num_luns == 1 && vdevice->configured_lun) { in mptspi_slave_destroy()
Dmptscsih.c2297 vtarget->num_luns--; in mptscsih_slave_destroy()
Dmptsas.c1918 vdevice->vtarget->num_luns++; in mptsas_slave_alloc()
/linux-6.6.21/drivers/target/sbp/
Dsbp_target.c1786 int num_luns, num_entries, idx = 0, mgt_agt_addr, ret; in sbp_update_unit_directory() local
1798 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()
/linux-6.6.21/drivers/scsi/mpi3mr/
Dmpi3mr.h774 u32 num_luns; member
Dmpi3mr_os.c4316 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()
/linux-6.6.21/drivers/scsi/mpt3sas/
Dmpt3sas_base.h444 int num_luns; member
Dmpt3sas_scsih.c2058 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()