Searched refs:PTRACE_GETREGSET (Results 1 - 13 of 13) sorted by relevance

/linux-master/arch/x86/um/os-Linux/
H A Dregisters.c31 #ifdef PTRACE_GETREGSET
37 if (ptrace(PTRACE_GETREGSET, pid, NT_X86_XSTATE, &iov) < 0)
128 #ifdef PTRACE_GETREGSET
138 if (ptrace(PTRACE_GETREGSET, pid, NT_X86_XSTATE, &iov) == 0)
/linux-master/tools/testing/selftests/arm64/abi/
H A Dptrace.c45 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov);
55 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov);
61 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov);
90 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS, &read_iov);
117 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_TLS,
145 ret = ptrace(PTRACE_GETREGSET, child, type, &iov);
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace.h116 ret = ptrace(PTRACE_GETREGSET, child, type, &iov);
158 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TAR, &iov);
160 perror("ptrace(PTRACE_GETREGSET) failed");
166 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_PPR, &iov);
168 perror("ptrace(PTRACE_GETREGSET) failed");
174 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_DSCR, &iov);
176 perror("ptrace(PTRACE_GETREGSET) failed");
248 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CTAR, &iov);
250 perror("ptrace(PTRACE_GETREGSET) failed");
256 ret = ptrace(PTRACE_GETREGSET, chil
[all...]
/linux-master/include/uapi/linux/
H A Dptrace.h45 * ret = ptrace(PTRACE_GETREGSET/PTRACE_SETREGSET, pid, NT_XXX_TYPE, &iov);
50 #define PTRACE_GETREGSET 0x4204 macro
/linux-master/tools/testing/selftests/arm64/fp/
H A Dzt-ptrace.c75 if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov))
106 return ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZT, &iov);
H A Dfp-ptrace.c327 ret = ptrace(PTRACE_GETREGSET, child, NT_PRSTATUS, &iov);
375 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_SVE, &iov);
452 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_SSVE, &iov);
527 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_ZA, &iov);
579 ret = ptrace(PTRACE_GETREGSET, child, NT_ARM_ZT, &iov);
599 ret = ptrace(PTRACE_GETREGSET, child, NT_PRFPREG, &iov);
H A Dza-ptrace.c80 if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov))
H A Dsve-ptrace.c99 return ptrace(PTRACE_GETREGSET, pid, NT_PRFPREG, &iov);
133 if (ptrace(PTRACE_GETREGSET, pid, type->regset, &iov))
/linux-master/tools/testing/selftests/mm/
H A Dprotection_keys.c1599 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov);
1612 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov);
1627 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov);
1640 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov);
1654 ret = ptrace(PTRACE_GETREGSET, child, (void *)NT_X86_XSTATE, &iov);
/linux-master/tools/testing/selftests/x86/
H A Damx.c871 if (ptrace(PTRACE_GETREGSET, target, (uint32_t)NT_X86_XSTATE, &iov))
872 fatal_error("PTRACE_GETREGSET");
890 if (ptrace(PTRACE_GETREGSET, target, (uint32_t)NT_X86_XSTATE, &iov))
891 fatal_error("PTRACE_GETREGSET");
H A Dtest_shadow_stack.c722 if (ptrace(PTRACE_GETREGSET, pid, NT_X86_SHSTK, &iov)) {
/linux-master/kernel/
H A Dptrace.c902 if (req == PTRACE_GETREGSET)
1206 case PTRACE_GETREGSET:
1364 case PTRACE_GETREGSET:
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c1925 ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &__v); \

Completed in 197 milliseconds