Lines Matching refs:u_error
466 print_err_ret(kernel_ulong_t ret, unsigned long u_error) in print_err_ret() argument
468 const char *u_error_str = err_name(u_error); in print_err_ret()
472 ret, u_error_str, strerror(u_error)); in print_err_ret()
474 tprintf("= %" PRI_kld " (errno %lu)", ret, u_error); in print_err_ret()
560 tcp->u_rval, tcp->u_error); in tamper_with_syscall_exiting()
577 tcp->u_error = 0; in tamper_with_syscall_exiting()
582 if (new_error != tcp->u_error && new_error <= MAX_ERRNO_VALUE) { in tamper_with_syscall_exiting()
583 unsigned long u_error = tcp->u_error; in tamper_with_syscall_exiting() local
585 tcp->u_error = new_error; in tamper_with_syscall_exiting()
587 tcp->u_error = u_error; in tamper_with_syscall_exiting()
595 tcp->u_error = 0; in tamper_with_syscall_exiting()
797 if (not_failing_only && tcp->u_error) in syscall_exiting_trace()
809 if (tcp->u_error) in syscall_exiting_trace()
810 print_err_ret(tcp->u_rval, tcp->u_error); in syscall_exiting_trace()
816 } else if (!(sys_res & RVAL_NONE) && tcp->u_error) { in syscall_exiting_trace()
817 switch (tcp->u_error) { in syscall_exiting_trace()
872 print_err_ret(tcp->u_rval, tcp->u_error); in syscall_exiting_trace()
954 switch (tcp->u_error) { in is_erestart()
970 saved_u_error = tcp->u_error; in temporarily_clear_syserror()
971 tcp->u_error = 0; in temporarily_clear_syserror()
977 tcp->u_error = saved_u_error; in restore_cleared_syserror()
1260 tcp->u_error = 0; in get_syscall_result()