Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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.c132 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/
Dptrace.c736 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/
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-5.19.10/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-5.19.10/arch/arm/include/asm/
Duser.h75 int u_debugreg[8]; /* No longer used */ member
/linux-5.19.10/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