Home
last modified time | relevance | path

Searched refs:gpr (Results 1 – 18 of 18) sorted by relevance

/tools/perf/arch/s390/util/
Ddwarf-regs.c32 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/
DMakefile3 TM_TESTS := ptrace-tm-gpr
4 TM_TESTS += ptrace-tm-spd-gpr
21 TESTS += ptrace-gpr
38 $(OUTPUT)/ptrace-gpr: ptrace-gpr.S
D.gitignore2 ptrace-gpr
3 ptrace-tm-gpr
4 ptrace-tm-spd-gpr
Dptrace-syscall.c28 #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]
Dptrace-tm-gpr.c89 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()
Dptrace-tm-spd-gpr.c95 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()
Dptrace-gpr.h21 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()
Dptrace-gpr.c50 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()
Dptrace.h419 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/
Dwild_bctr.c91 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/
Ddwarf-regs.c26 {.name = __stringify(%gpr##num), .dwarfnum = num, \
27 .ptregs_offset = offsetof(struct pt_regs, gpr[num])}
/tools/testing/selftests/powerpc/tm/
D.gitignore12 tm-signal-context-chk-gpr
DMakefile2 SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
/tools/lib/bpf/
Dbpf_tracing.h290 #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/
Dkvm.h32 __u64 gpr[32]; member
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h104 #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/
Dkvm.h56 __u64 gpr[32]; member
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1782 # define SYSCALL_NUM(_regs) (_regs).gpr[0]
1783 # define SYSCALL_RET(_regs) (_regs).gpr[3]