Home
last modified time | relevance | path

Searched refs:raid_data (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/include/linux/
Draid_class.h44 struct raid_data { struct
60 struct raid_data *rd; \ argument
69 struct raid_data *rd; \
/linux-4.19.296/drivers/message/fusion/
Dmptscsih.c2131 if (!ioc->raid_data.pIocPg3) in mptscsih_is_phys_disk()
2133 for (i = 0; i < ioc->raid_data.pIocPg3->NumPhysDisks; i++) { in mptscsih_is_phys_disk()
2134 if ((id == ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskID) && in mptscsih_is_phys_disk()
2135 (channel == ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskBus)) { in mptscsih_is_phys_disk()
2147 for (i = 0; i < ioc->raid_data.pIocPg3->NumPhysDisks; i++) { in mptscsih_is_phys_disk()
2149 ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskNum); in mptscsih_is_phys_disk()
2157 ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskNum, in mptscsih_is_phys_disk()
2183 if (list_empty(&ioc->raid_data.inactive_list)) in mptscsih_is_phys_disk()
2186 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mptscsih_is_phys_disk()
2187 list_for_each_entry(component_info, &ioc->raid_data.inactive_list, in mptscsih_is_phys_disk()
[all …]
Dmptspi.c386 if (!ioc->raid_data.pIocPg2) in mptspi_is_raid()
389 if (!ioc->raid_data.pIocPg2->NumActiveVolumes) in mptspi_is_raid()
391 for (i=0; i < ioc->raid_data.pIocPg2->NumActiveVolumes; i++) { in mptspi_is_raid()
392 if (ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID == id) { in mptspi_is_raid()
1130 pg3 = ioc->raid_data.pIocPg3; in mpt_work_wrapper()
Dmptsas.c1740 if (!ioc->raid_data.pIocPg2) { in mptsas_target_alloc()
1744 for (i = 0; i < ioc->raid_data.pIocPg2->NumActiveVolumes; i++) { in mptsas_target_alloc()
1745 if (id == ioc->raid_data.pIocPg2-> in mptsas_target_alloc()
1747 channel = ioc->raid_data.pIocPg2-> in mptsas_target_alloc()
4001 if (!ioc->ir_firmware || !ioc->raid_data.pIocPg2 || in mptsas_scan_sas_topology()
4002 !ioc->raid_data.pIocPg2->NumActiveVolumes) in mptsas_scan_sas_topology()
4004 for (i = 0; i < ioc->raid_data.pIocPg2->NumActiveVolumes; i++) { in mptsas_scan_sas_topology()
4006 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID, 0); in mptsas_scan_sas_topology()
4013 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID); in mptsas_scan_sas_topology()
4015 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID, 0); in mptsas_scan_sas_topology()
[all …]
Dmptbase.c2558 mutex_init(&ioc->raid_data.inactive_list_mutex); in mpt_do_ioc_recovery()
2559 INIT_LIST_HEAD(&ioc->raid_data.inactive_list); in mpt_do_ioc_recovery()
2771 kfree(ioc->raid_data.pIocPg2); in mpt_adapter_disable()
2772 kfree(ioc->raid_data.pIocPg3); in mpt_adapter_disable()
2774 ioc->raid_data.pIocPg3 = NULL; in mpt_adapter_disable()
5624 if (list_empty(&ioc->raid_data.inactive_list)) in mpt_inactive_raid_list_free()
5627 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_list_free()
5629 &ioc->raid_data.inactive_list, list) { in mpt_inactive_raid_list_free()
5633 mutex_unlock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_list_free()
5692 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_volumes()
[all …]
Dmptbase.h680 RaidCfgData raid_data; /* Raid config. data */ member