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); \
2131 if (!ioc->raid_data.pIocPg3) 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()2193 mutex_unlock(&ioc->raid_data.inactive_list_mutex); in mptscsih_is_phys_disk()2209 if (!ioc->raid_data.pIocPg3) in mptscsih_raid_id_to_num()2235 ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskNum, in mptscsih_raid_id_to_num()2260 if (list_empty(&ioc->raid_data.inactive_list)) in mptscsih_raid_id_to_num()2263 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mptscsih_raid_id_to_num()[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()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()4040 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID); in mptsas_scan_sas_topology()4180 if (!ioc->raid_data.pIocPg3) in mptsas_find_phyinfo_by_phys_disk_num()4344 if (!ioc->raid_data.pIocPg2) in mptsas_hotplug_work()4348 if (ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID == in mptsas_hotplug_work()5139 if (!ioc->raid_data.pIocPg2) in mptsas_volume_delete()[all …]
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()5635 &ioc->raid_data.inactive_list, list) { in mpt_inactive_raid_list_free()5716 &ioc->raid_data.inactive_list); in mpt_inactive_raid_volumes()5978 kfree(ioc->raid_data.pIocPg2); in mpt_findImVolumes()5979 ioc->raid_data.pIocPg2 = NULL; in mpt_findImVolumes()6017 ioc->raid_data.pIocPg2 = (IOCPage2_t *) mem; in mpt_findImVolumes()6044 kfree(ioc->raid_data.pIocPg3); in mpt_read_ioc_pg_3()[all …]
680 RaidCfgData raid_data; /* Raid config. data */ member