Home
last modified time | relevance | path

Searched refs:nchild (Results 1 – 20 of 20) sorted by relevance

/external/ltp/testcases/kernel/mem/page/
Dpage01.c73 int nchild; local
84 nchild = 50;
88 if (sscanf(argv[2], "%d", &nchild) != 1)
107 for (i = 1; i <= nchild; i++) {
185 if (count != nchild) {
187 tst_resm(TWARN, "Count = %d, expected = %d.\n", count, nchild);
Dpage02.c72 int nchild; local
90 nchild = 5;
94 if (sscanf(argv[2], "%d", &nchild) != 1)
112 for (i = 1; i <= nchild; i++) {
211 if (count != nchild) {
214 count, nchild);
/external/ltp/testcases/kernel/syscalls/execve/
Dexecve05.c43 static int nchild = 8; variable
70 for (i = 0; i < nchild; i++) { in verify_execve()
75 TST_CHECKPOINT_WAKE2(0, nchild); in verify_execve()
81 nchild = SAFE_STRTOL(opt_nchild, 1, INT_MAX); in setup()
/external/ltp/testcases/kernel/mem/vmtests/
Dstack_space.c60 int nchild; /* # kids */ variable
97 nchild = 20;
102 if (sscanf(argv[i++], "%d", &nchild) != 1)
104 if (nchild > MAXCHILD) {
143 for (i = 0; i < nchild; i++) { in runtest()
145 dotest(nchild, i); /* do it! */ in runtest()
179 if (count != nchild) { in runtest()
Ddata_space.c69 int nchild; /* # kids */ variable
112 nchild = 10;
117 if (sscanf(argv[i++], "%d", &nchild) != 1)
125 if (nchild > MAXCHILD) {
128 nchild);
155 for (i = 0; i < nchild; i++) { in runtest()
161 dotest(nchild, i); in runtest()
190 if (count != nchild) { in runtest()
/external/igt-gpu-tools/tests/i915/
Dgem_ringfill.c194 int nchild; in run_test() local
197 nchild = sysconf(_SC_NPROCESSORS_ONLN); in run_test()
199 nchild = 8*sysconf(_SC_NPROCESSORS_ONLN); in run_test()
201 nchild = 1; in run_test()
203 igt_debug("Forking %d children\n", nchild); in run_test()
204 igt_fork(child, nchild) { in run_test()
Dgem_exec_whisper.c194 int nchild; in whisper() local
230 nchild = 1; in whisper()
232 nchild *= sysconf(_SC_NPROCESSORS_ONLN); in whisper()
234 nchild *= nengine; in whisper()
238 igt_fork(child, nchild) { in whisper()
Dgem_exec_flush.c77 static void run(int fd, unsigned ring, int nchild, int timeout, in run() argument
117 igt_fork(child, nchild) { in run()
355 static void batch(int fd, unsigned ring, int nchild, int timeout, in batch() argument
371 igt_fork(child, nchild) { in batch()
/external/ltp/testcases/kernel/fs/inode/
Dinode02.c78 int nchild; variable
141 nchild = 5; in main()
155 if (sscanf(argv[i++], "%d", &nchild) != 1) in main()
157 if (nchild > MAXCHILD) { in main()
170 for (p = 0; p < nchild; p++) { in main()
200 if (count != nchild) { in main()
202 tst_resm(TFAIL, "Saw %d, expected %d\n", count, nchild); in main()
/external/ltp/testcases/kernel/fs/ftest/
Dftest06.c87 static int nchild; variable
116 nchild = 5; in main()
159 for (k = 0; k < nchild; k++) { in main()
190 if (count != nchild) { in main()
205 for (k = 0; k < nchild; k++) in main()
442 for (i = 0; i < nchild; i++) in term()
Dftest02.c81 static int nchild; variable
105 nchild = 5; in main()
147 for (k = 0; k < nchild; k++) { in main()
176 if (count != nchild) { in main()
190 for (k = 0; k < nchild; k++) in main()
425 for (i = 0; i < nchild; i++) in term()
Dftest04.c76 static int nchild; /* number of child processes */ variable
131 nchild = 5; in setup()
149 for (i = 0; i < nchild; i++) { in runtest()
152 dotest(nchild, i, fd); in runtest()
486 for (i = 0; i < nchild; i++) in term()
Dftest08.c84 static int nchild; /* number of child processes */ variable
136 nchild = 5; in init()
153 for (i = 0; i < nchild; i++) { in runtest()
164 dotest(nchild, i, fd); in runtest()
524 for (i = 0; i < nchild; i++) in term()
Dftest05.c91 static int nchild; /* how many children */ variable
147 nchild = 5; in setup()
166 for (i = 0; i < nchild; i++) { in runtest()
173 dotest(nchild, i, fd); in runtest()
536 for (i = 0; i < nchild; i++) in term()
Dftest01.c87 static int nchild; /* how many children */ variable
139 nchild = 5; in setup()
158 for (i = 0; i < nchild; i++) { in runtest()
166 dotest(nchild, i, fd); in runtest()
543 for (i = 0; i < nchild; i++) in term()
Dftest03.c92 static int nchild; /* how many children */ variable
159 nchild = 5; in setup()
177 for (i = 0; i < nchild; i++) { in runtest()
186 dotest(nchild, i, fd); in runtest()
620 for (i = 0; i < nchild; i++) in term()
Dftest07.c98 static int nchild; /* how many children */ variable
163 nchild = 5; in setup()
181 for (i = 0; i < nchild; i++) { in runtest()
188 dotest(nchild, i, fd); in runtest()
618 for (i = 0; i < nchild; i++) in term()
/external/boringssl/src/crypto/x509v3/
Dpcy_tree.c409 if (node->nchild) in tree_link_unmatched()
417 if ((size_t)node->nchild == sk_ASN1_OBJECT_num(expset)) in tree_link_unmatched()
458 if (node->nchild) in tree_link_any()
505 node->parent->nchild--; in tree_prune()
517 if (node->nchild == 0) { in tree_prune()
518 node->parent->nchild--; in tree_prune()
523 if (curr->anyPolicy && !curr->anyPolicy->nchild) { in tree_prune()
525 curr->anyPolicy->parent->nchild--; in tree_prune()
Dpcy_node.c121 node->nchild = 0; in level_add_node()
148 parent->nchild++; in level_add_node()
Dpcy_int.h146 int nchild; member