/src/games/sail/ |
pl_1.c | 129 child(int n __unused) function in typeref:typename:void 140 signal(SIGCHLD, child);
|
/src/tests/kernel/ |
h_fpufork.c | 42 pid_t child, pid; local in function:main 51 case 0: /* child */ 57 if ((child = wait(&status)) == -1) 60 errx(1, "child exited on signal %d", WTERMSIG(status)); 62 errx(1, "child didn't exit");
|
t_execregs.c | 96 testregs(int child, const int pipefd[static 2], 105 RL(waitpid(child, &status, 0)); 107 atf_tc_fail_nonfatal("child terminated on signal %d (%s)", 110 atf_tc_fail_nonfatal("child terminated mysteriously," 115 "child exited with code %d", WEXITSTATUS(status)); 135 pid_t child; local in function:ATF_TC_BODY 143 RL(child = fork()); 144 if (child == 0) { 154 testregs(child, pipefd, regs); 173 pid_t child; local in function:ATF_TC_BODY [all...] |
/src/tests/lib/libc/sys/ |
t_ptrace_kill_wait.h | 33 pid_t child, wpid; local in function:ptrace_kill 39 SYSCALL_REQUIRE((child = fork()) != -1); 40 if (child == 0) { 41 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); 44 DPRINTF("Before raising %s from child\n", strsignal(sigval)); 49 "Child should be terminated by a signal from its parent"); 51 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); 53 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); 54 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child) [all...] |
t_ptrace_i386_wait.h | 41 pid_t child, wpid; local in function:ATF_TC_BODY 48 SYSCALL_REQUIRE((child = fork()) != -1); 49 if (child == 0) { 50 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); 53 DPRINTF("Before raising %s from child\n", strsignal(sigval)); 56 DPRINTF("Before exiting of the child process\n"); 59 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); 61 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); 62 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child) [all...] |
t_ptrace_misc_wait.h | 32 pid_t child, wpid; local in function:user_va0_disable 47 SYSCALL_REQUIRE((child = fork()) != -1); 48 if (child == 0) { 49 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); 52 DPRINTF("Before raising %s from child\n", strsignal(sigval)); 59 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); 61 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); 62 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); [all...] |
t_ptrace_amd64_wait.h | 44 pid_t child, wpid; local in function:ATF_TC_BODY 51 SYSCALL_REQUIRE((child = fork()) != -1); 52 if (child == 0) { 53 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); 56 DPRINTF("Before raising %s from child\n", strsignal(sigval)); 59 DPRINTF("Before exiting of the child process\n"); 62 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); 64 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); 65 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child) [all...] |
t_kevent.c | 79 pid_t child; local in function:ATF_TC_BODY 99 child = fork(); 100 if (child == 0) { 109 err(1, "child: could not recvmsg"); 112 printf("child (pid %d): received kq fd %d\n", getpid(), kq); 138 waitpid(child, &status, 0);
|
t_ptrace.c | 46 * A child process cannot call atf functions and expect them to magically 48 * The printf(3) messaging from a child will not work out of the box as well 50 * overcomplicate the tests - do not log from a child and use err(3)/errx(3) 157 pid_t child; local in function:ATF_TC_BODY 171 child = atf_utils_fork(); 172 if (child == 0) { 199 printf("Waiting for chrooting of the child PID %d", child); 203 printf("Child is ready, it will try to PT_ATTACH to parent\n");
|
t_ptrace_eventmask_wait.h | 34 pid_t child, wpid; local in function:eventmask_preserved 42 SYSCALL_REQUIRE((child = fork()) != -1); 43 if (child == 0) { 44 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); 47 DPRINTF("Before raising %s from child\n", strsignal(sigval)); 50 DPRINTF("Before exiting of the child process\n"); 53 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); 55 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); 56 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child) [all...] |
t_ptrace_kill.c | 57 child(int *fdto, int *fdfrom) function in typeref:typename:void 101 child(fdto, fdfrom);
|
t_ptrace_register_wait.h | 35 pid_t child, wpid; local in function:access_regs 58 SYSCALL_REQUIRE((child = fork()) != -1); 59 if (child == 0) { 60 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); 63 DPRINTF("Before raising %s from child\n", strsignal(sigval)); 66 DPRINTF("Before exiting of the child process\n"); 69 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); 71 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); 72 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child) [all...] |
t_ptrace_siginfo_wait.h | 37 pid_t child, wpid; local in function:ptrace_siginfo 46 SYSCALL_REQUIRE((child = fork()) != -1); 47 if (child == 0) { 48 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); 58 DPRINTF("Before raising %s from child\n", strsignal(sigval)); 63 DPRINTF("Before exiting of the child process\n"); 66 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); 68 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); 69 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child) [all...] |
t_ptrace_syscall_wait.h | 49 pid_t child, wpid; local in function:syscall_body 66 SYSCALL_REQUIRE((child = fork()) != -1); 67 if (child == 0) { 68 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); 73 DPRINTF("Before raising %s from child\n", strsignal(sigval)); 82 DPRINTF("Before exiting of the child process\n"); 85 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); 87 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); 88 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child) 203 pid_t child, wpid; local in function:ATF_TC_BODY [all...] |
/src/sys/dev/fdt/ |
cpus.c | 62 int child; local in function:cpus_attach 69 for (child = OF_child(phandle); child; child = OF_peer(child)) { 70 if (!cpus_cpu_enabled(child)) 72 fdt_add_child(self, child, faa, 0); 77 cpus_cpu_enabled(int child) 82 s = fdtbus_get_string(child, "device_type"); 87 s = fdtbus_get_string(child, "status") [all...] |
gpioleds.c | 86 int child; local in function:gpioleds_attach 91 for (child = OF_child(phandle); child; child = OF_peer(child)) { 93 if (OF_getprop(child, "label", label, sizeof(label)) <= 0 && 94 OF_getprop(child, "name", label, sizeof(label)) <= 0) 98 pin = fdtbus_gpio_acquire(child, "gpios", GPIO_PIN_OUTPUT); 109 default_state = fdtbus_get_string(child, "default-state");
|
/src/sys/arch/arm/samsung/ |
exynos_ehci.c | 79 int error, child; local in function:exynos_ehci_attach 95 for (child = OF_child(phandle); child; child = OF_peer(child)) { 96 phy = fdtbus_phy_get_index(child, 0); 99 fdtbus_get_string(child, "name"));
|
exynos_ohci.c | 79 int error, child; local in function:exynos_ohci_attach 95 for (child = OF_child(phandle); child; child = OF_peer(child)) { 96 phy = fdtbus_phy_get_index(child, 0); 99 fdtbus_get_string(child, "name"));
|
/src/sys/dev/ppbus/ |
ppbus_conf.c | 97 printf("%s(%s): parport_adaptor is incomplete. Child device " 171 /* Configure child devices */ 187 struct ppbus_device_softc * child; local in function:ppbus_childdet 189 SLIST_FOREACH(child, &ppbus->sc_childlist_head, entries) { 190 if (child->sc_dev == target) 193 if (child != NULL) 194 SLIST_REMOVE(&ppbus->sc_childlist_head, child, 203 struct ppbus_device_softc * child; local in function:ppbus_detach 219 while ((child = SLIST_FIRST(&ppbus->sc_childlist_head)) != NULL) { 220 if (config_detach(child->sc_dev, flag)) 243 struct ppbus_device_softc *child; local in function:ppbus_search_children [all...] |
/src/tests/kernel/kqueue/read/ |
t_file.c | 59 child(void) function in typeref:typename:void 94 child();
|
/src/tests/kernel/kqueue/ |
t_proc1.c | 57 child(void) function in typeref:typename:int 107 /* fork a child for doing the events */ 110 _exit(child()); 114 (void)sleep(1); /* give child some time to come up */
|
/src/tests/kernel/kqueue/write/ |
t_pipe.c | 86 pid_t child; local in function:ATF_TC_BODY 94 /* spawn child reader */ 95 RL(child = fork()); 96 if (child == 0) { 99 (void)printf("pipe: child read '%.*s'\n", sz, buffer); 111 (void)waitpid(child, &status, 0);
|
t_ttypty.c | 59 pid_t child; local in function:h_check 68 RL(child = fork()); 69 if (child == 0) { 73 (void)printf("tty: child read '%.*s'\n", n, buffer); 100 (void)waitpid(child, &status, 0);
|
/src/usr.bin/tip/aculib/ |
dn11.c | 46 static int child = -1, dn; variable in typeref:typename:int 67 (void)kill(child, SIGKILL); 74 if ((child = fork()) == 0) { 94 (void)kill(child, SIGKILL); 103 while ((nw = wait(<)) != child && nw != -1) 142 if (child > 0) 143 (void)kill(child, SIGKILL);
|
/src/tests/lib/libpthread/ |
t_condwait.c | 105 pthread_t child; local in function:cond_wait 109 ATF_REQUIRE_EQ(pthread_create(&child, NULL, run, &clck), 0); 110 ATF_REQUIRE_EQ(pthread_join(child, NULL), 0); /* wait for terminate */
|