Home
last modified time | relevance | path

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

/linux/arch/x86/entry/
H A Dentry_fred.c82 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()
240 unsigned long error_code = regs->orig_ax; in fred_entry_from_user()
243 regs->orig_ax = -1; in fred_entry_from_user()
272 unsigned long error_code = regs->orig_ax; in fred_entry_from_kernel()
275 regs->orig_ax = -1; in fred_entry_from_kernel()
/linux/arch/x86/include/asm/
H A Dsyscall.h38 return regs->orig_ax; in syscall_get_nr()
45 regs->orig_ax = nr; in syscall_set_nr()
51 regs->ax = regs->orig_ax; in syscall_rollback()
H 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()
H A Duser_32.h90 unsigned long orig_ax; member
H A Duser_64.h85 unsigned long orig_ax; member
/linux/arch/x86/mm/
H A Dextable.c223 struct pt_regs *uregs = (struct pt_regs *)(regs->sp - offsetof(struct pt_regs, orig_ax)); in ex_handler_eretu()
286 uregs->orig_ax = error_code; in ex_handler_eretu()
410 if (fixup_exception(regs, trapnr, regs->orig_ax, 0)) in early_fixup_exception()
427 regs->orig_ax, read_cr2()); in early_fixup_exception()
/linux/arch/x86/kernel/
H A Dperf_regs.c172 regs_user_copy->orig_ax = user_regs->orig_ax; in perf_get_regs_user()
H A Drethook.c77 regs->orig_ax = ~0UL; in arch_rethook_trampoline_callback()
H A Ddoublefault_32.c56 regs.orig_ax = 0; in doublefault_shim()
H A Dkgdb.c109 memcpy(mem, &regs->orig_ax, sizeof(regs->orig_ax)); in dbg_get_reg()
H A Dptrace.c109 REG_OFFSET_NAME(orig_ax),
932 regs->orig_ax = value; in putreg32()
991 R32(orig_eax, orig_ax); in getreg32()
H A Dvm86_32.c306 vm86regs.pt.orig_ax = regs->orig_ax; in do_sys_vm86()
H A Dtraps.c642 gpregs->orig_ax = 0; /* Missing (lost) #GP error code */ in DEFINE_IDTENTRY_DF()
656 regs->sp = (unsigned long)&gpregs->orig_ax; in DEFINE_IDTENTRY_DF()
H A Duprobes.c397 regs->orig_ax = -1; in SYSCALL_DEFINE0()
831 regs->orig_ax = -1; in SYSCALL_DEFINE0()
H A Dsignal_64.c86 regs->orig_ax = -1; in restore_sigcontext()