Lines Matching defs:error
1372 * of error.
1393 * If the device is in error recovery, wait until it is done.
1448 * Note: may block (uninterruptible) if error recovery is underway
1502 * success as well). Returns a negated errno value in case of error.
1514 int error;
1523 * If we are in the middle of error recovery, don't let anyone
1524 * else try and use this device. Also, if error recovery fails, it
1528 error = scsi_ioctl_block_when_processing_errors(sdp, cmd,
1530 if (error)
1531 return error;
1687 /* we need to evaluate the error return */
1691 /* this is no error here */
1993 * sd_eh_reset - reset error handling callback
2013 * sd_eh_action - error handling callback
2018 * error test command (currently TEST UNIT READY). The result of sending
2037 * However, the TEST UNIT READY command sent during error
2087 * the error is.
2183 * error.
2287 * with a status error */
2441 #error RC16_LEN must not be more than SD_BUF_SIZE
3636 * (e.g. scanner)); 1 when there is an error.
3653 int error;
3656 error = -ENODEV;
3672 error = -ENOMEM;
3688 error = sd_format_disk_name("sd", index, gd->disk_name, DISK_NAME_LEN);
3689 if (error) {
3714 error = device_add(&sdkp->disk_dev);
3715 if (error) {
3755 error = device_add_disk(dev, gd, NULL);
3756 if (error) {
3782 return error;
3855 /* SCSI error codes must not go to the generic layer */
3920 /* an error is not worth aborting a system sleep */