Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Draid_class.h43 struct raid_data { struct
59 struct raid_data *rd; \ argument
68 struct raid_data *rd; \
/linux-3.4.99/drivers/scsi/
Draid_class.c83 struct raid_data *rd; in raid_setup()
100 struct raid_data *rd = dev_get_drvdata(cdev); in raid_remove()
181 struct raid_data *rd = dev_get_drvdata(dev); \
230 struct raid_data *rd = dev_get_drvdata(cdev); in raid_component_add()
/linux-3.4.99/drivers/message/fusion/
Dmptscsih.c2225 if (!ioc->raid_data.pIocPg3) in mptscsih_is_phys_disk()
2227 for (i = 0; i < ioc->raid_data.pIocPg3->NumPhysDisks; i++) { in mptscsih_is_phys_disk()
2228 if ((id == ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskID) && in mptscsih_is_phys_disk()
2229 (channel == ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskBus)) { in mptscsih_is_phys_disk()
2241 for (i = 0; i < ioc->raid_data.pIocPg3->NumPhysDisks; i++) { in mptscsih_is_phys_disk()
2243 ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskNum); in mptscsih_is_phys_disk()
2251 ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskNum, in mptscsih_is_phys_disk()
2277 if (list_empty(&ioc->raid_data.inactive_list)) in mptscsih_is_phys_disk()
2280 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mptscsih_is_phys_disk()
2281 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()
1133 pg3 = ioc->raid_data.pIocPg3; in mpt_work_wrapper()
Dmptsas.c1743 if (!ioc->raid_data.pIocPg2) { in mptsas_target_alloc()
1747 for (i = 0; i < ioc->raid_data.pIocPg2->NumActiveVolumes; i++) { in mptsas_target_alloc()
1748 if (id == ioc->raid_data.pIocPg2-> in mptsas_target_alloc()
1750 channel = ioc->raid_data.pIocPg2-> in mptsas_target_alloc()
4012 if (!ioc->ir_firmware || !ioc->raid_data.pIocPg2 || in mptsas_scan_sas_topology()
4013 !ioc->raid_data.pIocPg2->NumActiveVolumes) in mptsas_scan_sas_topology()
4015 for (i = 0; i < ioc->raid_data.pIocPg2->NumActiveVolumes; i++) { in mptsas_scan_sas_topology()
4017 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID, 0); in mptsas_scan_sas_topology()
4024 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID); in mptsas_scan_sas_topology()
4026 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID, 0); in mptsas_scan_sas_topology()
[all …]
Dmptbase.c2533 mutex_init(&ioc->raid_data.inactive_list_mutex); in mpt_do_ioc_recovery()
2534 INIT_LIST_HEAD(&ioc->raid_data.inactive_list); in mpt_do_ioc_recovery()
2749 kfree(ioc->raid_data.pIocPg2); in mpt_adapter_disable()
2750 kfree(ioc->raid_data.pIocPg3); in mpt_adapter_disable()
2752 ioc->raid_data.pIocPg3 = NULL; in mpt_adapter_disable()
5627 if (list_empty(&ioc->raid_data.inactive_list)) in mpt_inactive_raid_list_free()
5630 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_list_free()
5632 &ioc->raid_data.inactive_list, list) { in mpt_inactive_raid_list_free()
5636 mutex_unlock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_list_free()
5695 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_volumes()
[all …]
Dmptbase.h681 RaidCfgData raid_data; /* Raid config. data */ member