Searched refs:pid (Results 1 – 7 of 7) sorted by relevance
253 pid_t pid; in testcase_run_forked_()261 pid = fork(); in testcase_run_forked_()265 if (!pid) { in testcase_run_forked_()294 waitpid(pid, &status, 0); in testcase_run_forked_()
186 pid_t pid = fork(); in regress_fork() local190 return pid; in regress_fork()
189 pid_t pid; in thread_basic() local201 if ((pid = fork()) == 0) { in thread_basic()216 if (waitpid(pid, &status, 0) == -1) in thread_basic()
901 static void fork_wait_check(int pid) in fork_wait_check() argument908 if ((waitpid(pid, &status, WNOWAIT) == -1 && errno == EINVAL) && in fork_wait_check()912 waitpid(pid, &status, 0) == -1) { in fork_wait_check()928 pid_t pid; in test_fork() local963 if ((pid = regress_fork()) == 0) { in test_fork()1002 fork_wait_check(pid); in test_fork()
571 pid_t pid; in check_error_logging() local575 if ((pid = regress_fork()) == 0) { in check_error_logging()
406 pid_t pid = getpid(); in arc4_stir_if_needed() local408 if (arc4_count <= 0 || !rs_initialized || arc4_stir_pid != pid) in arc4_stir_if_needed()410 arc4_stir_pid = pid; in arc4_stir_if_needed()
85 pid_t pid; member138 kqueueop->pid = getpid(); in kq_init()438 if (kqop->kq >= 0 && kqop->pid == getpid()) in kqop_free()