Home
last modified time | relevance | path

Searched refs:NCHILD (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir09.c54 #define NCHILD 3 macro
149 if ((j % NCHILD) != 0) { in runtest()
162 if ((pidlist = malloc((child_groups * NCHILD) * sizeof(int))) == in runtest()
170 for (i = 0; i < NCHILD; i++) { in runtest()
238 NCHILD); in runtest()
249 for (j = 0; j < nfiles; j += NCHILD) { in runtest()
276 switch (children % NCHILD) { in getchild()
333 for (j = 0; j < nfiles; j += NCHILD) { in dochild1()
369 for (j = 1; j < nfiles; j += NCHILD) { in dochild2()
404 for (j = 2; j < nfiles; j += NCHILD) { in dochild3()
[all …]
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl01.c27 #define NCHILD 20 macro
29 static pid_t children[NCHILD];
67 for (i = 0; i < NCHILD; i++) { in fork_children()
81 for (i = 0; i < NCHILD; i++) in wait_for_children()
89 for (i = 0; i < NCHILD; i++) in signal_children()
97 for (i = 0; i < NCHILD; i++) in reap_children()
134 check_nattch(NCHILD, "after child shmat()"); in verify_shmstat_attach()
152 check_nattch(NCHILD+1, "inherited after fork()"); in verify_shmstat_inherit()
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl01.c20 #define NCHILD 5 macro
29 static int pid_arr[NCHILD];
35 for (j = 0; j < NCHILD; j++) in kill_all_children()
38 for (j = 0; j < NCHILD; j++) in kill_all_children()
108 for (i = 0; i < NCHILD; i++) { in cnt_setup()
121 if (rval == NCHILD) in func_cnt()