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()
549 (STp->buffer)->syscall_result = (-EINTR); in st_do_scsi()
551 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
584 STp->buffer->syscall_result = 0; in st_do_scsi()
590 (STp->buffer)->syscall_result = (-EBUSY); in st_do_scsi()
595 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in st_do_scsi()
630 (STp->buffer)->syscall_result = st_chk_result(STp, SRpnt); in write_behind_check()
643 if (STbuffer->syscall_result) { in write_behind_check()
691 return (STp->buffer)->syscall_result; in cross_eof()
701 return (STp->buffer)->syscall_result; in cross_eof()
736 return (STp->buffer)->syscall_result; in st_flush_write_buffer()
739 if ((STp->buffer)->syscall_result != 0) { in st_flush_write_buffer()
928 retval = (STp->buffer)->syscall_result; in test_ready()
968 retval = (STp->buffer)->syscall_result; in test_ready()
1061 retval = (STp->buffer)->syscall_result; in check_tape()
1088 retval = (STp->buffer)->syscall_result; in check_tape()
1092 if ((STp->buffer)->syscall_result != 0) { in check_tape()
1095 (STp->buffer)->syscall_result = 0; /* Prevent error propagation */ in check_tape()
1245 (STp->buffer)->syscall_result = 0; in st_open()
1335 result = (STp->buffer)->syscall_result; in st_flush()
1339 if (STp->buffer->syscall_result == 0 || in st_flush()
1724 retval = STbp->syscall_result; in st_write()
1727 if (async_write && !STbp->syscall_result) { in st_write()
1736 if (STbp->syscall_result != 0) { in st_write()
1802 retval = STbp->syscall_result; in st_write()
1896 return STbp->syscall_result; in read_tape()
1902 if (STbp->syscall_result) { in read_tape()
2015 retval = STbp->syscall_result; in read_tape()
2434 return (STp->buffer)->syscall_result; in read_mode_page()
2438 return STp->buffer->syscall_result; in read_mode_page()
2468 return (STp->buffer)->syscall_result; in write_mode_page()
2472 return STp->buffer->syscall_result; in write_mode_page()
2589 return (STp->buffer)->syscall_result; in do_load_unload()
2591 retval = (STp->buffer)->syscall_result; in do_load_unload()
2904 return (STp->buffer)->syscall_result; in st_int_ioctl()
2906 ioctl_result = (STp->buffer)->syscall_result; in st_int_ioctl()
3068 return (STp->buffer)->syscall_result; in get_location()
3070 if ((STp->buffer)->syscall_result != 0 || in get_location()
3172 return (STp->buffer)->syscall_result; in set_location()
3176 if ((STp->buffer)->syscall_result != 0) { in set_location()