Lines Matching refs:hostt
130 if (host->hostt->eh_should_retry_cmd) in scsi_eh_should_retry_cmd()
131 return host->hostt->eh_should_retry_cmd(cmd); in scsi_eh_should_retry_cmd()
166 rtn = scsi_try_to_abort_cmd(shost->hostt, scmd); in scmd_eh_abort_handler()
234 if (!shost->hostt->eh_abort_handler) { in scsi_abort_command()
346 if (host->hostt->eh_timed_out) { in scsi_timeout()
347 switch (host->hostt->eh_timed_out(scmd)) { in scsi_timeout()
728 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up()
760 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full()
877 const struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local
882 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset()
885 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset()
888 if (!hostt->skip_settle_delay) in scsi_try_host_reset()
907 const struct scsi_host_template *hostt = host->hostt; in scsi_try_bus_reset() local
912 if (!hostt->eh_bus_reset_handler) in scsi_try_bus_reset()
915 rtn = hostt->eh_bus_reset_handler(scmd); in scsi_try_bus_reset()
918 if (!hostt->skip_settle_delay) in scsi_try_bus_reset()
949 const struct scsi_host_template *hostt = host->hostt; in scsi_try_target_reset() local
951 if (!hostt->eh_target_reset_handler) in scsi_try_target_reset()
954 rtn = hostt->eh_target_reset_handler(scmd); in scsi_try_target_reset()
978 const struct scsi_host_template *hostt = scmd->device->host->hostt; in scsi_try_bus_device_reset() local
980 if (!hostt->eh_device_reset_handler) in scsi_try_bus_device_reset()
983 rtn = hostt->eh_device_reset_handler(scmd); in scsi_try_bus_device_reset()
1007 scsi_try_to_abort_cmd(const struct scsi_host_template *hostt, struct scsi_cmnd *scmd) in scsi_try_to_abort_cmd() argument
1009 if (!hostt->eh_abort_handler) in scsi_try_to_abort_cmd()
1012 return hostt->eh_abort_handler(scmd); in scsi_try_to_abort_cmd()
1017 if (scsi_try_to_abort_cmd(scmd->device->host->hostt, scmd) != SUCCESS) in scsi_abort_eh_cmnd()
1175 rtn = shost->hostt->queuecommand(shost, scmd); in scsi_send_eh_cmnd()
2458 shost->hostt->cmd_size, GFP_KERNEL); in scsi_ioctl_reset()