Home
last modified time | relevance | path

Searched refs:PT_FPR0 (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/arch/powerpc/kernel/ptrace/
Dptrace32.c34 #define FPRNUMBER(i) (((i) - PT_FPR0) >> 1)
35 #define FPRHALF(i) (((i) - PT_FPR0) & 1)
86 if (index < PT_FPR0) { in compat_arch_ptrace()
135 if (numReg >= PT_FPR0) { in compat_arch_ptrace()
138 tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace()
188 if (index < PT_FPR0) { in compat_arch_ptrace()
226 if (numReg < PT_FPR0) { in compat_arch_ptrace()
240 tmp = &child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace()
Dptrace-fpu.c12 unsigned int fpidx = index - PT_FPR0; in ptrace_get_fpr()
20 if (fpidx < (PT_FPSCR - PT_FPR0)) { in ptrace_get_fpr()
38 unsigned int fpidx = index - PT_FPR0; in ptrace_put_fpr()
46 if (fpidx < (PT_FPSCR - PT_FPR0)) { in ptrace_put_fpr()
Dptrace.c61 if (index < PT_FPR0) in arch_ptrace()
82 if (index < PT_FPR0) in arch_ptrace()
/linux-6.6.21/arch/powerpc/include/uapi/asm/
Dptrace.h120 #define PT_FPR0 48 /* each FP reg occupies 2 slots in this space */ macro
124 #define PT_FPR31 (PT_FPR0 + 2*31)
125 #define PT_FPSCR (PT_FPR0 + 2*32 + 1)
129 #define PT_FPSCR (PT_FPR0 + 32) /* each FP reg occupies 1 slot in 64-bit space */
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/
Dptrace.h465 addr = sizeof(unsigned long) * (PT_FPR0 + i); in peek_fprs()
473 addr = sizeof(unsigned long) * (PT_FPR0 + i); in peek_fprs()
490 addr = sizeof(unsigned long) * (PT_FPR0 + i); in poke_fprs()
498 addr = sizeof(unsigned long) * (PT_FPR0 + i); in poke_fprs()
/linux-6.6.21/arch/powerpc/include/asm/
Dptrace.h406 #define PT_FPSCR32 (PT_FPR0 + 2*32 + 1) /* each FP reg occupies 2 32-bit userspace slots */
/linux-6.6.21/arch/s390/include/uapi/asm/
Dptrace.h141 #define PT_FPR0 0xE0 macro