Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/
Dscsi_scan.c1399 unsigned int num_luns; in scsi_report_lun_scan() local
1517 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()
/linux-6.1.9/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.c2298 vtarget->num_luns--; in mptscsih_slave_destroy()
Dmptsas.c1918 vdevice->vtarget->num_luns++; in mptsas_slave_alloc()
/linux-6.1.9/drivers/target/sbp/
Dsbp_target.c1811 int num_luns, num_entries, idx = 0, mgt_agt_addr, ret; in sbp_update_unit_directory() local
1823 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()
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr.h759 u32 num_luns; member
Dmpi3mr_os.c4201 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()
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_base.h444 int num_luns; member
Dmpt3sas_scsih.c2059 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()