Searched refs:fork_kid_pid (Results 1 – 8 of 8) sorted by relevance
/external/ltp/testcases/kernel/syscalls/waitpid/ |
D | waitpid_common.h | 30 static pid_t *fork_kid_pid; variable 37 fork_kid_pid = SAFE_MMAP(NULL, sizeof(*fork_kid_pid) * MAXKIDS, in waitpid_setup() 47 if (fork_kid_pid[i] > 0) in waitpid_cleanup() 48 kill(fork_kid_pid[i], SIGKILL); in waitpid_cleanup() 54 munmap(fork_kid_pid, sizeof(*fork_kid_pid) * MAXKIDS); in waitpid_cleanup()
|
D | waitpid11.c | 48 fork_kid_pid[i] = pid; in do_child_1() 53 if (TST_TRACE(reap_children(0, 0, fork_kid_pid + MAXKIDS/2, MAXKIDS/2))) in do_child_1() 57 if (TST_TRACE(reap_children(-group, 0, fork_kid_pid, MAXKIDS / 2))) in do_child_1()
|
D | waitpid12.c | 51 fork_kid_pid[i] = pid; in do_child_1() 62 if (TST_TRACE(reap_children(0, WNOHANG, fork_kid_pid + (MAXKIDS / 2), in do_child_1() 66 if (TST_TRACE(reap_children(-group, WNOHANG, fork_kid_pid, in do_child_1()
|
D | waitpid13.c | 50 fork_kid_pid[i] = pid; in do_child_1() 62 if (TST_TRACE(reap_children(0, WUNTRACED, fork_kid_pid + (MAXKIDS / 2), in do_child_1() 66 if (TST_TRACE(reap_children(-group, WUNTRACED, fork_kid_pid, in do_child_1()
|
D | waitpid06.c | 46 fork_kid_pid[i] = pid; in do_child_1() 51 if (TST_TRACE(reap_children(-1, 0, fork_kid_pid, MAXKIDS))) in do_child_1()
|
D | waitpid07.c | 47 fork_kid_pid[i] = pid; in do_child_1() 56 if (TST_TRACE(reap_children(-1, WNOHANG, fork_kid_pid, MAXKIDS))) in do_child_1()
|
D | waitpid08.c | 48 fork_kid_pid[i] = pid; in do_child_1() 59 if (TST_TRACE(reap_children(-1, WUNTRACED, fork_kid_pid, MAXKIDS))) in do_child_1()
|
D | waitpid10.c | 54 fork_kid_pid[i] = pid; in do_child_1() 59 if (TST_TRACE(reap_children(0, 0, fork_kid_pid, MAXKIDS))) in do_child_1()
|