Lines Matching refs:syscall_result

459 			stp->buffer->syscall_result = -EINTR;  in st_allocate_request()
461 stp->buffer->syscall_result = -EBUSY; in st_allocate_request()
603 (STp->buffer)->syscall_result = (-EINTR); in st_do_scsi()
605 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
638 STp->buffer->syscall_result = 0; in st_do_scsi()
644 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
649 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in st_do_scsi()
684 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in write_behind_check()
697 if (STbuffer->syscall_result) { in write_behind_check()
745 return (STp->buffer)->syscall_result; in cross_eof()
755 return (STp->buffer)->syscall_result; in cross_eof()
790 return (STp->buffer)->syscall_result; in st_flush_write_buffer()
793 if ((STp->buffer)->syscall_result != 0) { in st_flush_write_buffer()
979 retval = (STp->buffer)->syscall_result; in test_ready()
1019 retval = (STp->buffer)->syscall_result; in test_ready()
1112 retval = (STp->buffer)->syscall_result; in check_tape()
1139 retval = (STp->buffer)->syscall_result; in check_tape()
1143 if ((STp->buffer)->syscall_result != 0) { in check_tape()
1146 (STp->buffer)->syscall_result = 0; /* Prevent error propagation */ in check_tape()
1296 (STp->buffer)->syscall_result = 0; in st_open()
1386 result = (STp->buffer)->syscall_result; in st_flush()
1390 if (STp->buffer->syscall_result == 0 || in st_flush()
1774 retval = STbp->syscall_result; in st_write()
1777 if (async_write && !STbp->syscall_result) { in st_write()
1786 if (STbp->syscall_result != 0) { in st_write()
1852 retval = STbp->syscall_result; in st_write()
1946 return STbp->syscall_result; in read_tape()
1952 if (STbp->syscall_result) { in read_tape()
2068 retval = STbp->syscall_result; in read_tape()
2487 return (STp->buffer)->syscall_result; in read_mode_page()
2491 return STp->buffer->syscall_result; in read_mode_page()
2521 return (STp->buffer)->syscall_result; in write_mode_page()
2525 return STp->buffer->syscall_result; in write_mode_page()
2642 return (STp->buffer)->syscall_result; in do_load_unload()
2644 retval = (STp->buffer)->syscall_result; in do_load_unload()
2957 return (STp->buffer)->syscall_result; in st_int_ioctl()
2959 ioctl_result = (STp->buffer)->syscall_result; in st_int_ioctl()
3121 return (STp->buffer)->syscall_result; in get_location()
3123 if ((STp->buffer)->syscall_result != 0 || in get_location()
3225 return (STp->buffer)->syscall_result; in set_location()
3229 if ((STp->buffer)->syscall_result != 0) { in set_location()
3345 result = STp->buffer->syscall_result; in format_medium()