/freebsd-current/sys/dev/bhnd/bcma/ |
H A D | bcma_bhndb.c | 92 bcma_bhndb_suspend_child(device_t dev, device_t child) argument 97 if (device_get_parent(child) != dev) 98 BUS_SUSPEND_CHILD(device_get_parent(dev), child); local 100 if (device_is_suspended(child)) 103 dinfo = device_get_ivars(child); 105 /* Suspend the child */ 106 if ((error = bhnd_generic_br_suspend_child(dev, child))) 109 /* Suspend child's agent resource */ 118 bcma_bhndb_resume_child(device_t dev, device_t child) argument 123 if (device_get_parent(child) ! 124 BUS_SUSPEND_CHILD(device_get_parent(dev), child); local [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/ |
H A D | tst.startexit.ksh | 43 /curpsinfo->pr_ppid == $child/ 83 child=$! 88 kill $child
|
/freebsd-current/sys/x86/isa/ |
H A D | orm.c | 86 device_t child; local 97 child = BUS_ADD_CHILD(parent, ISA_ORDER_SENSITIVE, "orm", -1); 98 device_set_driver(child, driver); 99 isa_set_logicalid(child, ORM_ID); 100 isa_set_vendorid(child, ORM_ID); 101 sc = device_get_softc(child); 104 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, chunk, 107 res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid, 110 bus_delete_resource(child, SYS_RES_MEMORY, sc->rnum); 129 bus_release_resource(child, SYS_RES_MEMOR [all...] |
/freebsd-current/contrib/kyua/utils/process/ |
H A D | child_test.cpp | 29 #include "utils/process/child.ipp" 152 /// Body for a child process that throws an exception. 160 /// Body for a child process that creates a pidfile. 171 /// A child process that returns. 174 /// child before the code returns to the fork() call point. 181 /// A child process that raises an exception. 184 /// child before the code returns to the fork() call point. 266 /// Helper for child tests to validate inheritance of stdout/stderr. 270 /// call fork with the given parameters and then make our child redirect one of 295 std::auto_ptr< process::child > chil local 326 std::auto_ptr< process::child > child = process::child::fork_capture(hook); local 368 std::auto_ptr< process::child > child = process::child::fork_capture( local 386 std::auto_ptr< process::child > child = process::child::fork_capture( local 414 std::auto_ptr< process::child > child = process::child::fork_capture( local 434 std::auto_ptr< process::child > child = process::child::fork_capture( local 470 std::auto_ptr< process::child > child = process::child::fork_files( local 493 std::auto_ptr< process::child > child = process::child::fork_files( local 516 std::auto_ptr< process::child > child = process::child::fork_files( local 531 std::auto_ptr< process::child > child = process::child::fork_files( local 560 std::auto_ptr< process::child > child = process::child::fork_files( local 580 std::auto_ptr< process::child > child = process::child::fork_files( local 618 std::auto_ptr< process::child > child = process::child::fork_files( local 633 std::auto_ptr< process::child > child = process::child::fork_files( local 653 std::auto_ptr< process::child > child = process::child::spawn_files( local 672 std::auto_ptr< process::child > child = process::child::spawn_files( local 690 std::auto_ptr< process::child > child = process::child::spawn_files( local 710 std::auto_ptr< process::child > child = process::child::spawn_capture( local 728 std::auto_ptr< process::child > child = process::child::spawn_capture( local 749 std::auto_ptr< process::child > child = process::child::spawn_capture( local 775 std::auto_ptr< process::child > child = process::child::spawn_capture( local 793 std::auto_ptr< process::child > child = process::child::fork_capture( local [all...] |
/freebsd-current/sys/dev/bhnd/ |
H A D | bhnd.c | 142 device_t child = devs[i]; local 145 if ((error = device_delete_child(sc->dev, child))) 203 device_t child = devs[i]; local 206 if ((error = device_shutdown(child))) 240 device_t child = devs[i]; local 243 if ((error = BUS_RESUME_CHILD(device_get_parent(child), child))) 279 device_t child = devs[i]; local 280 error = BUS_SUSPEND_CHILD(device_get_parent(child), child); 306 bhnd_generic_get_probe_order(device_t dev, device_t child) argument 361 bhnd_generic_alloc_pmu(device_t dev, device_t child) argument 484 bhnd_generic_release_pmu(device_t dev, device_t child) argument 537 bhnd_generic_get_clock_latency(device_t dev, device_t child, bhnd_clock clock, u_int *latency) argument 555 bhnd_generic_get_clock_freq(device_t dev, device_t child, bhnd_clock clock, u_int *freq) argument 573 bhnd_generic_request_clock(device_t dev, device_t child, bhnd_clock clock) argument 628 bhnd_generic_enable_clocks(device_t dev, device_t child, uint32_t clocks) argument 689 bhnd_generic_request_ext_rsrc(device_t dev, device_t child, u_int rsrc) argument 727 bhnd_generic_release_ext_rsrc(device_t dev, device_t child, u_int rsrc) argument 762 bhnd_generic_is_region_valid(device_t dev, device_t child, bhnd_port_type type, u_int port, u_int region) argument 783 bhnd_generic_get_nvram_var(device_t dev, device_t child, const char *name, void *buf, size_t *size, bhnd_nvram_type type) argument 812 bhnd_generic_print_child(device_t dev, device_t child) argument 844 bhnd_generic_probe_nomatch(device_t dev, device_t child) argument 883 bhnd_child_pnpinfo(device_t dev, device_t child, struct sbuf *sb) argument 896 bhnd_child_location(device_t dev, device_t child, struct sbuf *sb) argument 918 bhnd_generic_child_deleted(device_t dev, device_t child) argument 940 bhnd_generic_suspend_child(device_t dev, device_t child) argument 943 BUS_SUSPEND_CHILD(device_get_parent(dev), child); local 957 bhnd_generic_resume_child(device_t dev, device_t child) argument 960 BUS_RESUME_CHILD(device_get_parent(dev), child); local 972 bhnd_generic_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, driver_filter_t *filter, driver_intr_t *intr, void *arg, void **cookiep) argument 1049 bhnd_barrier(device_t dev, device_t child, struct bhnd_resource *r, bus_size_t offset, bus_size_t length, int flags) argument 1052 BHND_BUS_BARRIER(device_get_parent(dev), child, r, offset, length, local [all...] |
/freebsd-current/sys/dev/pci/ |
H A D | hostb_pci.c | 40 * provides an AGP capability then we create a child agp device for the 76 * an AGP child. 87 pci_hostb_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument 94 pci_hostb_write_ivar(device_t dev, device_t child, int which, uintptr_t value) argument 101 pci_hostb_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 109 pci_hostb_release_resource(device_t dev, device_t child, struct resource *r) argument 118 pci_hostb_read_config(device_t dev, device_t child, int reg, int width) argument 125 pci_hostb_write_config(device_t dev, device_t child, int reg, argument 133 pci_hostb_enable_busmaster(device_t dev, device_t child) argument 136 device_printf(dev, "child 142 pci_hostb_disable_busmaster(device_t dev, device_t child) argument 151 pci_hostb_enable_io(device_t dev, device_t child, int space) argument 160 pci_hostb_disable_io(device_t dev, device_t child, int space) argument 169 pci_hostb_set_powerstate(device_t dev, device_t child, int state) argument 178 pci_hostb_get_powerstate(device_t dev, device_t child) argument 187 pci_hostb_assign_interrupt(device_t dev, device_t child) argument 196 pci_hostb_find_cap(device_t dev, device_t child, int capability, int *capreg) argument 204 pci_hostb_find_next_cap(device_t dev, device_t child, int capability, int start, int *capreg) argument 212 pci_hostb_find_extcap(device_t dev, device_t child, int capability, int *capreg) argument 220 pci_hostb_find_next_extcap(device_t dev, device_t child, int capability, int start, int *capreg) argument 228 pci_hostb_find_htcap(device_t dev, device_t child, int capability, int *capreg) argument 236 pci_hostb_find_next_htcap(device_t dev, device_t child, int capability, int start, int *capreg) argument [all...] |
/freebsd-current/contrib/capsicum-test/ |
H A D | waittest.c | 31 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-current/usr.sbin/bsdinstall/runconsoles/ |
H A D | Makefile | 5 SRCS= child.c \
|
/freebsd-current/usr.sbin/uefisign/ |
H A D | Makefile | 3 SRCS= uefisign.c child.c pe.c
|
/freebsd-current/lib/libc/stdlib/ |
H A D | heapsort.c | 82 #define CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) { \ 85 child = base + child_i * size; \ 86 if (child_i < nmemb && COMPAR(child, child + size) < 0) { \ 87 child += size; \ 91 if (COMPAR(child, par) <= 0) \ 93 SWAP(par, child, count, size, tmp); \ 102 * heapify, always maintaining the invariant that the larger child is copied 114 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \ 116 child [all...] |
/freebsd-current/contrib/mandoc/ |
H A D | eqn_term.c | 54 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-current/contrib/netbsd-tests/kernel/arch/i386/ |
H A D | t_ptrace_wait.c | 69 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-current/sys/arm64/coresight/ |
H A D | coresight_fdt.c | 50 phandle_t node, child; local 58 child = ofw_bus_find_child(dev_node, "ports"); 59 if (child) 60 node = child; 64 for (child = OF_child(node); child != 0; child = OF_peer(child)) { 65 ret = OF_getprop_alloc(child, "name", (void **)&name); 72 OF_getencprop(child, "re [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/ |
H A D | tst.ufunc.ksh | 60 child=$! 70 kill $child
|
H A D | tst.sym.ksh | 60 child=$! 69 kill $child
|
H A D | tst.umod.ksh | 60 child=$! 68 kill $child
|
H A D | tst.usym.ksh | 60 child=$! 69 kill $child
|
H A D | tst.func.ksh | 60 child=$! 73 kill $child
|
H A D | tst.mod.ksh | 60 child=$! 69 kill $child
|
/freebsd-current/contrib/kyua/utils/signals/ |
H A D | misc_test.cpp | 42 #include "utils/process/child.ipp" 62 /// function should never return correctly (and thus the child process should 102 std::auto_ptr< process::child > child = process::child::fork_files( local 104 process::status status = child->wait(); 120 std::auto_ptr< process::child > child = process::child::fork_files( local 122 process::status status = child [all...] |
/freebsd-current/sys/dev/bhnd/cores/chipc/pwrctl/ |
H A D | bhnd_pwrctl.h | 39 * @p child. 42 * @param child The requesting bhnd(4) device. 49 bhnd_pwrctl_request_clock(device_t dev, device_t child, bhnd_clock clock) argument 51 return (BHND_PWRCTL_REQUEST_CLOCK(dev, child, clock));
|
/freebsd-current/sys/powerpc/powernv/ |
H A D | powernv_centaur.c | 88 phandle_t child; local 92 for (child = OF_child(ofw_bus_get_node(dev)); child != 0; 93 child = OF_peer(child)) { 95 if (ofw_bus_gen_setup_devinfo(dinfo, child) != 0) { 114 powernv_centaur_get_devinfo(device_t dev, device_t child) argument 116 return (device_get_ivars(child));
|
H A D | opal_i2cm.c | 89 phandle_t child; local 93 for (child = OF_child(ofw_bus_get_node(dev)); child != 0; 94 child = OF_peer(child)) { 96 if (ofw_bus_gen_setup_devinfo(dinfo, child) != 0) { 115 opal_i2cm_get_devinfo(device_t dev, device_t child) argument 117 return (device_get_ivars(child));
|
H A D | powernv_xscom.c | 88 phandle_t child; local 92 for (child = OF_child(ofw_bus_get_node(dev)); child != 0; 93 child = OF_peer(child)) { 95 if (ofw_bus_gen_setup_devinfo(dinfo, child) != 0) { 114 powernv_xscom_get_devinfo(device_t dev, device_t child) argument 116 return (device_get_ivars(child));
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.fork.d | 47 child = args[0]->p_pid; 52 /pid == child/ 59 /pid == $1 || pid == child/
|