/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 136 ret = ptrace(PTRACE_SETREGSET, child, type, &iov); in ptrace_write_regs() 206 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TAR, &iov); in write_tar_registers() 213 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_PPR, &iov); in write_tar_registers() 220 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_DSCR, &iov); in write_tar_registers() 297 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CTAR, &iov); in write_ckpt_tar_registers() 304 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CPPR, &iov); in write_ckpt_tar_registers() 311 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CDSCR, &iov); in write_ckpt_tar_registers() 410 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CFPR, &iov); in write_ckpt_fpr() 588 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CGPR, &iov); in write_ckpt_gpr() 648 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CVMX, &iov); in write_vmx_ckpt() [all …]
|
/linux-6.12.1/tools/testing/selftests/arm64/abi/ |
D | ptrace.c | 51 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov); in test_tpidr() 82 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov); in test_tpidr() 112 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_TLS, &write_iov); in test_tpidr()
|
/linux-6.12.1/arch/x86/um/os-Linux/ |
D | registers.c | 54 #ifdef PTRACE_SETREGSET in restore_fp_registers() 59 if (ptrace(PTRACE_SETREGSET, pid, NT_X86_XSTATE, &iov) < 0) in restore_fp_registers()
|
/linux-6.12.1/tools/testing/selftests/x86/ |
D | test_shadow_stack.c | 927 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace() 933 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace() 939 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace() 945 if (!ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace() 956 if (ptrace(PTRACE_SETREGSET, pid, NT_X86_SHSTK, &iov)) { in test_ptrace()
|
D | amx.c | 857 if (ptrace(PTRACE_SETREGSET, target, (uint32_t)NT_X86_XSTATE, &iov)) in ptracer_inject_tiledata()
|
/linux-6.12.1/tools/testing/selftests/arm64/fp/ |
D | zt-ptrace.c | 97 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZA, &iov); in set_za() 116 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZT, &iov); in set_zt()
|
D | fp-ptrace.c | 336 ret = ptrace(PTRACE_SETREGSET, child, NT_PRSTATUS, &iov); in continue_breakpoint() 998 ret = ptrace(PTRACE_SETREGSET, child, NT_PRFPREG, &iov); in fpsimd_write() 1062 ret = ptrace(PTRACE_SETREGSET, child, regset, &iov); in sve_write() 1144 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_ZA, &iov); in za_write() 1187 ret = ptrace(PTRACE_SETREGSET, child, NT_ARM_ZT, &iov); in zt_write()
|
D | sve-ptrace.c | 108 return ptrace(PTRACE_SETREGSET, pid, NT_PRFPREG, &iov); in set_fpsimd() 156 return ptrace(PTRACE_SETREGSET, pid, type->regset, &iov); in set_sve()
|
D | za-ptrace.c | 102 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZA, &iov); in set_za()
|
/linux-6.12.1/include/uapi/linux/ |
D | ptrace.h | 51 #define PTRACE_SETREGSET 0x4205 macro
|
/linux-6.12.1/tools/testing/selftests/breakpoints/ |
D | breakpoint_test_arm64.c | 98 if (ptrace(PTRACE_SETREGSET, pid, NT_ARM_HW_WATCH, &iov) == 0) in set_watchpoint()
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | protection_keys.c | 1606 ret = ptrace(PTRACE_SETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru() 1634 ret = ptrace(PTRACE_SETREGSET, child, (void *)NT_X86_XSTATE, &iov); in test_ptrace_modifies_pkru() 1712 ret = ptrace(PTRACE_SETREGSET, child, (void *)NT_ARM_POE, &iov); in test_ptrace_modifies_pkru()
|
/linux-6.12.1/Documentation/arch/arm64/ |
D | sme.rst | 275 state via PTRACE_GETREGSET and PTRACE_SETREGSET, this is documented in 279 PTRACE_GETREGSET and PTRACE_SETREGSET. 341 PTRACE_GETREGSET and PTRACE_SETREGSET.
|
D | memory-tagging-extension.rst | 220 ``PTRACE_GETREGSET`` and ``PTRACE_SETREGSET`` with ``addr ==
|
D | sve.rst | 290 PTRACE_GETREGSET and PTRACE_SETREGSET. NT_ARM_SSVE describes the
|
/linux-6.12.1/kernel/ |
D | ptrace.c | 1207 case PTRACE_SETREGSET: { in ptrace_request() 1365 case PTRACE_SETREGSET: in compat_ptrace_request()
|
/linux-6.12.1/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 1758 EXPECT_EQ(0, ptrace(PTRACE_SETREGSET, tracee, \ 1933 ptrace(PTRACE_SETREGSET, tracee, NT_PRSTATUS, &__v); \
|
/linux-6.12.1/Documentation/virt/uml/ |
D | user_mode_linux_howto_v2.rst | 1155 ptrace(PTRACE_SETREGSET, 16967, NT_X86_XSTATE, [{iov_base=0xd5f35010, iov_len=2696}]) = 0
|