Searched refs:MAXKIDS (Results 1 – 8 of 8) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/waitpid/ |
D | waitpid11.c | 40 for (i = 0; i < MAXKIDS; i++) { in do_child_1() 41 if (i == (MAXKIDS / 2)) in do_child_1() 51 TST_CHECKPOINT_WAKE2(0, MAXKIDS); 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 | waitpid13.c | 42 for (i = 0; i < MAXKIDS; i++) { in do_child_1() 43 if (i == (MAXKIDS / 2)) in do_child_1() 60 TST_CHECKPOINT_WAKE2(0, MAXKIDS); in do_child_1() 62 if (TST_TRACE(reap_children(0, WUNTRACED, fork_kid_pid + (MAXKIDS / 2), in do_child_1() 63 MAXKIDS / 2))) in do_child_1() 67 MAXKIDS / 2))) in do_child_1()
|
D | waitpid12.c | 43 for (i = 0; i < MAXKIDS; i++) { in do_child_1() 44 if (i == (MAXKIDS / 2)) in do_child_1() 60 TST_CHECKPOINT_WAKE2(0, MAXKIDS); in do_child_1() 62 if (TST_TRACE(reap_children(0, WNOHANG, fork_kid_pid + (MAXKIDS / 2), in do_child_1() 63 MAXKIDS / 2))) in do_child_1() 67 MAXKIDS / 2))) in do_child_1()
|
D | waitpid06.c | 38 for (i = 0; i < MAXKIDS; i++) { in do_child_1() 39 if (i == (MAXKIDS / 2)) in do_child_1() 49 TST_CHECKPOINT_WAKE2(0, MAXKIDS); in do_child_1() 51 if (TST_TRACE(reap_children(-1, 0, fork_kid_pid, MAXKIDS))) in do_child_1()
|
D | waitpid07.c | 39 for (i = 0; i < MAXKIDS; i++) { in do_child_1() 40 if (i == (MAXKIDS / 2)) in do_child_1() 54 TST_CHECKPOINT_WAKE2(0, MAXKIDS); in do_child_1() 56 if (TST_TRACE(reap_children(-1, WNOHANG, fork_kid_pid, MAXKIDS))) in do_child_1()
|
D | waitpid08.c | 40 for (i = 0; i < MAXKIDS; i++) { in do_child_1() 41 if (i == (MAXKIDS / 2)) in do_child_1() 57 TST_CHECKPOINT_WAKE2(0, MAXKIDS); in do_child_1() 59 if (TST_TRACE(reap_children(-1, WUNTRACED, fork_kid_pid, MAXKIDS))) in do_child_1()
|
D | waitpid_common.h | 15 #define MAXKIDS 8 macro 24 fork_kid_pid = SAFE_MMAP(NULL, sizeof(*fork_kid_pid) * MAXKIDS, in waitpid_setup() 33 for (i = 0; i < MAXKIDS; i++) { in waitpid_cleanup() 41 munmap(fork_kid_pid, sizeof(*fork_kid_pid) * MAXKIDS); in waitpid_cleanup()
|
D | waitpid10.c | 38 for (i = 0; i < MAXKIDS; i++) { in do_child_1() 57 TST_CHECKPOINT_WAKE2(0, MAXKIDS); in do_child_1() 59 if (TST_TRACE(reap_children(0, 0, fork_kid_pid, MAXKIDS))) in do_child_1()
|