Home
last modified time | relevance | path

Searched refs:orig_ax (Results 1 – 25 of 25) sorted by relevance

/linux-6.3-rc2/arch/x86/kernel/
A Dsignal.c248 regs->ax = regs->orig_ax; in handle_signal()
291 return __NR_restart_syscall | (regs->orig_ax & __X32_SYSCALL_BIT); in get_nr_restart_syscall()
319 regs->ax = regs->orig_ax; in arch_do_signal_or_restart()
346 regs->ip, regs->sp, regs->orig_ax); in signal_fault()
A Dprocess_64.c76 if (regs->orig_ax != -1) in __show_regs()
77 pr_cont(" ORIG_RAX: %016lx\n", regs->orig_ax); in __show_regs()
671 task_pt_regs(current)->orig_ax = __NR_execve; in set_personality_64bit()
698 task_pt_regs(current)->orig_ax = __NR_x32_execve | __X32_SYSCALL_BIT; in __set_personality_x32()
716 task_pt_regs(current)->orig_ax = __NR_ia32_execve; in __set_personality_ia32()
A Dperf_regs.c172 regs_user_copy->orig_ax = user_regs->orig_ax; in perf_get_regs_user()
A Drethook.c77 regs->orig_ax = ~0UL; in arch_rethook_trampoline_callback()
A Dasm-offsets_32.c35 OFFSET(PT_ORIG_EAX, pt_regs, orig_ax); in foo()
A Ddoublefault_32.c55 regs.orig_ax = 0; in doublefault_shim()
A Dkgdb.c109 memcpy(mem, &regs->orig_ax, sizeof(regs->orig_ax)); in dbg_get_reg()
A Dptrace.c108 REG_OFFSET_NAME(orig_ax),
931 regs->orig_ax = value; in putreg32()
990 R32(orig_eax, orig_ax); in getreg32()
A Dtraps.c482 gpregs->orig_ax = 0; /* Missing (lost) #GP error code */ in DEFINE_IDTENTRY_DF()
496 regs->sp = (unsigned long)&gpregs->orig_ax; in DEFINE_IDTENTRY_DF()
A Dvm86_32.c307 vm86regs.pt.orig_ax = regs->orig_ax; in do_sys_vm86()
A Dsev.c1418 ctxt->regs->orig_ax = ctxt->fi.error_code; in vc_early_forward_exception()
1822 ctxt->regs->orig_ax = ctxt->fi.error_code; in vc_forward_exception()
2009 unsigned long exit_code = regs->orig_ax; in handle_vc_boot_ghcb()
A Dsignal_32.c105 regs->orig_ax = -1; in ia32_restore_sigcontext()
A Dsignal_64.c86 regs->orig_ax = -1; in restore_sigcontext()
/linux-6.3-rc2/arch/x86/include/asm/
A Dcompat.h80 (!!(task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT))
86 if (task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT) in in_x32_syscall()
A Dsyscall.h40 return regs->orig_ax; in syscall_get_nr()
46 regs->ax = regs->orig_ax; in syscall_rollback()
A Duser_32.h90 unsigned long orig_ax; member
A Duser_64.h85 unsigned long orig_ax; member
A Dptrace.h47 unsigned long orig_ax; member
84 unsigned long orig_ax; member
A Delf.h132 pr_reg[11] = regs->orig_ax; \
208 (pr_reg)[15] = (regs)->orig_ax; \
A Dftrace.h90 regs->orig_ax = addr; in __arch_ftrace_set_direct_caller()
/linux-6.3-rc2/arch/x86/entry/vsyscall/
A Dvsyscall_64.c223 regs->orig_ax = syscall_nr; in emulate_vsyscall()
226 if ((!tmp && regs->orig_ax != syscall_nr) || regs->ip != address) { in emulate_vsyscall()
232 regs->orig_ax = -1; in emulate_vsyscall()
/linux-6.3-rc2/arch/x86/mm/
A Dextable.c314 if (fixup_exception(regs, trapnr, regs->orig_ax, 0)) in early_fixup_exception()
334 regs->orig_ax, read_cr2()); in early_fixup_exception()
/linux-6.3-rc2/arch/x86/entry/
A Dcommon.c96 return (int)regs->orig_ax; in syscall_32_enter()
A Dentry_32.S1161 pushl %eax # pt_regs->orig_ax
1212 pushl %eax # orig_ax
/linux-6.3-rc2/arch/x86/kernel/kprobes/
A Dopt.c196 regs->orig_ax = ~0UL; in optimized_callback()

Completed in 40 milliseconds