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()
1740 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()4000 if (!ioc->ir_firmware || !ioc->raid_data.pIocPg2 || in mptsas_scan_sas_topology()4001 !ioc->raid_data.pIocPg2->NumActiveVolumes) in mptsas_scan_sas_topology()4003 for (i = 0; i < ioc->raid_data.pIocPg2->NumActiveVolumes; i++) { in mptsas_scan_sas_topology()4005 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID, 0); in mptsas_scan_sas_topology()4012 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID); in mptsas_scan_sas_topology()4014 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID, 0); in mptsas_scan_sas_topology()[all …]
2558 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()5625 if (list_empty(&ioc->raid_data.inactive_list)) in mpt_inactive_raid_list_free()5628 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_list_free()5630 &ioc->raid_data.inactive_list, list) { in mpt_inactive_raid_list_free()5634 mutex_unlock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_list_free()5693 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_volumes()[all …]
680 RaidCfgData raid_data; /* Raid config. data */ member