Searched refs:u_debugreg (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/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-6.12.1/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 | 106 else if ((addr >= offsetof(struct user, u_debugreg[0])) && in poke_user() 107 (addr <= offsetof(struct user, u_debugreg[7]))) { in poke_user() 108 addr -= offsetof(struct user, u_debugreg[0]); in poke_user() 162 else if ((addr >= offsetof(struct user, u_debugreg[0])) && in peek_user() 163 (addr <= offsetof(struct user, u_debugreg[7]))) { in peek_user() 164 addr -= offsetof(struct user, u_debugreg[0]); in peek_user()
|
/linux-6.12.1/arch/x86/kernel/ |
D | ptrace.c | 756 else if (addr >= offsetof(struct user, u_debugreg[0]) && in arch_ptrace() 757 addr <= offsetof(struct user, u_debugreg[7])) { in arch_ptrace() 758 addr -= offsetof(struct user, u_debugreg[0]); in arch_ptrace() 772 else if (addr >= offsetof(struct user, u_debugreg[0]) && in arch_ptrace() 773 addr <= offsetof(struct user, u_debugreg[7])) { in arch_ptrace() 774 addr -= offsetof(struct user, u_debugreg[0]); in arch_ptrace() 940 case offsetof(struct user32, u_debugreg[0]) ... in putreg32() 941 offsetof(struct user32, u_debugreg[7]): in putreg32() 942 regno -= offsetof(struct user32, u_debugreg[0]); in putreg32() 999 case offsetof(struct user32, u_debugreg[0]) ... in getreg32() [all …]
|
/linux-6.12.1/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-6.12.1/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-6.12.1/arch/arm/include/asm/ |
D | user.h | 75 int u_debugreg[8]; /* No longer used */ member
|
/linux-6.12.1/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
|