Searched refs:raid_data (Results 1 – 7 of 7) sorted by relevance
43 struct raid_data { struct59 struct raid_data *rd; \ argument68 struct raid_data *rd; \
80 struct raid_data *rd; in raid_setup()97 struct raid_data *rd = dev_get_drvdata(cdev); in raid_remove()179 struct raid_data *rd = dev_get_drvdata(dev); \228 struct raid_data *rd = dev_get_drvdata(cdev); in raid_component_add()
2132 if (!ioc->raid_data.pIocPg3) in mptscsih_is_phys_disk()2134 for (i = 0; i < ioc->raid_data.pIocPg3->NumPhysDisks; i++) { in mptscsih_is_phys_disk()2135 if ((id == ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskID) && in mptscsih_is_phys_disk()2136 (channel == ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskBus)) { in mptscsih_is_phys_disk()2148 for (i = 0; i < ioc->raid_data.pIocPg3->NumPhysDisks; i++) { in mptscsih_is_phys_disk()2150 ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskNum); in mptscsih_is_phys_disk()2158 ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskNum, in mptscsih_is_phys_disk()2184 if (list_empty(&ioc->raid_data.inactive_list)) in mptscsih_is_phys_disk()2187 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mptscsih_is_phys_disk()2188 list_for_each_entry(component_info, &ioc->raid_data.inactive_list, in mptscsih_is_phys_disk()[all …]
381 if (!ioc->raid_data.pIocPg2) in mptspi_is_raid()384 if (!ioc->raid_data.pIocPg2->NumActiveVolumes) in mptspi_is_raid()386 for (i=0; i < ioc->raid_data.pIocPg2->NumActiveVolumes; i++) { in mptspi_is_raid()387 if (ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID == id) { in mptspi_is_raid()1124 pg3 = ioc->raid_data.pIocPg3; in mpt_work_wrapper()
1768 if (!ioc->raid_data.pIocPg2) { in mptsas_target_alloc()1772 for (i = 0; i < ioc->raid_data.pIocPg2->NumActiveVolumes; i++) { in mptsas_target_alloc()1773 if (id == ioc->raid_data.pIocPg2-> in mptsas_target_alloc()1775 channel = ioc->raid_data.pIocPg2-> in mptsas_target_alloc()4028 if (!ioc->ir_firmware || !ioc->raid_data.pIocPg2 || in mptsas_scan_sas_topology()4029 !ioc->raid_data.pIocPg2->NumActiveVolumes) in mptsas_scan_sas_topology()4031 for (i = 0; i < ioc->raid_data.pIocPg2->NumActiveVolumes; i++) { in mptsas_scan_sas_topology()4033 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID, 0); in mptsas_scan_sas_topology()4040 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID); in mptsas_scan_sas_topology()4042 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID, 0); in mptsas_scan_sas_topology()[all …]
2549 mutex_init(&ioc->raid_data.inactive_list_mutex); in mpt_do_ioc_recovery()2550 INIT_LIST_HEAD(&ioc->raid_data.inactive_list); in mpt_do_ioc_recovery()2762 kfree(ioc->raid_data.pIocPg2); in mpt_adapter_disable()2763 kfree(ioc->raid_data.pIocPg3); in mpt_adapter_disable()2765 ioc->raid_data.pIocPg3 = NULL; in mpt_adapter_disable()5630 if (list_empty(&ioc->raid_data.inactive_list)) in mpt_inactive_raid_list_free()5633 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_list_free()5635 &ioc->raid_data.inactive_list, list) { in mpt_inactive_raid_list_free()5639 mutex_unlock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_list_free()5698 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_volumes()[all …]
680 RaidCfgData raid_data; /* Raid config. data */ member