/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | exec.c | 82 switch (c = fork()) {
|
H A D | Makefile.benchmarks | 53 fork \
|
H A D | exit.c | 113 ts->ts_pids[i] = fork();
|
H A D | fork.c | 32 * benchmark fork 54 (void) sprintf(lm_usage, "notes: measures fork()\n"); 98 ts->ts_pids[i] = fork();
|
H A D | pipe.c | 195 pid = fork();
|
H A D | bench.sh | 485 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 D | coreos_bench.sh | 511 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 D | Makefile.Darwin | 80 fork \
|
H A D | lmbench_bw_unix.c | 216 switch (state->pid = fork()) { 226 perror("fork");
|
H A D | lmbench_select_tcp.c | 178 switch(ts->pid = fork()) { 189 perror("lat_select::server(): fork() failed");
|
H A D | lb_mmtest.c | 433 pid = fork();
|
H A D | lmbench_lat_ctx.c | 286 * 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 D | hfs_vfsutils.c | 101 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 D | hfs_lookup.c | 166 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 D | hfs_cnode.c | 165 * 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 D | Makefile | 53 fork.2 \
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | socket_tests.c | 116 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 D | memory_tests.c | 167 my_pid = fork( ); 169 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
|
H A D | kqueue_tests.c | 190 /* 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 D | tests.c | 120 * 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 D | content_protection_test.c | 98 child = fork(); 102 printf("FAILURE: failed to fork.\n");
|
H A D | pipes_tests.c | 13 * 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 D | MPMMtest.c | 626 thread->pid = fork();
|
/darwin-on-arm/xnu/tools/tests/superpages/ |
H A D | testsp.c | 464 * If we fork with active superpages 479 if ((pid=fork())) { /* parent */ 608 { "fork", test_fork },
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_fork.c | 151 #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...] |