Lines Matching defs:hdev
679 struct hpsa_scsi_dev_t *hdev;
685 hdev = sdev->hostdata;
686 if (!hdev) {
692 if (!is_logical_device(hdev)) {
698 rlevel = hdev->raid_level;
711 struct hpsa_scsi_dev_t *hdev;
718 hdev = sdev->hostdata;
719 if (!hdev) {
723 memcpy(lunid, hdev->scsi3addr, sizeof(lunid));
733 struct hpsa_scsi_dev_t *hdev;
740 hdev = sdev->hostdata;
741 if (!hdev) {
745 memcpy(sn, hdev->device_id, sizeof(sn));
761 struct hpsa_scsi_dev_t *hdev;
768 hdev = sdev->hostdata;
769 if (!hdev || is_logical_device(hdev) || !hdev->expose_device) {
773 sas_address = hdev->sas_address;
784 struct hpsa_scsi_dev_t *hdev;
791 hdev = sdev->hostdata;
792 if (!hdev) {
796 offload_enabled = hdev->offload_enabled;
799 if (hdev->devtype == TYPE_DISK || hdev->devtype == TYPE_ZBC)
812 struct hpsa_scsi_dev_t *hdev;
825 hdev = sdev->hostdata;
826 if (!hdev) {
831 bay = hdev->bay;
834 if (i == hdev->active_path_index)
836 else if (hdev->path_map & path_map_index)
845 hdev->bus, hdev->target, hdev->lun,
846 scsi_device_type(hdev->devtype));
848 if (hdev->devtype == TYPE_RAID || is_logical_device(hdev)) {
855 box = hdev->box[i];
856 memcpy(&phys_connector, &hdev->phys_connector[i],
866 if ((hdev->devtype == TYPE_DISK || hdev->devtype == TYPE_ZBC) &&
867 hdev->expose_device) {
2172 struct hpsa_scsi_dev_t *hdev = NULL;
2174 hdev = sdev->hostdata;
2176 if (hdev)
2177 hdev->was_removed = 1;