Lines Matching refs:pid_t
51 explicit ChildGuard(pid_t pid) : pid(pid) {} in ChildGuard()
60 pid_t pid;
65 static void check_hw_feature_supported(pid_t child, HwFeature feature) { in check_hw_feature_supported()
110 static void set_watchpoint(pid_t child, uintptr_t address, size_t size) { in set_watchpoint()
159 pid_t child = fork(); in run_watchpoint_test()
295 static void set_breakpoint(pid_t child) { in set_breakpoint()
344 pid_t child = fork(); in TEST()
376 pid_t worker = -1;
377 pid_t tracer = -1;
441 pid_t rc = TEMP_FAILURE_RETRY(waitpid(tracer, &result, 0)); in WaitForTracer()
468 pid_t rc = TEMP_FAILURE_RETRY(waitpid(worker, &result, WNOHANG)); in WaitForWorker()
496 static void wait_for_ptrace_stop(pid_t pid) { in wait_for_ptrace_stop()
499 pid_t rc = TEMP_FAILURE_RETRY(waitpid(pid, &status, __WALL)); in wait_for_ptrace_stop()