/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_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...] |
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_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_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_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_threads_wait.h | 52 pid_t child, wpid; local in function:trace_threads 73 SYSCALL_REQUIRE((child = fork()) != -1); 74 if (child == 0) { 75 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); 84 DPRINTF("Before raising %s from child\n", strsignal(sigval)); 108 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); 110 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); 111 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 272 pid_t child, wpid; local in function:threads_and_exec 460 pid_t child, wpid; local in function:ATF_TC_BODY 547 pid_t child, wpid; local in function:ATF_TC_BODY 753 pid_t child, wpid; local in function:thread_concurrent_test [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...] |
/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/lib/libc/arch/powerpc/sys/ |
__vfork14.S | 6 * r4 == 0 in parent process, 1 in child process. 7 * r3 == pid of child in parent, pid of parent in child. 13 addi %r4,%r4,-1 # from 1 to 0 in child, 0 to -1 in parent 14 and %r3,%r3,%r4 # return 0 in child, pid in parent
|
fork.S | 6 * r4 == 0 in parent process, 1 in child process. 7 * r3 == pid of child in parent, pid of parent in child. 13 addi %r4,%r4,-1 # from 1 to 0 in child, 0 to -1 in parent 14 and %r3,%r3,%r4 # return 0 in child, pid in parent
|
/src/lib/libc/arch/powerpc64/sys/ |
__vfork14.S | 6 * r4 == 0 in parent process, 1 in child process. 7 * r3 == pid of child in parent, pid of parent in child. 13 addi %r4,%r4,-1 # from 1 to 0 in child, 0 to -1 in parent 14 and %r3,%r3,%r4 # return 0 in child, pid in parent
|
fork.S | 6 * r4 == 0 in parent process, 1 in child process. 7 * r3 == pid of child in parent, pid of parent in child. 13 addi %r4,%r4,-1 # from 1 to 0 in child, 0 to -1 in parent 14 and %r3,%r3,%r4 # return 0 in child, pid in parent
|
/src/lib/libc/arch/sparc/sys/ |
__vfork14.S | 50 * %o1 == 0 in parent process, 1 in child process. 51 * %o0 == pid of child in parent, pid of parent in child. 57 dec %o1 ! from 1 to 0 in child, 0 to -1 in parent 59 and %o0, %o1, %o0 ! return 0 in child, pid in parent
|
fork.S | 50 dec %o1 ! from 1 to 0 in child, 0 to -1 in parent 52 and %o0, %o1, %o0 ! return 0 in child, pid in parent
|
/src/lib/libc/compat/arch/powerpc/sys/ |
compat_Ovfork.S | 6 * r4 == 0 in parent process, 1 in child process. 7 * r3 == pid of child in parent, pid of parent in child. 20 addi %r4,%r4,-1 # from 1 to 0 in child, 0 to -1 in parent 21 and %r3,%r3,%r4 # return 0 in child, pid in parent
|
/src/sys/dev/ofw/ |
ofbus.c | 84 * child devices. 120 int child, units; local in function:ofbus_attach 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...] |
/src/sys/arch/riscv/fdt/ |
cpu_fdt.c | 78 for (int child = OF_child(cpus); child; child = OF_peer(child)) { local in function:riscv_fdt_cpu_bootstrap 79 if (!riscv_fdt_cpu_okay(child)) 83 if (fdtbus_get_reg64(child, 0, ®, NULL) != 0) 133 for (int child = OF_child(cpus); child; child = OF_peer(child)) { local in function:riscv_fdt_cpu_mpstart [all...] |
/src/lib/libc/arch/or1k/sys/ |
__vfork14.S | 6 * r12 == 0 in parent process, 1 in child process. 7 * r11 == pid of child in parent, pid of parent in child. 13 l.addi r12,r12,-1 # from 1 to 0 in child, 0 to -1 in parent 14 l.and r11,r11,r12 # return 0 in child, pid in parent
|
fork.S | 6 * r12 == 0 in parent process, 1 in child process. 7 * r11 == pid of child in parent, pid of parent in child. 13 l.addi r12,r12,-1 # from 1 to 0 in child, 0 to -1 in parent 14 l.and r11,r11,r12 # return 0 in child, pid in parent
|
/src/lib/libc/compat/arch/sparc/sys/ |
compat_Ovfork.S | 50 * %o1 == 0 in parent process, 1 in child process. 51 * %o0 == pid of child in parent, pid of parent in child. 60 dec %o1 ! from 1 to 0 in child, 0 to -1 in parent 62 and %o0, %o1, %o0 ! return 0 in child, pid in parent
|
/src/bin/csh/ |
alloc.c | 56 child++; 68 child++; 80 child++; 93 child++;
|
/src/sys/external/bsd/drm/dist/bsd-core/ |
drm_mm.c | 84 struct drm_mm_node *child; local in function:drm_mm_kmalloc 87 child = malloc(sizeof(*child), DRM_MEM_MM, M_NOWAIT); 89 child = malloc(sizeof(*child), DRM_MEM_MM, M_WAITOK); 91 if (__predict_false(child == NULL)) { 94 child = NULL; 96 child = 99 list_del(&child->fl_entry); 104 return child; 133 struct drm_mm_node *child; local in function:drm_mm_create_tail_node 169 struct drm_mm_node *child; local in function:drm_mm_split_at_start [all...] |
/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);
|