Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/um/os-Linux/
H A Dregisters.c18 err = ptrace(PTRACE_GETREGS, pid, 0, regs->gp); in save_registers()
43 err = ptrace(PTRACE_GETREGS, pid, 0, exec_regs); in init_pid_registers()
/openbmc/linux/tools/testing/selftests/x86/
H A Dptrace_syscall.c208 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
239 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
271 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
331 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_restart_under_ptrace()
353 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_restart_under_ptrace()
391 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_restart_under_ptrace()
H A Dfsgsbase_restore.c190 if (ptrace(PTRACE_GETREGS, chld, NULL, &regs) != 0) in main()
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-syscall.c96 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
134 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
177 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
H A Dptrace.h430 ret = ptrace(PTRACE_GETREGS, child, NULL, regs); in show_gpr()
519 ret = ptrace(PTRACE_GETREGS, child, NULL, regs); in write_gpr()
/openbmc/linux/arch/um/kernel/
H A Dptrace.c66 #ifdef PTRACE_GETREGS in arch_ptrace()
67 case PTRACE_GETREGS: { /* Get all gp regs from the child. */ in arch_ptrace()
/openbmc/linux/arch/sh/include/uapi/asm/
H A Dptrace.h9 #define PTRACE_GETREGS 12 /* General registers */ macro
/openbmc/linux/arch/x86/um/
H A Dptrace_user.c11 if (ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0) in ptrace_getregs()
/openbmc/u-boot/arch/arm/include/asm/
H A Dptrace.h4 #define PTRACE_GETREGS 12 macro
/openbmc/linux/arch/xtensa/include/uapi/asm/
H A Dptrace.h34 #define PTRACE_GETREGS 12 macro
/openbmc/linux/arch/parisc/include/uapi/asm/
H A Dptrace.h91 #define PTRACE_GETREGS 18 macro
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dptrace-abi.h68 #define PTRACE_GETREGS 12 macro
/openbmc/linux/arch/m68k/include/uapi/asm/
H A Dptrace.h70 #define PTRACE_GETREGS 12 macro
/openbmc/linux/arch/mips/include/uapi/asm/
H A Dptrace.h51 #define PTRACE_GETREGS 12 macro
/openbmc/u-boot/arch/xtensa/include/asm/
H A Dptrace.h72 #define PTRACE_GETREGS 12 macro
/openbmc/u-boot/arch/x86/include/asm/
H A Dptrace.h82 #define PTRACE_GETREGS 12 macro
/openbmc/linux/arch/arm/include/uapi/asm/
H A Dptrace.h16 #define PTRACE_GETREGS 12 macro
/openbmc/linux/arch/ia64/include/uapi/asm/
H A Dptrace.h243 #define PTRACE_GETREGS 18 /* get all registers (pt_all_user_regs) in one shot */ macro
/openbmc/linux/arch/powerpc/include/uapi/asm/
H A Dptrace.h182 #define PTRACE_GETREGS 0xc macro
/openbmc/linux/arch/sparc/include/uapi/asm/
H A Dptrace.h332 #define PTRACE_GETREGS 12 macro
/openbmc/linux/arch/um/os-Linux/skas/
H A Dprocess.c85 if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0) in ptrace_dump_regs()
434 if (ptrace(PTRACE_GETREGS, pid, 0, regs->gp)) { in userspace()
/openbmc/linux/arch/powerpc/kernel/ptrace/
H A Dptrace32.c267 case PTRACE_GETREGS: /* Get all pt_regs from the child. */ in compat_arch_ptrace()
/openbmc/linux/arch/mips/kernel/
H A Dptrace32.c272 case PTRACE_GETREGS: in compat_arch_ptrace()
/openbmc/linux/arch/parisc/kernel/
H A Dptrace.c186 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in arch_ptrace()
311 case PTRACE_GETREGS: in compat_arch_ptrace()
/openbmc/linux/arch/m68k/kernel/
H A Dptrace.c225 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in arch_ptrace()

12