Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/um/os-Linux/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
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()
Dfsgsbase_restore.c190 if (ptrace(PTRACE_GETREGS, chld, NULL, &regs) != 0) in main()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
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()
Dptrace.h426 ret = ptrace(PTRACE_GETREGS, child, NULL, regs); in show_gpr()
451 ret = ptrace(PTRACE_GETREGS, child, NULL, regs); in write_gpr()
/kernel/linux/linux-5.10/arch/um/kernel/
Dptrace.c67 #ifdef PTRACE_GETREGS in arch_ptrace()
68 case PTRACE_GETREGS: { /* Get all gp regs from the child. */ in arch_ptrace()
/kernel/linux/linux-5.10/arch/sh/include/uapi/asm/
Dptrace.h9 #define PTRACE_GETREGS 12 /* General registers */ macro
/kernel/linux/linux-5.10/arch/x86/um/
Dptrace_user.c11 if (ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0) in ptrace_getregs()
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/
Dptrace.h34 #define PTRACE_GETREGS 12 macro
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
Dptrace.h91 #define PTRACE_GETREGS 18 macro
/kernel/linux/linux-5.10/arch/m68k/include/uapi/asm/
Dptrace.h70 #define PTRACE_GETREGS 12 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dptrace-abi.h66 #define PTRACE_GETREGS 12 macro
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Dptrace-abi.h68 #define PTRACE_GETREGS 12 macro
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dptrace.h51 #define PTRACE_GETREGS 12 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dptrace.h42 #define PTRACE_GETREGS 12 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm/asm/
Dptrace.h22 #define PTRACE_GETREGS 12 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm/asm/
Dptrace.h9 #define PTRACE_GETREGS 12 macro
/kernel/linux/linux-5.10/arch/arm/include/uapi/asm/
Dptrace.h16 #define PTRACE_GETREGS 12 macro
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/
Dptrace.h243 #define PTRACE_GETREGS 18 /* get all registers (pt_all_user_regs) in one shot */ macro
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/
Dptrace.h182 #define PTRACE_GETREGS 0xc macro
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/
Dptrace.h332 #define PTRACE_GETREGS 12 macro
/kernel/linux/linux-5.10/arch/um/os-Linux/skas/
Dprocess.c37 if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0) in ptrace_dump_regs()
390 if (ptrace(PTRACE_GETREGS, pid, 0, regs->gp)) { in userspace()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dptrace32.c272 case PTRACE_GETREGS: in compat_arch_ptrace()
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
Dptrace32.c269 case PTRACE_GETREGS: /* Get all pt_regs from the child. */ in compat_arch_ptrace()
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dptrace.c224 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in arch_ptrace()

12