Lines Matching refs:data
130 unsigned data = ptrace(PTRACE_PEEKUSER, child, offsetof(user, u_debugreg[7]), nullptr); in set_watchpoint() local
139 data &= mask; in set_watchpoint()
140 data |= value; in set_watchpoint()
141 …ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[7]), data)) << strerror(errn… in set_watchpoint()
151 alignas(16) T data{}; in run_watchpoint_test() local
167 child_func(data); in run_watchpoint_test()
180 set_watchpoint(child, uintptr_t(untag_address(&data)) + offset, size); in run_watchpoint_test()
191 ASSERT_LE(&data, siginfo.si_addr); in run_watchpoint_test()
192 ASSERT_GT((&data) + 1, siginfo.si_addr); in run_watchpoint_test()
197 static void watchpoint_stress_child(unsigned cpu, T& data) { in watchpoint_stress_child() argument
207 data = 1; // Now trigger the watchpoint. in watchpoint_stress_child()
236 uint64_t data[2]; member
238 static void watchpoint_imprecise_child(Uint128_t& data) { in watchpoint_imprecise_child() argument
242 asm volatile("movdqa %%xmm0, %0" : : "m"(data)); in watchpoint_imprecise_child()
244 asm volatile("stm %0, { r0, r1, r2, r3 }" : : "r"(&data)); in watchpoint_imprecise_child()
246 asm volatile("stp x0, x1, %0" : : "m"(data)); in watchpoint_imprecise_child()
249 UNUSED(data); in watchpoint_imprecise_child()
312 unsigned data = ptrace(PTRACE_PEEKUSER, child, offsetof(user, u_debugreg[7]), nullptr); in set_breakpoint() local
321 data &= mask; in set_breakpoint()
322 data |= value; in set_breakpoint()
323 ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[7]), data)) in set_breakpoint()