Searched defs:child (Results 1 - 25 of 646) sorted by relevance

1234567891011>>

/freebsd-head/sys/dev/xen/pci/
H A Dxen_acpi_pci.c70 xen_acpi_pci_child_added(device_t dev, device_t child) argument
73 acpi_pci_child_added(dev, child);
74 xen_pci_child_added_method(dev, child);
/freebsd-head/tests/sys/kern/
H A Dwaitpid_nohang.c39 pid_t child, pid; local
42 child = fork();
43 ATF_REQUIRE(child != -1);
44 if (child == 0) {
50 pid = waitpid(child, &status, WNOHANG);
54 r = kill(child, SIGTERM);
56 r = waitid(P_PID, child, NULL, WEXITED | WNOWAIT);
60 pid = waitpid(child, &status, WNOHANG);
61 ATF_REQUIRE(pid == child);
H A Dkill_zombie.c39 pid_t child, pid; local
42 child = fork();
43 ATF_REQUIRE(child != -1);
44 if (child == 0) {
48 r = waitid(P_PID, child, NULL, WEXITED | WNOWAIT);
51 r = kill(child, SIGTERM);
55 pid = waitpid(child, &status, 0);
56 ATF_REQUIRE(pid == child);
/freebsd-head/contrib/capsicum-test/
H A Dwaittest.c31 fprintf(stderr, "pdfork()ed child pid=%ld procfd=%d\n", (long)rc, procfd);
32 sleep(2); // Allow child to complete
33 pid_t child = waitpid(-1, &rc, WNOHANG); local
34 if (child == 0) {
35 fprintf(stderr, "waitpid(): no completed child found\n");
36 } else if (child < 0) {
39 fprintf(stderr, "waitpid(): found completed child %ld\n", (long)child);
/freebsd-head/contrib/kyua/utils/process/
H A Dchild.hpp29 /// \file utils/process/child.hpp
32 /// The child module provides a set of functions to spawn subprocesses with
75 class child : noncopyable { class in namespace:utils::process
81 static std::auto_ptr< child > fork_capture_aux(void);
83 static std::auto_ptr< child > fork_files_aux(const fs::path&,
86 explicit child(impl *);
89 ~child(void);
92 static std::auto_ptr< child > fork_capture(Hook);
96 static std::auto_ptr< child > fork_files(Hook, const fs::path&,
99 static std::auto_ptr< child > spawn_captur
[all...]
H A Ddeadline_killer_test.cpp41 #include "utils/process/child.ipp"
51 /// Body of a child process that sleeps and then exits.
69 std::auto_ptr< process::child > child = process::child::fork_capture( local
73 process::deadline_killer killer(datetime::delta(1, 0), child->pid());
74 const process::status status = child->wait();
88 std::auto_ptr< process::child > child = process::child local
[all...]
/freebsd-head/contrib/netbsd-tests/kernel/arch/i386/
H A Dt_ptrace_wait.c69 pid_t child, wpid; local
76 ATF_REQUIRE((child = fork()) != -1);
77 if (child == 0) {
78 printf("Before calling PT_TRACE_ME from child %d\n", getpid());
81 printf("Before raising %s from child\n", strsignal(sigval));
84 printf("Before exiting of the child process\n");
87 printf("Parent process PID=%d, child's PID=%d\n", getpid(), child);
89 printf("Before calling %s() for the child\n", TWAIT_FNAME);
90 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child,
[all...]
/freebsd-head/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctl.h42 * @p child.
45 * @param child The requesting bhnd(4) device.
52 bhnd_pwrctl_request_clock(device_t dev, device_t child, bhnd_clock clock) argument
54 return (BHND_PWRCTL_REQUEST_CLOCK(dev, child, clock));
/freebsd-head/sys/dev/extres/regulator/
H A Dregulator_bus.c61 phandle_t node, child; local
66 for (child = OF_child(node); child > 0; child = OF_peer(child)) {
67 simplebus_add_device(dev, child, 0, NULL, -1, NULL);
/freebsd-head/contrib/mandoc/
H A Deqn_term.c54 const struct eqn_box *child; local
115 child = bp->first;
116 eqn_box(p, child);
121 child = child->next;
122 if (child != NULL) {
124 eqn_box(p, child);
130 child = child->next;
131 if (child !
[all...]
/freebsd-head/sys/powerpc/powernv/
H A Dopal_i2cm.c96 phandle_t child; local
100 for (child = OF_child(ofw_bus_get_node(dev)); child != 0;
101 child = OF_peer(child)) {
103 if (ofw_bus_gen_setup_devinfo(dinfo, child) != 0) {
122 opal_i2cm_get_devinfo(device_t dev, device_t child) argument
124 return (device_get_ivars(child));
H A Dpowernv_centaur.c95 phandle_t child; local
99 for (child = OF_child(ofw_bus_get_node(dev)); child != 0;
100 child = OF_peer(child)) {
102 if (ofw_bus_gen_setup_devinfo(dinfo, child) != 0) {
121 powernv_centaur_get_devinfo(device_t dev, device_t child) argument
123 return (device_get_ivars(child));
H A Dpowernv_xscom.c95 phandle_t child; local
99 for (child = OF_child(ofw_bus_get_node(dev)); child != 0;
100 child = OF_peer(child)) {
102 if (ofw_bus_gen_setup_devinfo(dinfo, child) != 0) {
121 powernv_xscom_get_devinfo(device_t dev, device_t child) argument
123 return (device_get_ivars(child));
/freebsd-head/sys/powerpc/pseries/
H A Dplpar_pcibus.c55 static bus_dma_tag_t plpar_pcibus_get_dma_tag(device_t dev, device_t child);
95 plpar_pcibus_get_dma_tag(device_t dev, device_t child) argument
99 while (device_get_parent(child) != dev)
100 child = device_get_parent(child);
102 dinfo = device_get_ivars(child);
111 phyp_iommu_set_dma_tag(dev, child, dinfo->opd_dma_tag);
/freebsd-head/contrib/binutils/gprof/
H A Dmips.c47 Sym *child; local
54 indirect_child.name = _("<indirect child>");
76 child = sym_lookup (&symtab, dest_pc);
79 (unsigned long) dest_pc, child->name,
80 (unsigned long) child->addr));
81 if (child->addr == dest_pc)
85 arc_add (parent, child, (unsigned long) 0);
/freebsd-head/contrib/elftoolchain/libdwarf/
H A Ddwarf_pro_die.c48 Dwarf_P_Die parent, Dwarf_P_Die child, Dwarf_P_Die left_sibling,
59 count = _dwarf_die_count_links(parent, child, left_sibling,
78 _dwarf_die_link(die, parent, child, left_sibling, right_sibling);
85 Dwarf_P_Die child, Dwarf_P_Die left_sibling, Dwarf_P_Die right_sibling,
98 count = _dwarf_die_count_links(parent, child, left_sibling,
107 _dwarf_die_link(die, parent, child, left_sibling, right_sibling);
47 dwarf_new_die(Dwarf_P_Debug dbg, Dwarf_Tag new_tag, Dwarf_P_Die parent, Dwarf_P_Die child, Dwarf_P_Die left_sibling, Dwarf_P_Die right_sibling, Dwarf_Error *error) argument
84 dwarf_die_link(Dwarf_P_Die die, Dwarf_P_Die parent, Dwarf_P_Die child, Dwarf_P_Die left_sibling, Dwarf_P_Die right_sibling, Dwarf_Error *error) argument
/freebsd-head/sys/x86/xen/
H A Dxen_pci_bus.c48 xen_pci_enable_msi_method(device_t dev, device_t child, uint64_t address, argument
51 struct pci_devinfo *dinfo = device_get_ivars(child);
56 pci_write_config(child, msi->msi_location + PCIR_MSI_CTRL,
61 xen_pci_disable_msi_method(device_t dev, device_t child) argument
63 struct pci_devinfo *dinfo = device_get_ivars(child);
67 pci_write_config(child, msi->msi_location + PCIR_MSI_CTRL,
72 xen_pci_child_added_method(device_t dev, device_t child) argument
78 dinfo = device_get_ivars(child);
/freebsd-head/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_file.c59 child(void) function
94 child();
/freebsd-head/contrib/netbsd-tests/kernel/kqueue/write/
H A Dt_fifo.c62 pid_t child; local
69 /* spawn child reader */
70 RL(child = fork());
71 if (child == 0) {
74 (void)printf("fifo: child read '%.*s'\n", sz, buffer);
94 (void)waitpid(child, &status, 0);
H A Dt_pipe.c86 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);
/freebsd-head/contrib/netbsd-tests/kernel/kqueue/
H A Dt_proc1.c57 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 */
/freebsd-head/usr.bin/tip/libacu/
H A Ddn11.c51 static pid_t child = -1, dn; variable
72 kill(child, SIGKILL);
79 if ((child = fork()) == 0) {
99 kill(child, SIGKILL);
108 while ((nw = wait(&lt)) != child && nw != -1)
144 if (child > 0)
145 kill(child, SIGKILL);
/freebsd-head/contrib/ofed/opensm/include/opensm/
H A Dosm_mtree.h115 * Maximum number of child nodes of this node. Equal to the
126 * child osm_mtree_node_t objects of this tree node, if any.
212 * Returns the specified child node of this node.
219 IN uint8_t child)
221 CL_ASSERT(child < p_mtn->max_children);
222 return (p_mtn->child_array[child]);
229 * child
230 * [in] Index of the child to retrieve.
233 * Returns the specified child node of this node.
261 * child
216 osm_mtree_node_get_child(IN const osm_mtree_node_t * p_mtn, IN uint8_t child) argument
[all...]
/freebsd-head/sys/dev/extres/clk/
H A Dclk_bus.c63 phandle_t node, child; local
69 for (child = OF_child(node); child > 0; child = OF_peer(child)) {
70 cdev = simplebus_add_device(dev, child, 0, NULL, -1, NULL);
/freebsd-head/sys/arm/mv/armada38x/
H A Darmada38x_mp.c78 phandle_t cpus_node, child; local
93 for (child = OF_child(cpus_node); child != 0; child = OF_peer(child)) {
94 /* Check if child is a CPU */
96 rv = OF_getprop(child, "device_type", device_type,

Completed in 98 milliseconds

1234567891011>>