Searched refs:u_debugreg (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/tools/perf/arch/x86/tests/ |
D | bp-modify.c | 82 offsetof(struct user, u_debugreg[0]), bp_2)) { in bp_modify1() 89 offsetof(struct user, u_debugreg[0]), bp_1)) { in bp_modify1() 96 offsetof(struct user, u_debugreg[7]), dr7)) { in bp_modify1() 159 offsetof(struct user, u_debugreg[0]), bp_1)) { in bp_modify2() 166 offsetof(struct user, u_debugreg[7]), dr7)) { in bp_modify2() 172 offsetof(struct user, u_debugreg[0]), (unsigned long) (-1))) { in bp_modify2()
|
/linux-5.19.10/arch/x86/um/ |
D | ptrace_64.c | 118 else if ((addr >= offsetof(struct user, u_debugreg[0])) && in poke_user() 119 (addr <= offsetof(struct user, u_debugreg[7]))) { in poke_user() 120 addr -= offsetof(struct user, u_debugreg[0]); in poke_user() 182 else if ((addr >= offsetof(struct user, u_debugreg[0])) && in peek_user() 183 (addr <= offsetof(struct user, u_debugreg[7]))) { in peek_user() 184 addr -= offsetof(struct user, u_debugreg[0]); in peek_user()
|
D | ptrace_32.c | 132 else if ((addr >= offsetof(struct user, u_debugreg[0])) && in poke_user() 133 (addr <= offsetof(struct user, u_debugreg[7]))) { in poke_user() 134 addr -= offsetof(struct user, u_debugreg[0]); in poke_user() 188 else if ((addr >= offsetof(struct user, u_debugreg[0])) && in peek_user() 189 (addr <= offsetof(struct user, u_debugreg[7]))) { in peek_user() 190 addr -= offsetof(struct user, u_debugreg[0]); in peek_user()
|
/linux-5.19.10/arch/x86/kernel/ |
D | ptrace.c | 736 else if (addr >= offsetof(struct user, u_debugreg[0]) && in arch_ptrace() 737 addr <= offsetof(struct user, u_debugreg[7])) { in arch_ptrace() 738 addr -= offsetof(struct user, u_debugreg[0]); in arch_ptrace() 752 else if (addr >= offsetof(struct user, u_debugreg[0]) && in arch_ptrace() 753 addr <= offsetof(struct user, u_debugreg[7])) { in arch_ptrace() 754 addr -= offsetof(struct user, u_debugreg[0]); in arch_ptrace() 920 case offsetof(struct user32, u_debugreg[0]) ... in putreg32() 921 offsetof(struct user32, u_debugreg[7]): in putreg32() 922 regno -= offsetof(struct user32, u_debugreg[0]); in putreg32() 979 case offsetof(struct user32, u_debugreg[0]) ... in getreg32() [all …]
|
/linux-5.19.10/tools/testing/selftests/x86/ |
D | mov_ss_trap.c | 79 if (ptrace(PTRACE_POKEUSER, parent, (void *)offsetof(struct user, u_debugreg[0]), dr0) != 0) in enable_watchpoint() 82 if (ptrace(PTRACE_POKEUSER, parent, (void *)offsetof(struct user, u_debugreg[1]), dr1) != 0) in enable_watchpoint() 85 if (ptrace(PTRACE_POKEUSER, parent, (void *)offsetof(struct user, u_debugreg[7]), dr7) != 0) in enable_watchpoint()
|
/linux-5.19.10/tools/testing/selftests/breakpoints/ |
D | breakpoint_test.c | 47 offsetof(struct user, u_debugreg[n]), addr); in set_breakpoint_addr() 89 offsetof(struct user, u_debugreg[7]), 0); in toggle_breakpoint() 109 offsetof(struct user, u_debugreg[7]), dr7); in toggle_breakpoint()
|
/linux-5.19.10/arch/arm/include/asm/ |
D | user.h | 75 int u_debugreg[8]; /* No longer used */ member
|
/linux-5.19.10/arch/x86/include/asm/ |
D | user_32.h | 125 int u_debugreg[8]; member
|
D | user_64.h | 129 unsigned long u_debugreg[8]; member
|
D | user32.h | 67 int u_debugreg[8]; member
|