Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/message/fusion/
Dmptscsih.c2128 RaidPhysDiskPage1_t *phys_disk; in mptscsih_is_phys_disk() local
2153 phys_disk = kzalloc(offsetof(RaidPhysDiskPage1_t, Path) + in mptscsih_is_phys_disk()
2155 if (!phys_disk) in mptscsih_is_phys_disk()
2159 phys_disk))) { in mptscsih_is_phys_disk()
2160 kfree(phys_disk); in mptscsih_is_phys_disk()
2164 if ((phys_disk->Path[j].Flags & in mptscsih_is_phys_disk()
2167 if ((phys_disk->Path[j].Flags & in mptscsih_is_phys_disk()
2170 if ((id == phys_disk->Path[j].PhysDiskID) && in mptscsih_is_phys_disk()
2171 (channel == phys_disk->Path[j].PhysDiskBus)) { in mptscsih_is_phys_disk()
2173 kfree(phys_disk); in mptscsih_is_phys_disk()
[all …]
Dmptsas.c659 RaidPhysDiskPage0_t phys_disk; in mptsas_add_device_component_starget_ir() local
698 buffer->PhysDisk[i].PhysDiskNum, &phys_disk) != 0) in mptsas_add_device_component_starget_ir()
701 mptsas_add_device_component_by_fw(ioc, phys_disk.PhysDiskBus, in mptsas_add_device_component_starget_ir()
702 phys_disk.PhysDiskID); in mptsas_add_device_component_starget_ir()
708 (sas_info->fw.channel == phys_disk.PhysDiskBus && in mptsas_add_device_component_starget_ir()
709 sas_info->fw.id == phys_disk.PhysDiskID)) { in mptsas_add_device_component_starget_ir()
4145 RaidPhysDiskPage1_t *phys_disk = NULL; in mptsas_find_phyinfo_by_phys_disk_num() local
4157 phys_disk = kzalloc(offsetof(RaidPhysDiskPage1_t, Path) + in mptsas_find_phyinfo_by_phys_disk_num()
4159 if (!phys_disk) in mptsas_find_phyinfo_by_phys_disk_num()
4161 mpt_raid_phys_disk_pg1(ioc, phys_disk_num, phys_disk); in mptsas_find_phyinfo_by_phys_disk_num()
[all …]
Dmptbase.c5652 RaidPhysDiskPage0_t phys_disk; in mpt_inactive_raid_volumes() local
5696 buffer->PhysDisk[i].PhysDiskNum, &phys_disk) != 0) in mpt_inactive_raid_volumes()
5705 component_info->d.PhysDiskNum = phys_disk.PhysDiskNum; in mpt_inactive_raid_volumes()
5706 component_info->d.PhysDiskBus = phys_disk.PhysDiskBus; in mpt_inactive_raid_volumes()
5707 component_info->d.PhysDiskID = phys_disk.PhysDiskID; in mpt_inactive_raid_volumes()
5708 component_info->d.PhysDiskIOC = phys_disk.PhysDiskIOC; in mpt_inactive_raid_volumes()
5734 RaidPhysDiskPage0_t *phys_disk) in mpt_raid_phys_disk_pg0() argument
5744 memset(phys_disk, 0, sizeof(RaidPhysDiskPage0_t)); in mpt_raid_phys_disk_pg0()
5780 memcpy(phys_disk, buffer, sizeof(*buffer)); in mpt_raid_phys_disk_pg0()
5781 phys_disk->MaxLBA = le32_to_cpu(buffer->MaxLBA); in mpt_raid_phys_disk_pg0()
[all …]
Dmptbase.h941 …rn int mpt_raid_phys_disk_pg0(MPT_ADAPTER *ioc, u8 phys_disk_num, pRaidPhysDiskPage0_t phys_disk);
943 pRaidPhysDiskPage1_t phys_disk);
/Linux-v5.10/drivers/scsi/
Dhpsa.c322 u8 *scsi3addr, struct hpsa_scsi_dev_t *phys_disk);
1718 logical_drive->phys_disk[i] = NULL; in hpsa_figure_phys_disk_ptrs()
1732 logical_drive->phys_disk[i] = dev[j]; in hpsa_figure_phys_disk_ptrs()
1735 logical_drive->phys_disk[i]->queue_depth); in hpsa_figure_phys_disk_ptrs()
1746 if (!logical_drive->phys_disk[i]) { in hpsa_figure_phys_disk_ptrs()
2615 if (likely(cp->phys_disk != NULL)) in complete_scsi_command()
2616 atomic_dec(&cp->phys_disk->ioaccel_cmds_out); in complete_scsi_command()
3129 if (c->phys_disk == dev) { in hpsa_cmd_dev_match()
3142 match = dev->phys_disk[i] == c->phys_disk; in hpsa_cmd_dev_match()
3149 match = dev->phys_disk[i]->ioaccel_handle == in hpsa_cmd_dev_match()
[all …]
Dhpsa.h109 struct hpsa_scsi_dev_t *phys_disk[RAID_MAP_MAX_ENTRIES]; member
Dhpsa_cmd.h449 struct hpsa_scsi_dev_t *phys_disk; member