Lines Matching refs:hostt
136 rtn = scsi_try_to_abort_cmd(sdev->host->hostt, scmd); in scmd_eh_abort_handler()
287 if (host->hostt->eh_timed_out) in scsi_times_out()
288 rtn = host->hostt->eh_timed_out(scmd); in scsi_times_out()
612 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up()
644 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full()
759 struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local
764 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset()
767 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset()
770 if (!hostt->skip_settle_delay) in scsi_try_host_reset()
789 struct scsi_host_template *hostt = host->hostt; in scsi_try_bus_reset() local
794 if (!hostt->eh_bus_reset_handler) in scsi_try_bus_reset()
797 rtn = hostt->eh_bus_reset_handler(scmd); in scsi_try_bus_reset()
800 if (!hostt->skip_settle_delay) in scsi_try_bus_reset()
831 struct scsi_host_template *hostt = host->hostt; in scsi_try_target_reset() local
833 if (!hostt->eh_target_reset_handler) in scsi_try_target_reset()
836 rtn = hostt->eh_target_reset_handler(scmd); in scsi_try_target_reset()
860 struct scsi_host_template *hostt = scmd->device->host->hostt; in scsi_try_bus_device_reset() local
862 if (!hostt->eh_device_reset_handler) in scsi_try_bus_device_reset()
865 rtn = hostt->eh_device_reset_handler(scmd); in scsi_try_bus_device_reset()
888 static int scsi_try_to_abort_cmd(struct scsi_host_template *hostt, in scsi_try_to_abort_cmd() argument
891 if (!hostt->eh_abort_handler) in scsi_try_to_abort_cmd()
894 return hostt->eh_abort_handler(scmd); in scsi_try_to_abort_cmd()
899 if (scsi_try_to_abort_cmd(scmd->device->host->hostt, scmd) != SUCCESS) in scsi_abort_eh_cmnd()
1042 rtn = shost->hostt->queuecommand(shost, scmd); in scsi_send_eh_cmnd()
2304 shost->hostt->cmd_size, GFP_KERNEL); in scsi_ioctl_reset()