Home
last modified time | relevance | path

Searched refs:u_debugreg (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/tools/perf/arch/x86/tests/
Dbp-modify.c82 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/
Dptrace_64.c118 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()
Dptrace_32.c106 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/
Dptrace.c756 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/
Dmov_ss_trap.c79 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/
Dbreakpoint_test.c47 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/
Duser.h75 int u_debugreg[8]; /* No longer used */ member
/linux-6.12.1/arch/x86/include/asm/
Duser_32.h125 int u_debugreg[8]; member
Duser_64.h129 unsigned long u_debugreg[8]; member
Duser32.h67 int u_debugreg[8]; member