Lines Matching refs:wh

243 	int wh = ptrace(PPC_PTRACE_SETHWDEBUG, child_pid, 0, info);  in ptrace_sethwdebug()  local
245 if (wh <= 0) { in ptrace_sethwdebug()
249 return wh; in ptrace_sethwdebug()
252 static void ptrace_delhwdebug(pid_t child_pid, int wh) in ptrace_delhwdebug() argument
254 if (ptrace(PPC_PTRACE_DELHWDEBUG, child_pid, 0, wh) < 0) { in ptrace_delhwdebug()
344 int wh; in test_sethwdebug_exact() local
348 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_exact()
351 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact()
355 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_exact()
358 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact()
362 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_exact()
365 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact()
374 int wh; in test_sethwdebug_exact_kernel_userspace() local
378 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_exact_kernel_userspace()
381 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact_kernel_userspace()
390 int wh; in test_sethwdebug_range_aligned() local
396 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_range_aligned()
399 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned()
405 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_range_aligned()
408 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned()
414 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_range_aligned()
417 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned()
426 int wh; in test_sethwdebug_range_unaligned() local
432 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_range_unaligned()
435 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_unaligned()
441 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_range_unaligned()
444 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_unaligned()
450 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_range_unaligned()
453 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_unaligned()
463 int wh; in test_sethwdebug_range_unaligned_dar() local
469 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_range_unaligned_dar()
472 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_unaligned_dar()
481 int wh; in test_sethwdebug_dawr_max_range() local
487 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_dawr_max_range()
490 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_dawr_max_range()