/linux-6.12.1/arch/x86/entry/ |
D | entry_fred.c | 82 regs->orig_ax = regs->ax; in fred_other() 84 do_syscall_64(regs, regs->orig_ax); in fred_other() 88 regs->orig_ax = regs->ax; in fred_other() 226 unsigned long error_code = regs->orig_ax; in fred_entry_from_user() 229 regs->orig_ax = -1; in fred_entry_from_user() 258 unsigned long error_code = regs->orig_ax; in fred_entry_from_kernel() 261 regs->orig_ax = -1; in fred_entry_from_kernel()
|
D | common.c | 139 return (int)regs->orig_ax; in syscall_32_enter() 246 regs->orig_ax = regs->ax & GENMASK(31, 0); in do_int80_emulation() 310 regs->orig_ax = regs->ax & GENMASK(31, 0); in DEFINE_FREDENTRY_RAW()
|
D | entry_32.S | 1133 pushl %eax # pt_regs->orig_ax 1185 pushl %eax # orig_ax
|
/linux-6.12.1/arch/x86/kernel/ |
D | signal.c | 279 regs->ax = regs->orig_ax; in handle_signal() 322 return __NR_restart_syscall | (regs->orig_ax & __X32_SYSCALL_BIT); in get_nr_restart_syscall() 350 regs->ax = regs->orig_ax; in arch_do_signal_or_restart() 377 regs->ip, regs->sp, regs->orig_ax); in signal_fault()
|
D | process_64.c | 78 if (regs->orig_ax != -1) in __show_regs() 79 pr_cont(" ORIG_RAX: %016lx\n", regs->orig_ax); in __show_regs() 722 task_pt_regs(current)->orig_ax = __NR_execve; in set_personality_64bit() 749 task_pt_regs(current)->orig_ax = __NR_x32_execve | __X32_SYSCALL_BIT; in __set_personality_x32() 767 task_pt_regs(current)->orig_ax = __NR_ia32_execve; in __set_personality_ia32()
|
D | perf_regs.c | 172 regs_user_copy->orig_ax = user_regs->orig_ax; in perf_get_regs_user()
|
D | rethook.c | 77 regs->orig_ax = ~0UL; in arch_rethook_trampoline_callback()
|
D | asm-offsets_32.c | 35 OFFSET(PT_ORIG_EAX, pt_regs, orig_ax); in foo()
|
D | doublefault_32.c | 56 regs.orig_ax = 0; in doublefault_shim()
|
D | kgdb.c | 109 memcpy(mem, ®s->orig_ax, sizeof(regs->orig_ax)); in dbg_get_reg()
|
D | ptrace.c | 109 REG_OFFSET_NAME(orig_ax), 932 regs->orig_ax = value; in putreg32() 991 R32(orig_eax, orig_ax); in getreg32()
|
D | vm86_32.c | 307 vm86regs.pt.orig_ax = regs->orig_ax; in do_sys_vm86()
|
D | traps.c | 446 gpregs->orig_ax = 0; /* Missing (lost) #GP error code */ in DEFINE_IDTENTRY_DF() 460 regs->sp = (unsigned long)&gpregs->orig_ax; in DEFINE_IDTENTRY_DF()
|
D | signal_32.c | 105 regs->orig_ax = -1; in ia32_restore_sigcontext()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | compat.h | 80 (!!(task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT)) 86 if (task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT) in in_x32_syscall()
|
D | syscall.h | 38 return regs->orig_ax; in syscall_get_nr() 44 regs->ax = regs->orig_ax; in syscall_rollback()
|
D | user_32.h | 90 unsigned long orig_ax; member
|
D | user_64.h | 85 unsigned long orig_ax; member
|
D | ptrace.h | 47 unsigned long orig_ax; member 139 unsigned long orig_ax; member
|
D | elf.h | 133 pr_reg[11] = regs->orig_ax; \ 209 (pr_reg)[15] = (regs)->orig_ax; \
|
D | ftrace.h | 90 regs->orig_ax = addr; in __arch_ftrace_set_direct_caller()
|
/linux-6.12.1/arch/x86/mm/ |
D | extable.c | 224 struct pt_regs *uregs = (struct pt_regs *)(regs->sp - offsetof(struct pt_regs, orig_ax)); in ex_handler_eretu() 287 uregs->orig_ax = error_code; in ex_handler_eretu() 411 if (fixup_exception(regs, trapnr, regs->orig_ax, 0)) in early_fixup_exception() 431 regs->orig_ax, read_cr2()); in early_fixup_exception()
|
/linux-6.12.1/arch/x86/entry/vsyscall/ |
D | vsyscall_64.c | 214 regs->orig_ax = syscall_nr; in emulate_vsyscall() 217 if ((!tmp && regs->orig_ax != syscall_nr) || regs->ip != address) { in emulate_vsyscall() 223 regs->orig_ax = -1; in emulate_vsyscall()
|
/linux-6.12.1/arch/x86/kernel/kprobes/ |
D | opt.c | 196 regs->orig_ax = ~0UL; in optimized_callback()
|
/linux-6.12.1/arch/x86/coco/sev/ |
D | core.c | 593 ctxt->regs->orig_ax = ctxt->fi.error_code; in vc_forward_exception() 1591 ctxt->regs->orig_ax = ctxt->fi.error_code; in vc_early_forward_exception() 2167 unsigned long exit_code = regs->orig_ax; in handle_vc_boot_ghcb()
|