Lines Matching refs:syscall_result
460 stp->buffer->syscall_result = -EINTR; in st_allocate_request()
462 stp->buffer->syscall_result = -EBUSY; in st_allocate_request()
604 (STp->buffer)->syscall_result = (-EINTR); in st_do_scsi()
606 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
639 STp->buffer->syscall_result = 0; in st_do_scsi()
645 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
650 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in st_do_scsi()
685 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in write_behind_check()
698 if (STbuffer->syscall_result) { in write_behind_check()
746 return (STp->buffer)->syscall_result; in cross_eof()
756 return (STp->buffer)->syscall_result; in cross_eof()
791 return (STp->buffer)->syscall_result; in st_flush_write_buffer()
794 if ((STp->buffer)->syscall_result != 0) { in st_flush_write_buffer()
980 retval = (STp->buffer)->syscall_result; in test_ready()
1020 retval = (STp->buffer)->syscall_result; in test_ready()
1113 retval = (STp->buffer)->syscall_result; in check_tape()
1140 retval = (STp->buffer)->syscall_result; in check_tape()
1144 if ((STp->buffer)->syscall_result != 0) { in check_tape()
1147 (STp->buffer)->syscall_result = 0; /* Prevent error propagation */ in check_tape()
1297 (STp->buffer)->syscall_result = 0; in st_open()
1387 result = (STp->buffer)->syscall_result; in st_flush()
1391 if (STp->buffer->syscall_result == 0 || in st_flush()
1776 retval = STbp->syscall_result; in st_write()
1779 if (async_write && !STbp->syscall_result) { in st_write()
1788 if (STbp->syscall_result != 0) { in st_write()
1854 retval = STbp->syscall_result; in st_write()
1948 return STbp->syscall_result; in read_tape()
1954 if (STbp->syscall_result) { in read_tape()
2070 retval = STbp->syscall_result; in read_tape()
2489 return (STp->buffer)->syscall_result; in read_mode_page()
2493 return STp->buffer->syscall_result; in read_mode_page()
2523 return (STp->buffer)->syscall_result; in write_mode_page()
2527 return STp->buffer->syscall_result; in write_mode_page()
2644 return (STp->buffer)->syscall_result; in do_load_unload()
2646 retval = (STp->buffer)->syscall_result; in do_load_unload()
2959 return (STp->buffer)->syscall_result; in st_int_ioctl()
2961 ioctl_result = (STp->buffer)->syscall_result; in st_int_ioctl()
3123 return (STp->buffer)->syscall_result; in get_location()
3125 if ((STp->buffer)->syscall_result != 0 || in get_location()
3227 return (STp->buffer)->syscall_result; in set_location()
3231 if ((STp->buffer)->syscall_result != 0) { in set_location()
3347 result = STp->buffer->syscall_result; in format_medium()