Lines Matching defs:error

146 #error "Maximum number of modes is 16"
161 #error "Buffer size should not exceed (2 << 24 - 1) bytes!"
443 "Recovered %s error (%d).\n",
666 error or zero if write successful. Asynchronous writes are used only in
723 "Async write error %x, return value %d.\n",
964 error code. */
1042 < 0 negative error code from errno.h
1156 (STp->buffer)->syscall_result = 0; /* Prevent error propagation */
1418 else { /* Write error */
1488 * If we are in the middle of error recovery, don't let anyone
1489 * else try and use this device. Also, if error recovery fails, it
1571 STbp->do_dio = 0; /* fall back to buffering with any error */
1850 /* Either error within data buffered by driver or
1903 eof status has changed, and the negative error code in case of a
1904 fatal error. Otherwise updates the buffer and the eof state.
2011 if (transfer == blks) { /* We did not get anything, error */
2064 DEBC_printk(STp, "Tape error while reading.\n");
2085 /* End of error handling */
3277 returns either partition number of negative error code. */
3541 * If we are in the middle of error recovery, don't let anyone
3542 * else try and use this device. Also, if error recovery fails, it
4001 negative error code. */
4033 negative error code. */
4178 int i, error;
4191 error = -ENOMEM;
4198 error = cdev_add(cdev, cdev_devno, 1);
4199 if (error) {
4214 error = PTR_ERR(dev);
4226 return error;
4231 int mode, error;
4233 error = create_one_cdev(tape, mode, 0);
4234 if (error)
4235 return error;
4236 error = create_one_cdev(tape, mode, 1);
4237 if (error)
4238 return error;
4267 int i, error;
4364 error = idr_alloc(&st_index_idr, tpnt, 0, ST_MAX_TAPES + 1, GFP_NOWAIT);
4367 if (error < 0) {
4368 pr_warn("st: idr allocation failed: %d\n", error);
4371 tpnt->index = error;
4383 error = create_cdevs(tpnt);
4384 if (error)