Lines Matching refs:syscall_result

472 			stp->buffer->syscall_result = -EINTR;  in st_allocate_request()
474 stp->buffer->syscall_result = -EBUSY; in st_allocate_request()
619 (STp->buffer)->syscall_result = (-EINTR); in st_do_scsi()
621 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
654 STp->buffer->syscall_result = 0; in st_do_scsi()
660 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
665 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in st_do_scsi()
700 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in write_behind_check()
713 if (STbuffer->syscall_result) { in write_behind_check()
761 return (STp->buffer)->syscall_result; in cross_eof()
771 return (STp->buffer)->syscall_result; in cross_eof()
806 return (STp->buffer)->syscall_result; in st_flush_write_buffer()
809 if ((STp->buffer)->syscall_result != 0) { in st_flush_write_buffer()
996 retval = (STp->buffer)->syscall_result; in test_ready()
1046 retval = (STp->buffer)->syscall_result; in test_ready()
1144 retval = (STp->buffer)->syscall_result; in check_tape()
1171 retval = (STp->buffer)->syscall_result; in check_tape()
1175 if ((STp->buffer)->syscall_result != 0) { in check_tape()
1178 (STp->buffer)->syscall_result = 0; /* Prevent error propagation */ in check_tape()
1328 (STp->buffer)->syscall_result = 0; in st_open()
1418 result = (STp->buffer)->syscall_result; in st_flush()
1422 if (STp->buffer->syscall_result == 0 || in st_flush()
1806 retval = STbp->syscall_result; in st_write()
1809 if (async_write && !STbp->syscall_result) { in st_write()
1818 if (STbp->syscall_result != 0) { in st_write()
1884 retval = STbp->syscall_result; in st_write()
1978 return STbp->syscall_result; in read_tape()
1984 if (STbp->syscall_result) { in read_tape()
2100 retval = STbp->syscall_result; in read_tape()
2519 return (STp->buffer)->syscall_result; in read_mode_page()
2523 return STp->buffer->syscall_result; in read_mode_page()
2553 return (STp->buffer)->syscall_result; in write_mode_page()
2557 return STp->buffer->syscall_result; in write_mode_page()
2674 return (STp->buffer)->syscall_result; in do_load_unload()
2676 retval = (STp->buffer)->syscall_result; in do_load_unload()
2991 return (STp->buffer)->syscall_result; in st_int_ioctl()
2993 ioctl_result = (STp->buffer)->syscall_result; in st_int_ioctl()
3157 return (STp->buffer)->syscall_result; in get_location()
3159 if ((STp->buffer)->syscall_result != 0 || in get_location()
3261 return (STp->buffer)->syscall_result; in set_location()
3265 if ((STp->buffer)->syscall_result != 0) { in set_location()
3381 result = STp->buffer->syscall_result; in format_medium()