/src/tests/fs/common/ |
fstest_nfs.c | 83 pid_t childpid; local in function:donewfs 112 switch ((childpid = fork())) { 155 args->ta_childpid = childpid;
|
fstest_puffs.c | 251 pid_t childpid; local in function:donewfs 274 switch ((childpid = fork())) { 317 args->pta_childpid = childpid;
|
/src/libexec/lfs_cleanerd/ |
coalesce.c | 424 static pid_t childpid; local in function:fork_coalesce 430 if (childpid) { 431 if (waitpid(childpid, NULL, WNOHANG) == childpid) 432 childpid = 0; 434 if (childpid && kill(childpid, 0) >= 0) { 444 childpid = fork(); 445 if (childpid < 0) { 448 } else if (childpid == 0) [all...] |
/src/sbin/dump/ |
tape.c | 576 int childpid; local in function:startnewtape 592 childpid = fork(); 593 if (childpid < 0) { 597 if (childpid != 0) { 608 tapeno+1, parentpid, childpid); 610 while ((waitforpid = wait(&status)) != childpid) 612 parentpid, childpid, waitforpid); 615 childpid, status&0xFF); 621 msg("Child %d finishes X_FINOK\n", childpid); 624 msg("Child %d finishes X_ABORT\n", childpid); [all...] |