Home
last modified time | relevance | path

Searched refs:fork_kid_pid (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/waitpid/
Dwaitpid_common.h30 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()
Dwaitpid11.c48 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()
Dwaitpid12.c51 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()
Dwaitpid13.c50 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()
Dwaitpid06.c46 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()
Dwaitpid07.c47 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()
Dwaitpid08.c48 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()
Dwaitpid10.c54 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()