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()
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()
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()
2069 retval = STbp->syscall_result; in read_tape()
2488 return (STp->buffer)->syscall_result; in read_mode_page()
2492 return STp->buffer->syscall_result; in read_mode_page()
2522 return (STp->buffer)->syscall_result; in write_mode_page()
2526 return STp->buffer->syscall_result; in write_mode_page()
2643 return (STp->buffer)->syscall_result; in do_load_unload()
2645 retval = (STp->buffer)->syscall_result; in do_load_unload()
2958 return (STp->buffer)->syscall_result; in st_int_ioctl()
2960 ioctl_result = (STp->buffer)->syscall_result; in st_int_ioctl()
3122 return (STp->buffer)->syscall_result; in get_location()
3124 if ((STp->buffer)->syscall_result != 0 || in get_location()
3226 return (STp->buffer)->syscall_result; in set_location()
3230 if ((STp->buffer)->syscall_result != 0) { in set_location()