Home
last modified time | relevance | path

Searched refs:orig_a0 (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/arch/loongarch/include/asm/
H A Dsyscall.h32 regs->regs[4] = regs->orig_a0; in syscall_rollback()
60 args[0] = regs->orig_a0; in syscall_get_arguments()
H A Dptrace.h23 unsigned long orig_a0; member
/openbmc/linux/arch/csky/include/asm/
H A Dsyscall.h29 regs->a0 = regs->orig_a0; in syscall_rollback()
57 args[0] = regs->orig_a0; in syscall_get_arguments()
/openbmc/linux/arch/loongarch/kernel/
H A Dsyscall.c52 regs->orig_a0 = regs->regs[4]; in do_syscall()
59 regs->regs[4] = syscall_fn(regs->orig_a0, regs->regs[5], regs->regs[6], in do_syscall()
H A Dptrace.c83 r = membuf_write(&to, &regs->orig_a0, sizeof(u64)); in gpr_get()
105 &regs->orig_a0, in gpr_set()
818 REG_OFFSET_NAME(orig_a0, orig_a0),
963 tmp = task_pt_regs(target)->orig_a0; in read_user()
986 task_pt_regs(target)->orig_a0 = data; in write_user()
H A Dprocess.c368 uregs[LOONGARCH_EF_ORIG_A0] = regs->orig_a0; in loongarch_dump_regs64()
H A Dsignal.c1027 regs->regs[4] = regs->orig_a0; in handle_signal()
1057 regs->regs[4] = regs->orig_a0; in arch_do_signal_or_restart()
1062 regs->regs[4] = regs->orig_a0; in arch_do_signal_or_restart()
H A Dasm-offsets.c59 OFFSET(PT_ORIG_A0, pt_regs, orig_a0); in output_ptreg_defines()
H A Dkgdb.c61 { "orig_a0", GDB_SIZEOF_REG, offsetof(struct pt_regs, orig_a0) },
/openbmc/linux/arch/riscv/include/asm/
H A Dsyscall.h36 regs->a0 = regs->orig_a0; in syscall_rollback()
64 args[0] = regs->orig_a0; in syscall_get_arguments()
H A Dptrace.h53 unsigned long orig_a0; member
67 #define MAX_REG_OFFSET offsetof(struct pt_regs, orig_a0)
H A Dsyscall_wrapper.h17 ,,regs->orig_a0,,regs->a1,,regs->a2 \
/openbmc/linux/arch/csky/kernel/
H A Dsignal.c201 regs->a0 = regs->orig_a0; in handle_signal()
233 regs->a0 = regs->orig_a0; in do_signal()
237 regs->a0 = regs->orig_a0; in do_signal()
H A Dasm-offsets.c33 DEFINE(PT_ORIG_AO, offsetof(struct pt_regs, orig_a0)); in main()
H A Dptrace.c212 REG_OFFSET_NAME(orig_a0),
487 pr_info("orig_a0: 0x%08lx\n", fp->orig_a0); in show_regs()
/openbmc/linux/arch/csky/include/uapi/asm/
H A Dptrace.h20 unsigned long orig_a0; member
/openbmc/qemu/linux-user/loongarch64/
H A Dtarget_syscall.h30 target_ulong orig_a0; member
/openbmc/linux/arch/loongarch/include/uapi/asm/
H A Dptrace.h35 unsigned long orig_a0; member
/openbmc/linux/arch/riscv/kernel/
H A Dptrace.c235 REG_OFFSET_NAME(orig_a0),
H A Dtraps.c313 regs->orig_a0 = regs->a0; in do_trap_ecall_u()
H A Dsignal.c423 regs->a0 = regs->orig_a0; in arch_do_signal_or_restart()
H A Dasm-offsets.c112 OFFSET(PT_ORIG_A0, pt_regs, orig_a0); in asm_offsets()