Lines Matching defs:error
106 result = 0; /* This is no longer considered an error */
155 * any copy_to_user() error on failure there
495 * accommodate the sense buffer when an error occurs.
498 * - If a Unix error occurs (e.g. ENOMEM) then the user will receive
499 * a negative return and the Unix error code in 'errno'.
501 * Positive numbers returned are the compacted SCSI error codes (4
551 goto error;
554 goto error;
558 goto error;
590 goto error;
608 error:
839 int error;
841 error = get_sg_io_hdr(&hdr, argp);
842 if (error)
843 return error;
844 error = sg_io(sdev, &hdr, open_for_write);
845 if (error == -EFAULT)
846 return error;
849 return error;