Home
last modified time | relevance | path

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

/linux/tools/perf/arch/x86/tests/
H A 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/arch/x86/um/
H A 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()
/linux/arch/x86/kernel/
H A 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/tools/testing/selftests/x86/
H A 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/tools/testing/selftests/breakpoints/
H A 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/arch/arm/include/asm/
H A Duser.h75 int u_debugreg[8]; /* No longer used */ member
/linux/arch/x86/include/asm/
H A Duser_32.h125 int u_debugreg[8]; member
H A Duser_64.h129 unsigned long u_debugreg[8]; member
H A Duser32.h67 int u_debugreg[8]; member