Lines Matching refs:syscall_result
464 stp->buffer->syscall_result = -EINTR; in st_allocate_request()
466 stp->buffer->syscall_result = -EBUSY; in st_allocate_request()
608 (STp->buffer)->syscall_result = (-EINTR); in st_do_scsi()
610 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
643 STp->buffer->syscall_result = 0; in st_do_scsi()
649 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
654 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in st_do_scsi()
689 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in write_behind_check()
702 if (STbuffer->syscall_result) { in write_behind_check()
750 return (STp->buffer)->syscall_result; in cross_eof()
760 return (STp->buffer)->syscall_result; in cross_eof()
795 return (STp->buffer)->syscall_result; in st_flush_write_buffer()
798 if ((STp->buffer)->syscall_result != 0) { in st_flush_write_buffer()
984 retval = (STp->buffer)->syscall_result; in test_ready()
1024 retval = (STp->buffer)->syscall_result; in test_ready()
1117 retval = (STp->buffer)->syscall_result; in check_tape()
1144 retval = (STp->buffer)->syscall_result; in check_tape()
1148 if ((STp->buffer)->syscall_result != 0) { in check_tape()
1151 (STp->buffer)->syscall_result = 0; /* Prevent error propagation */ in check_tape()
1301 (STp->buffer)->syscall_result = 0; in st_open()
1391 result = (STp->buffer)->syscall_result; in st_flush()
1395 if (STp->buffer->syscall_result == 0 || in st_flush()
1779 retval = STbp->syscall_result; in st_write()
1782 if (async_write && !STbp->syscall_result) { in st_write()
1791 if (STbp->syscall_result != 0) { in st_write()
1857 retval = STbp->syscall_result; in st_write()
1951 return STbp->syscall_result; in read_tape()
1957 if (STbp->syscall_result) { in read_tape()
2073 retval = STbp->syscall_result; in read_tape()
2492 return (STp->buffer)->syscall_result; in read_mode_page()
2496 return STp->buffer->syscall_result; in read_mode_page()
2526 return (STp->buffer)->syscall_result; in write_mode_page()
2530 return STp->buffer->syscall_result; in write_mode_page()
2647 return (STp->buffer)->syscall_result; in do_load_unload()
2649 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()