| /src/games/sail/ |
| pl_1.c | 129 child(int n __unused) function 140 signal(SIGCHLD, child);
|
| /src/sys/dev/fdt/ |
| cpus.c | 62 int child; local 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 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");
|
| panel_fdt.c | 93 int child; local 108 for (child = OF_child(phandle); child; child = OF_peer(child)) { 109 if (OF_getprop(child, "name", buf, sizeof(buf)) <= 0) 114 if (display_timing_parse(child,
|
| syscon.c | 116 int child; local 143 child = of_find_firstchild_byname(phandle, "clocks"); 144 if (child > 0) 145 fdt_add_bus(self, child, faa);
|
| /src/tests/kernel/ |
| h_fpufork.c | 42 pid_t child, pid; local 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");
|
| /src/tests/lib/libc/sys/ |
| t_ptrace_amd64_wait.h | 44 pid_t child, wpid; local 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_ptrace_i386_wait.h | 41 pid_t child, wpid; local 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_kill_wait.h | 33 pid_t child, wpid; local 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_misc_wait.h | 32 pid_t child, wpid; local 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_eventmask_wait.h | 34 pid_t child, wpid; local 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 101 child(fdto, fdfrom);
|
| t_ptrace_register_wait.h | 35 pid_t child, wpid; local 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 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 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 [all...] |
| /src/sys/arch/arm/samsung/ |
| exynos_ehci.c | 79 int error, child; local 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 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 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 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 [all...] |
| /src/tests/kernel/kqueue/read/ |
| t_file.c | 59 child(void) function 94 child();
|
| /src/tests/kernel/kqueue/ |
| t_proc1.c | 57 child(void) function 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 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);
|
| /src/usr.bin/tip/aculib/ |
| dn11.c | 46 static int child = -1, dn; variable 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/sys/arch/macppc/dev/ |
| gpio.c | 88 int child; local 101 for (child = OF_child(ca->ca_node); child; child = OF_peer(child)) { 102 namelen = OF_getprop(child, "name", name, sizeof(name)); 110 ca2.ca_node = child; 112 ca2.ca_nreg = OF_getprop(child, "reg", reg, sizeof(reg)); 113 ca2.ca_nintr = OF_getprop(child, "AAPL,interrupts", intr, 116 ca2.ca_nintr = OF_getprop(child, "interrupts", intr [all...] |
| /src/sys/dev/i2c/ |
| i2cmux.c | 126 int child, count; local 130 for (child = OF_child(mux_phandle), count = 0; child; 131 child = OF_peer(child)) { 132 if (OF_getprop(child, "name", name, sizeof(name)) <= 0) { 141 mux_phandle = child; 196 int child, idx; local 197 for (child = OF_child(mux_phandle), idx = 0; child; [all...] |
| /src/sys/dev/ofw/ |
| ofbus.c | 84 * child devices. 120 int child, units; local 165 for (child = OF_child(oba->oba_phandle); child != 0; 166 child = OF_peer(child)) { 169 if (OF_getprop(child, "device_type", type, sizeof(type)) <= 0) 173 of_packagename(child, name, sizeof name); 174 oba2.oba_phandle = child; 187 child))); [all...] |