Lines Matching refs:SUCCESS
167 if (rtn != SUCCESS) { in scmd_eh_abort_handler()
261 return SUCCESS; in scsi_abort_command()
365 if (scsi_abort_command(scmd) != SUCCESS) { in scsi_timeout()
569 return SUCCESS; in scsi_check_sense()
578 return SUCCESS; in scsi_check_sense()
588 return SUCCESS; in scsi_check_sense()
593 return SUCCESS; in scsi_check_sense()
595 return /* soft_error */ SUCCESS; in scsi_check_sense()
599 return SUCCESS; in scsi_check_sense()
614 return SUCCESS; in scsi_check_sense()
669 return SUCCESS; in scsi_check_sense()
676 return SUCCESS; in scsi_check_sense()
684 return SUCCESS; in scsi_check_sense()
691 return SUCCESS; in scsi_check_sense()
711 return SUCCESS; in scsi_check_sense()
719 return SUCCESS; in scsi_check_sense()
722 return SUCCESS; in scsi_check_sense()
825 return SUCCESS; in scsi_eh_completed_normally()
834 return SUCCESS; in scsi_eh_completed_normally()
839 return SUCCESS; in scsi_eh_completed_normally()
888 if (rtn == SUCCESS) { in scsi_try_host_reset()
918 if (rtn == SUCCESS) { in scsi_try_bus_reset()
956 if (rtn == SUCCESS) { in scsi_try_target_reset()
985 if (rtn == SUCCESS) in scsi_try_bus_device_reset()
1018 if (scsi_try_to_abort_cmd(scmd->device->host->hostt, scmd) != SUCCESS) in scsi_abort_eh_cmnd()
1019 if (scsi_try_bus_device_reset(scmd) != SUCCESS) in scsi_abort_eh_cmnd()
1020 if (scsi_try_target_reset(scmd) != SUCCESS) in scsi_abort_eh_cmnd()
1021 if (scsi_try_bus_reset(scmd) != SUCCESS) in scsi_abort_eh_cmnd()
1194 rtn = SUCCESS; in scsi_send_eh_cmnd()
1220 case SUCCESS: in scsi_send_eh_cmnd()
1341 if (rtn != SUCCESS) in scsi_eh_get_sense()
1354 if (rtn == SUCCESS) in scsi_eh_get_sense()
1402 case SUCCESS: in scsi_eh_tur()
1455 scsi_eh_action(scmd, SUCCESS) == SUCCESS)) in scsi_eh_test_devices()
1483 if (rtn == SUCCESS) in scsi_eh_try_stu()
1538 scsi_eh_action(scmd, SUCCESS) == SUCCESS) in scsi_eh_stu()
1597 if (rtn == SUCCESS || rtn == FAST_IO_FAIL) { in scsi_eh_bus_device_reset()
1661 if (rtn != SUCCESS && rtn != FAST_IO_FAIL) in scsi_eh_target_reset()
1671 if (rtn == SUCCESS) in scsi_eh_target_reset()
1735 if (rtn == SUCCESS || rtn == FAST_IO_FAIL) { in scsi_eh_bus_reset()
1780 if (rtn == SUCCESS) { in scsi_eh_host_reset()
1889 return SUCCESS; in scsi_decide_disposition()
1904 return SUCCESS; in scsi_decide_disposition()
1913 return SUCCESS; in scsi_decide_disposition()
1923 return SUCCESS; in scsi_decide_disposition()
1950 return SUCCESS; in scsi_decide_disposition()
1956 return SUCCESS; in scsi_decide_disposition()
1976 return SUCCESS; in scsi_decide_disposition()
1981 return SUCCESS; in scsi_decide_disposition()
2019 return SUCCESS; in scsi_decide_disposition()
2038 return SUCCESS; in scsi_decide_disposition()
2044 return SUCCESS; /* causes immediate i/o error */ in scsi_decide_disposition()
2060 return SUCCESS; in scsi_decide_disposition()
2481 rtn = SUCCESS; in scsi_ioctl_reset()
2485 if (rtn == SUCCESS || (val & SG_SCSI_RESET_NO_ESCALATE)) in scsi_ioctl_reset()
2490 if (rtn == SUCCESS || (val & SG_SCSI_RESET_NO_ESCALATE)) in scsi_ioctl_reset()
2495 if (rtn == SUCCESS || (val & SG_SCSI_RESET_NO_ESCALATE)) in scsi_ioctl_reset()
2500 if (rtn == SUCCESS) in scsi_ioctl_reset()
2508 error = (rtn == SUCCESS) ? 0 : -EIO; in scsi_ioctl_reset()