Home
last modified time | relevance | path

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

12

/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.c189 if (ptrace(PTRACE_GETREGS, chld, NULL, &regs) != 0) in main()
H A Dsyscall_numbering.c362 ptrace(PTRACE_GETREGS, testpid, NULL, &regs); in mess_with_syscall()
/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()
H A Dptrace-perf-hwbreak.c51 return sys_ptrace(PTRACE_GETREGS, pid, 0, (unsigned long)result); in ptrace_getregs()
/linux/arch/sh/include/uapi/asm/
H A Dptrace.h9 #define PTRACE_GETREGS 12 /* General registers */ macro
/linux/arch/x86/um/
H A Dptrace_user.c11 if (ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0) in ptrace_getregs()
/linux/arch/um/os-Linux/
H A Dregisters.c23 err = ptrace(PTRACE_GETREGS, pid, 0, exec_regs); in init_pid_registers()
/linux/arch/xtensa/include/uapi/asm/
H A Dptrace.h34 #define PTRACE_GETREGS 12 macro
/linux/arch/parisc/include/uapi/asm/
H A Dptrace.h91 #define PTRACE_GETREGS 18 macro
/linux/arch/x86/include/uapi/asm/
H A Dptrace-abi.h68 #define PTRACE_GETREGS 12 macro
/linux/arch/mips/include/uapi/asm/
H A Dptrace.h51 #define PTRACE_GETREGS 12 macro
/linux/arch/arm/include/uapi/asm/
H A Dptrace.h16 #define PTRACE_GETREGS 12 macro
/linux/arch/powerpc/include/uapi/asm/
H A Dptrace.h182 #define PTRACE_GETREGS 0xc macro
/linux/arch/sparc/include/uapi/asm/
H A Dptrace.h332 #define PTRACE_GETREGS 12 macro
/linux/arch/powerpc/kernel/ptrace/
H A Dptrace32.c267 case PTRACE_GETREGS: /* Get all pt_regs from the child. */ in compat_arch_ptrace()
H A Dptrace.c122 case PTRACE_GETREGS: /* Get all pt_regs from the child. */ in arch_ptrace()
/linux/arch/mips/kernel/
H A Dptrace32.c272 case PTRACE_GETREGS: in compat_arch_ptrace()
/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()
/linux/arch/m68k/kernel/
H A Dptrace.c227 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in arch_ptrace()
/linux/arch/x86/kernel/
H A Dptrace.c780 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in arch_ptrace()
1084 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in ia32_arch_ptrace()
1183 case PTRACE_GETREGS: /* Get all gp regs from the child. */ in x32_arch_ptrace()
/linux/arch/sh/kernel/
H A Dptrace_32.c413 case PTRACE_GETREGS: in arch_ptrace()
/linux/arch/sparc/kernel/
H A Dptrace_32.c374 case PTRACE_GETREGS: { in arch_ptrace()
/linux/arch/xtensa/kernel/
H A Dptrace.c512 case PTRACE_GETREGS: in arch_ptrace()

12