Lines Matching refs:syscall_result
462 stp->buffer->syscall_result = -EINTR; in st_allocate_request()
464 stp->buffer->syscall_result = -EBUSY; in st_allocate_request()
609 (STp->buffer)->syscall_result = (-EINTR); in st_do_scsi()
611 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
644 STp->buffer->syscall_result = 0; in st_do_scsi()
650 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
655 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in st_do_scsi()
690 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in write_behind_check()
703 if (STbuffer->syscall_result) { in write_behind_check()
751 return (STp->buffer)->syscall_result; in cross_eof()
761 return (STp->buffer)->syscall_result; in cross_eof()
796 return (STp->buffer)->syscall_result; in st_flush_write_buffer()
799 if ((STp->buffer)->syscall_result != 0) { in st_flush_write_buffer()
985 retval = (STp->buffer)->syscall_result; in test_ready()
1025 retval = (STp->buffer)->syscall_result; in test_ready()
1118 retval = (STp->buffer)->syscall_result; in check_tape()
1145 retval = (STp->buffer)->syscall_result; in check_tape()
1149 if ((STp->buffer)->syscall_result != 0) { in check_tape()
1152 (STp->buffer)->syscall_result = 0; /* Prevent error propagation */ in check_tape()
1302 (STp->buffer)->syscall_result = 0; in st_open()
1392 result = (STp->buffer)->syscall_result; in st_flush()
1396 if (STp->buffer->syscall_result == 0 || in st_flush()
1780 retval = STbp->syscall_result; in st_write()
1783 if (async_write && !STbp->syscall_result) { in st_write()
1792 if (STbp->syscall_result != 0) { in st_write()
1858 retval = STbp->syscall_result; in st_write()
1952 return STbp->syscall_result; in read_tape()
1958 if (STbp->syscall_result) { in read_tape()
2074 retval = STbp->syscall_result; in read_tape()
2493 return (STp->buffer)->syscall_result; in read_mode_page()
2497 return STp->buffer->syscall_result; in read_mode_page()
2527 return (STp->buffer)->syscall_result; in write_mode_page()
2531 return STp->buffer->syscall_result; in write_mode_page()
2648 return (STp->buffer)->syscall_result; in do_load_unload()
2650 retval = (STp->buffer)->syscall_result; in do_load_unload()
2963 return (STp->buffer)->syscall_result; in st_int_ioctl()
2965 ioctl_result = (STp->buffer)->syscall_result; in st_int_ioctl()
3127 return (STp->buffer)->syscall_result; in get_location()
3129 if ((STp->buffer)->syscall_result != 0 || in get_location()
3231 return (STp->buffer)->syscall_result; in set_location()
3235 if ((STp->buffer)->syscall_result != 0) { in set_location()
3351 result = STp->buffer->syscall_result; in format_medium()