Lines Matching refs:syscall_result
461 stp->buffer->syscall_result = -EINTR; in st_allocate_request()
463 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()
985 retval = (STp->buffer)->syscall_result; in test_ready()
1028 retval = (STp->buffer)->syscall_result; in test_ready()
1126 retval = (STp->buffer)->syscall_result; in check_tape()
1153 retval = (STp->buffer)->syscall_result; in check_tape()
1157 if ((STp->buffer)->syscall_result != 0) { in check_tape()
1160 (STp->buffer)->syscall_result = 0; /* Prevent error propagation */ in check_tape()
1310 (STp->buffer)->syscall_result = 0; in st_open()
1400 result = (STp->buffer)->syscall_result; in st_flush()
1404 if (STp->buffer->syscall_result == 0 || in st_flush()
1788 retval = STbp->syscall_result; in st_write()
1791 if (async_write && !STbp->syscall_result) { in st_write()
1800 if (STbp->syscall_result != 0) { in st_write()
1866 retval = STbp->syscall_result; in st_write()
1960 return STbp->syscall_result; in read_tape()
1966 if (STbp->syscall_result) { in read_tape()
2082 retval = STbp->syscall_result; in read_tape()
2501 return (STp->buffer)->syscall_result; in read_mode_page()
2505 return STp->buffer->syscall_result; in read_mode_page()
2535 return (STp->buffer)->syscall_result; in write_mode_page()
2539 return STp->buffer->syscall_result; in write_mode_page()
2656 return (STp->buffer)->syscall_result; in do_load_unload()
2658 retval = (STp->buffer)->syscall_result; in do_load_unload()
2971 return (STp->buffer)->syscall_result; in st_int_ioctl()
2973 ioctl_result = (STp->buffer)->syscall_result; in st_int_ioctl()
3135 return (STp->buffer)->syscall_result; in get_location()
3137 if ((STp->buffer)->syscall_result != 0 || in get_location()
3239 return (STp->buffer)->syscall_result; in set_location()
3243 if ((STp->buffer)->syscall_result != 0) { in set_location()
3359 result = STp->buffer->syscall_result; in format_medium()