/tools/perf/arch/s390/util/ |
D | dwarf-regs.c | 32 unsigned long gpr; in regs_query_register_offset() local 38 gpr = strtoul(name + 2, NULL, 10); in regs_query_register_offset() 39 if (errno || gpr >= 16) in regs_query_register_offset() 42 return offsetof(user_pt_regs, gprs) + 8 * gpr; in regs_query_register_offset()
|
/tools/testing/selftests/powerpc/ptrace/ |
D | Makefile | 3 TM_TESTS := ptrace-tm-gpr 4 TM_TESTS += ptrace-tm-spd-gpr 21 TESTS += ptrace-gpr 38 $(OUTPUT)/ptrace-gpr: ptrace-gpr.S
|
D | .gitignore | 2 ptrace-gpr 3 ptrace-tm-gpr 4 ptrace-tm-spd-gpr
|
D | ptrace-syscall.c | 28 #define user_syscall_nr gpr[0] 29 #define user_arg0 gpr[3] 30 #define user_arg1 gpr[4] 31 #define user_arg2 gpr[5] 32 #define user_arg3 gpr[6] 33 #define user_arg4 gpr[7] 34 #define user_arg5 gpr[8]
|
D | ptrace-tm-gpr.c | 89 unsigned long gpr[18]; in trace_tm_gpr() local 93 FAIL_IF(show_gpr(child, gpr)); in trace_tm_gpr() 94 FAIL_IF(validate_gpr(gpr, GPR_2)); in trace_tm_gpr() 99 FAIL_IF(show_ckpt_gpr(child, gpr)); in trace_tm_gpr() 100 FAIL_IF(validate_gpr(gpr, GPR_1)); in trace_tm_gpr()
|
D | ptrace-tm-spd-gpr.c | 95 unsigned long gpr[18]; in trace_tm_spd_gpr() local 99 FAIL_IF(show_gpr(child, gpr)); in trace_tm_spd_gpr() 100 FAIL_IF(validate_gpr(gpr, GPR_4)); in trace_tm_spd_gpr() 105 FAIL_IF(show_ckpt_gpr(child, gpr)); in trace_tm_spd_gpr() 106 FAIL_IF(validate_gpr(gpr, GPR_1)); in trace_tm_spd_gpr()
|
D | ptrace-gpr.h | 21 int validate_gpr(unsigned long *gpr, unsigned long val) in validate_gpr() argument 26 if (gpr[i] != val) { in validate_gpr() 28 i+14, gpr[i], val); in validate_gpr()
|
D | ptrace-gpr.c | 50 unsigned long gpr[18]; in trace_gpr() local 55 FAIL_IF(show_gpr(child, gpr)); in trace_gpr() 56 FAIL_IF(validate_gpr(gpr, child_gpr_val)); in trace_gpr()
|
D | ptrace.h | 419 int show_gpr(pid_t child, unsigned long *gpr) in show_gpr() argument 436 if (gpr) { in show_gpr() 438 gpr[i-14] = regs->gpr[i]; in show_gpr() 526 regs->gpr[i] = val; in write_gpr() 536 int show_ckpt_gpr(pid_t child, unsigned long *gpr) in show_ckpt_gpr() argument 557 if (gpr) { in show_ckpt_gpr() 559 gpr[i-14] = regs->gpr[i]; in show_ckpt_gpr() 586 regs->gpr[i] = val; in write_ckpt_gpr()
|
/tools/testing/selftests/powerpc/mm/ |
D | wild_bctr.c | 91 FAIL_IF(signal_regs.gpr[i] != POISONED_REG(i)); in check_regs() 102 i, signal_regs.gpr[i], in dump_regs() 103 i+1, signal_regs.gpr[i+1], in dump_regs() 104 i+2, signal_regs.gpr[i+2], in dump_regs() 105 i+3, signal_regs.gpr[i+3]); in dump_regs()
|
/tools/perf/arch/powerpc/util/ |
D | dwarf-regs.c | 26 {.name = __stringify(%gpr##num), .dwarfnum = num, \ 27 .ptregs_offset = offsetof(struct pt_regs, gpr[num])}
|
/tools/testing/selftests/powerpc/tm/ |
D | .gitignore | 12 tm-signal-context-chk-gpr
|
D | Makefile | 2 SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
|
/tools/lib/bpf/ |
D | bpf_tracing.h | 290 #define __PT_PARM1_REG gpr[3] 291 #define __PT_PARM2_REG gpr[4] 292 #define __PT_PARM3_REG gpr[5] 293 #define __PT_PARM4_REG gpr[6] 294 #define __PT_PARM5_REG gpr[7] 295 #define __PT_PARM6_REG gpr[8] 296 #define __PT_PARM7_REG gpr[9] 297 #define __PT_PARM8_REG gpr[10] 313 #define __PT_RC_REG gpr[3]
|
/tools/arch/mips/include/uapi/asm/ |
D | kvm.h | 32 __u64 gpr[32]; member
|
/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 104 #define KVM_X86_CPU_FEATURE(fn, idx, gpr, __bit) \ argument 109 .reg = KVM_CPUID_##gpr, \ 227 #define KVM_X86_CPU_PROPERTY(fn, idx, gpr, low_bit, high_bit) \ argument 232 .reg = KVM_CPUID_##gpr, \
|
/tools/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 56 __u64 gpr[32]; member
|
/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 1782 # define SYSCALL_NUM(_regs) (_regs).gpr[0] 1783 # define SYSCALL_RET(_regs) (_regs).gpr[3]
|