Lines Matching defs:error

5  *  SCSI error/timeout handling
74 "Waking error handler thread\n"));
80 * @shost: SCSI host to invoke error handling on.
229 * internal state once the error handler is started.
254 * scsi_eh_scmd_add - add scsi cmd to error handling.
329 * We block until the host is out of error recovery, and then check to
333 * 0 when dev was taken offline by error recovery. 1 OK to proceed.
479 * When a deferred error is detected the current command has
585 * the error handler to start the motor
703 * queued during error recovery. the main difference here is that we
715 * rats. we are already in the error handler, so we now
769 * scsi_eh_done - Completion function for error handling.
941 * scsi_eh_prep_cmnd - Save a scsi command info as part of error recovery
949 * as part of the error recovery process. If @sense_bytes is 0 the command
961 * error handling may need to overwrite these with different values
962 * to run different commands, and once error handling is complete,
1019 * scsi_eh_restore_cmnd - Restore a scsi command info as part of error recovery
1043 * scsi_send_eh_cmnd - submit a scsi command as part of error recovery
1051 * as part of the error recovery process. See also scsi_eh_prep_cmnd() above.
1191 * are ready to leave error handling we handle completion for real.
1246 * status because the error we're processing isn't one
1325 * scsi_eh_test_devices - check if devices are responding from error recovery.
1326 * @cmd_list: scsi commands in error recovery.
1327 * @work_q: queue for commands which still need more error recovery
1723 "not ready after error recovery\n");
1780 * out the actual data command. any commands that are queued for error
1783 * When this routine returns failed, it means the error handler thread
1784 * is woken. In cases where the error code indicates an error that
1785 * doesn't require the error handler read (i.e. we don't need to
1930 * returning FAILED will wake the error handler thread
1947 return SUCCESS; /* causes immediate i/o error */
1955 /* we requeue for retry because the error was retryable, and
2015 * When we entered the error handler, we blocked all further i/o to
2053 * have had everything blocked while error handling is taking place, and
2054 * now that error recovery is done, we will need to ensure that these
2145 * reasonable amount of error recovery.
2175 * scsi_error_handler - SCSI error handler thread
2179 * This is the main error handling loop. This is run as a kernel thread
2180 * for every SCSI host and handles all error handling activity.
2346 int error = 0, val;
2352 error = get_user(val, arg);
2353 if (error)
2354 return error;
2359 error = -EIO;
2412 error = (rtn == SUCCESS) ? 0 : -EIO;
2433 return error;