Lines Matching defs:hdev
678 struct hpsa_scsi_dev_t *hdev;
684 hdev = sdev->hostdata;
685 if (!hdev) {
691 if (!is_logical_device(hdev)) {
697 rlevel = hdev->raid_level;
710 struct hpsa_scsi_dev_t *hdev;
717 hdev = sdev->hostdata;
718 if (!hdev) {
722 memcpy(lunid, hdev->scsi3addr, sizeof(lunid));
732 struct hpsa_scsi_dev_t *hdev;
739 hdev = sdev->hostdata;
740 if (!hdev) {
744 memcpy(sn, hdev->device_id, sizeof(sn));
760 struct hpsa_scsi_dev_t *hdev;
767 hdev = sdev->hostdata;
768 if (!hdev || is_logical_device(hdev) || !hdev->expose_device) {
772 sas_address = hdev->sas_address;
783 struct hpsa_scsi_dev_t *hdev;
790 hdev = sdev->hostdata;
791 if (!hdev) {
795 offload_enabled = hdev->offload_enabled;
798 if (hdev->devtype == TYPE_DISK || hdev->devtype == TYPE_ZBC)
811 struct hpsa_scsi_dev_t *hdev;
824 hdev = sdev->hostdata;
825 if (!hdev) {
830 bay = hdev->bay;
833 if (i == hdev->active_path_index)
835 else if (hdev->path_map & path_map_index)
844 hdev->bus, hdev->target, hdev->lun,
845 scsi_device_type(hdev->devtype));
847 if (hdev->devtype == TYPE_RAID || is_logical_device(hdev)) {
854 box = hdev->box[i];
855 memcpy(&phys_connector, &hdev->phys_connector[i],
865 if ((hdev->devtype == TYPE_DISK || hdev->devtype == TYPE_ZBC) &&
866 hdev->expose_device) {
2178 struct hpsa_scsi_dev_t *hdev = NULL;
2180 hdev = sdev->hostdata;
2182 if (hdev)
2183 hdev->was_removed = 1;