Lines Matching refs:data
136 unsigned data = ptrace(PTRACE_PEEKUSER, child, offsetof(user, u_debugreg[7]), nullptr); in set_watchpoint() local
145 data &= mask; in set_watchpoint()
146 data |= value; in set_watchpoint()
147 …ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[7]), data)) << strerror(errn… in set_watchpoint()
157 alignas(16) T data{}; in run_watchpoint_test() local
173 child_func(data); in run_watchpoint_test()
189 set_watchpoint(child, uintptr_t(untag_address(&data)) + offset, size); in run_watchpoint_test()
200 ASSERT_LE(&data, siginfo.si_addr); in run_watchpoint_test()
201 ASSERT_GT((&data) + 1, siginfo.si_addr); in run_watchpoint_test()
206 static void watchpoint_stress_child(unsigned cpu, T& data) { in watchpoint_stress_child() argument
216 data = 1; // Now trigger the watchpoint. in watchpoint_stress_child()
249 uint64_t data[2]; member
251 static void watchpoint_imprecise_child(Uint128_t& data) { in watchpoint_imprecise_child() argument
255 asm volatile("movdqa %%xmm0, %0" : : "m"(data)); in watchpoint_imprecise_child()
257 asm volatile("stm %0, { r0, r1, r2, r3 }" : : "r"(&data)); in watchpoint_imprecise_child()
259 asm volatile("stp x0, x1, %0" : : "m"(data)); in watchpoint_imprecise_child()
322 unsigned data = ptrace(PTRACE_PEEKUSER, child, offsetof(user, u_debugreg[7]), nullptr); in set_breakpoint() local
331 data &= mask; in set_breakpoint()
332 data |= value; in set_breakpoint()
333 ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[7]), data)) in set_breakpoint()