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