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()
606 (STp->buffer)->syscall_result = (-EINTR); in st_do_scsi()
608 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
641 STp->buffer->syscall_result = 0; in st_do_scsi()
647 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
652 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in st_do_scsi()
687 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in write_behind_check()
700 if (STbuffer->syscall_result) { in write_behind_check()
748 return (STp->buffer)->syscall_result; in cross_eof()
758 return (STp->buffer)->syscall_result; in cross_eof()
793 return (STp->buffer)->syscall_result; in st_flush_write_buffer()
796 if ((STp->buffer)->syscall_result != 0) { in st_flush_write_buffer()
982 retval = (STp->buffer)->syscall_result; in test_ready()
1022 retval = (STp->buffer)->syscall_result; in test_ready()
1115 retval = (STp->buffer)->syscall_result; in check_tape()
1142 retval = (STp->buffer)->syscall_result; in check_tape()
1146 if ((STp->buffer)->syscall_result != 0) { in check_tape()
1149 (STp->buffer)->syscall_result = 0; /* Prevent error propagation */ in check_tape()
1299 (STp->buffer)->syscall_result = 0; in st_open()
1389 result = (STp->buffer)->syscall_result; in st_flush()
1393 if (STp->buffer->syscall_result == 0 || in st_flush()
1778 retval = STbp->syscall_result; in st_write()
1781 if (async_write && !STbp->syscall_result) { in st_write()
1790 if (STbp->syscall_result != 0) { in st_write()
1856 retval = STbp->syscall_result; in st_write()
1950 return STbp->syscall_result; in read_tape()
1956 if (STbp->syscall_result) { in read_tape()
2072 retval = STbp->syscall_result; in read_tape()
2491 return (STp->buffer)->syscall_result; in read_mode_page()
2495 return STp->buffer->syscall_result; in read_mode_page()
2525 return (STp->buffer)->syscall_result; in write_mode_page()
2529 return STp->buffer->syscall_result; in write_mode_page()
2646 return (STp->buffer)->syscall_result; in do_load_unload()
2648 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()