Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Draid_class.h43 struct raid_data { struct
59 struct raid_data *rd; \ argument
68 struct raid_data *rd; \
/linux-6.12.1/drivers/message/fusion/
Dmptscsih.c2183 if (!ioc->raid_data.pIocPg3) in mptscsih_is_phys_disk()
2185 for (i = 0; i < ioc->raid_data.pIocPg3->NumPhysDisks; i++) { in mptscsih_is_phys_disk()
2186 if ((id == ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskID) && in mptscsih_is_phys_disk()
2187 (channel == ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskBus)) { in mptscsih_is_phys_disk()
2199 for (i = 0; i < ioc->raid_data.pIocPg3->NumPhysDisks; i++) { in mptscsih_is_phys_disk()
2201 ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskNum); in mptscsih_is_phys_disk()
2209 ioc->raid_data.pIocPg3->PhysDisk[i].PhysDiskNum, in mptscsih_is_phys_disk()
2235 if (list_empty(&ioc->raid_data.inactive_list)) in mptscsih_is_phys_disk()
2238 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mptscsih_is_phys_disk()
2239 list_for_each_entry(component_info, &ioc->raid_data.inactive_list, in mptscsih_is_phys_disk()
[all …]
Dmptspi.c381 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()
1125 pg3 = ioc->raid_data.pIocPg3; in mpt_work_wrapper()
Dmptsas.c1768 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()
4025 if (!ioc->ir_firmware || !ioc->raid_data.pIocPg2 || in mptsas_scan_sas_topology()
4026 !ioc->raid_data.pIocPg2->NumActiveVolumes) in mptsas_scan_sas_topology()
4028 for (i = 0; i < ioc->raid_data.pIocPg2->NumActiveVolumes; i++) { in mptsas_scan_sas_topology()
4030 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID, 0); in mptsas_scan_sas_topology()
4037 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID); in mptsas_scan_sas_topology()
4039 ioc->raid_data.pIocPg2->RaidVolume[i].VolumeID, 0); in mptsas_scan_sas_topology()
[all …]
Dmptbase.c2545 mutex_init(&ioc->raid_data.inactive_list_mutex); in mpt_do_ioc_recovery()
2546 INIT_LIST_HEAD(&ioc->raid_data.inactive_list); in mpt_do_ioc_recovery()
2758 kfree(ioc->raid_data.pIocPg2); in mpt_adapter_disable()
2759 kfree(ioc->raid_data.pIocPg3); in mpt_adapter_disable()
2761 ioc->raid_data.pIocPg3 = NULL; in mpt_adapter_disable()
5626 if (list_empty(&ioc->raid_data.inactive_list)) in mpt_inactive_raid_list_free()
5629 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_list_free()
5631 &ioc->raid_data.inactive_list, list) { in mpt_inactive_raid_list_free()
5635 mutex_unlock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_list_free()
5694 mutex_lock(&ioc->raid_data.inactive_list_mutex); in mpt_inactive_raid_volumes()
[all …]
Dmptbase.h680 RaidCfgData raid_data; /* Raid config. data */ member
/linux-6.12.1/drivers/scsi/
Draid_class.c80 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); \