Searched refs:child (Results 1 - 25 of 429) sorted by relevance

1234567891011>>

/src/tests/lib/libc/sys/
H A Dt_ptrace_kill_wait.h33 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));
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...]
H A Dt_ptrace_syscall_wait.h49 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,
203 pid_t child, wpid; local in function:ATF_TC_BODY
[all...]
H A Dt_ptrace_eventmask_wait.h34 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,
[all...]
H A Dt_ptrace_misc_wait.h32 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...]
H A Dt_ptrace_i386_wait.h41 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,
[all...]
H A Dt_ptrace_register_wait.h35 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,
[all...]
H A Dt_ptrace_threads_wait.h52 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...]
H A Dt_ptrace_amd64_wait.h44 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,
[all...]
/src/sys/dev/fdt/
H A Dcpus.c62 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) argument
82 s = fdtbus_get_string(child, "device_type");
87 s = fdtbus_get_string(child, "statu
[all...]
H A Dgpioleds.c86 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/
H A D__vfork14.S6 * 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
H A Dfork.S6 * 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/
H A D__vfork14.S6 * 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
H A Dfork.S6 * 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/
H A D__vfork14.S50 * %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
H A Dfork.S50 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/
H A Dcompat_Ovfork.S6 * 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/
H A Dofbus.c84 * 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/
H A Dcpu_fdt.c78 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, &reg, 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/
H A D__vfork14.S6 * 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
H A Dfork.S6 * 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/
H A Dcompat_Ovfork.S50 * %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/
H A Dalloc.c56 child++;
68 child++;
80 child++;
93 child++;
/src/sys/external/bsd/drm/dist/bsd-core/
H A Ddrm_mm.c84 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/sys/dev/mii/
H A Dmii.c67 struct mii_softc *child; local in function:mii_attach
120 LIST_FOREACH(child, &mii->mii_phys, mii_list) {
121 if (child->mii_phy == ma.mii_phyno) {
175 child = device_private(
180 if (child) {
182 if (child->mii_flags & MIIF_AUTOTSLEEP)
183 cv_init(&child->mii_nway_cv, "miiauto");
185 callout_init(&child->mii_nway_ch, 0);
187 LIST_INSERT_HEAD(&mii->mii_phys, child, mii_list);
188 child
205 struct mii_softc *child, *nchild; local in function:mii_detach
317 struct mii_softc *child; local in function:mii_mediachg
341 struct mii_softc *child; local in function:mii_tick
346 LIST_FOREACH(child, &mii->mii_phys, mii_list) local in function:mii_tick
358 struct mii_softc *child; local in function:mii_pollstat
366 LIST_FOREACH(child, &mii->mii_phys, mii_list) local in function:mii_pollstat
378 struct mii_softc *child; local in function:mii_down
383 LIST_FOREACH(child, &mii->mii_phys, mii_list) local in function:mii_down
[all...]

Completed in 16 milliseconds

1234567891011>>