Searched refs:fork (Results 1 - 25 of 29) sorted by relevance

12

/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dexec.c82 switch (c = fork()) {
H A DMakefile.benchmarks53 fork \
H A Dexit.c113 ts->ts_pids[i] = fork();
H A Dfork.c32 * benchmark fork
54 (void) sprintf(lm_usage, "notes: measures fork()\n");
98 ts->ts_pids[i] = fork();
H A Dpipe.c195 pid = fork();
H A Dbench.sh485 fork $OPTS -N "fork_10" -B 10
486 fork $OPTS -N "fork_100" -B 100 -C 100
488 #fork $OPTS -N "fork_1000" -B 1000 -C 50
H A Dcoreos_bench.sh511 fork $OPTS -N "fork_10" -B 10
512 fork $OPTS -N "fork_100" -B 100 -C 100
514 #fork $OPTS -N "fork_1000" -B 1000 -C 50
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A DMakefile.Darwin80 fork \
H A Dlmbench_bw_unix.c216 switch (state->pid = fork()) {
226 perror("fork");
H A Dlmbench_select_tcp.c178 switch(ts->pid = fork()) {
189 perror("lat_select::server(): fork() failed");
H A Dlb_mmtest.c433 pid = fork();
H A Dlmbench_lat_ctx.c286 * Use the pipes as a ring, and fork off a bunch of processes
293 switch (pids[i] = fork()) {
294 case -1: /* could not fork, out of processes? */
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_vfsutils.c101 struct cat_fork fork; local
170 bzero(&fork, sizeof(fork));
178 fork.cf_size = SWAP_BE32(mdb->drXTFlSize);
179 fork.cf_blocks = fork.cf_size / vcb->blockSize;
180 fork.cf_clump = SWAP_BE32(mdb->drXTClpSiz);
181 fork.cf_vblocks = 0;
182 fork.cf_extents[0].startBlock = SWAP_BE16(mdb->drXTExtRec[0].startBlock);
183 fork
[all...]
H A Dhfs_lookup.c166 struct cat_fork fork; local
223 retval = cat_lookup(hfsmp, &cndesc, 0, &desc, &attr, &fork, NULL);
335 retval = hfs_getnewvnode(hfsmp, dvp, cnp, &desc, 0, &attr, &fork, &tvp, &newvnode_flags);
H A Dhfs_cnode.c165 * remain for cnodes marked in such a fashion is to teardown their fork references and
214 * Check whether we are tearing down a cnode with only one remaining fork.
287 * we want to ensure that the resource fork continues to be available
288 * if the caller has the data fork open. However, this is not symmetric;
289 * someone who has the resource fork open need not be able to access the data
290 * fork once the data fork has gone inactive.
292 * If we're the last fork, then we have cleaning up to do.
294 * A) last fork, and vp == c_vp
295 * Truncate away own fork dat
1475 struct cat_fork fork; local
[all...]
/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile53 fork.2 \
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dsocket_tests.c116 my_pid = fork( );
118 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
491 my_pid = fork( );
493 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
H A Dmemory_tests.c167 my_pid = fork( );
169 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
H A Dkqueue_tests.c190 /* fork here and use pipe to communicate */
191 my_pid = fork( );
193 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
H A Dtests.c120 * Test fork wait4, and exit system calls.
130 my_pid = fork( );
132 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
1556 /* fork here and use pipe to communicate */
1557 my_pid = fork( );
1559 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
1672 * fork here and do the setuid work in the child
1674 my_pid = fork( );
1676 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
2019 * Test to make sure certain inheritance properties of fork()'e
[all...]
H A Dcontent_protection_test.c98 child = fork();
102 printf("FAILURE: failed to fork.\n");
H A Dpipes_tests.c13 * its own fork()d process, with the fixture set up and tear down
225 pid_t test_pid = fork();
226 die(test_pid == -1, "fork()");
/darwin-on-arm/xnu/tools/tests/MPMMTest/
H A DMPMMtest.c626 thread->pid = fork();
/darwin-on-arm/xnu/tools/tests/superpages/
H A Dtestsp.c464 * If we fork with active superpages
479 if ((pid=fork())) { /* parent */
608 { "fork", test_fork },
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_fork.c151 #define DOFORK 0x1 /* fork() system call */
302 /* flag the fork has occurred */
396 * it to fork. This is an advisory-only check.
408 * also likely preventing a fork here as well, and this
414 * is true of both fork() and posix_spawn() and any
528 * its task attributes and memory, since when we fork, we
538 /* copy current thread state into the child thread (only for fork) */
579 * process its "return" value from a fork() call.
581 * Note: this should probably move to fork() proper, since it
748 * Note: This code is called in the fork() cas
864 fork(proc_t parent_proc, __unused struct fork_args *uap, int32_t *retval) function
[all...]

Completed in 91 milliseconds

12