/freebsd-10-stable/sys/arm/freescale/vybrid/ |
H A D | vf_ccm.c | 399 phandle_t child, parent, root; local 408 for (child = OF_child(parent); child != 0; child = OF_peer(child)) { 411 while (OF_child(child)) { 412 parent = child; 413 child = OF_child(child); 416 if (!fdt_is_enabled(child)) [all...] |
/freebsd-10-stable/sys/dev/ppc/ |
H A D | ppcvar.h | 43 struct resource *ppc_alloc_resource(device_t bus, device_t child, int type, 45 int ppc_release_resource(device_t bus, device_t child, int type, int rid,
|
/freebsd-10-stable/sys/powerpc/pseries/ |
H A D | plpar_iommu.h | 35 int phyp_iommu_set_dma_tag(device_t dev, device_t child, bus_dma_tag_t tag);
|
/freebsd-10-stable/contrib/netbsd-tests/kernel/kqueue/write/ |
H A D | t_ttypty.c | 59 pid_t child; local 68 RL(child = fork()); 69 if (child == 0) { 73 (void)printf("tty: child read '%.*s'\n", n, buffer); 100 (void)waitpid(child, &status, 0);
|
/freebsd-10-stable/usr.bin/mail/ |
H A D | popen.c | 54 struct child { struct 59 struct child *link; 61 static struct child *child; variable in typeref:struct:child 62 static struct child *findchild(int); 63 static void delchild(struct child *); 281 static struct child * 284 struct child **cpp; 286 for (cpp = &child; *cpp != NULL && (*cpp)->pid != pid; 290 *cpp = malloc(sizeof(struct child)); [all...] |
/freebsd-10-stable/sys/sparc64/sparc64/ |
H A D | upa.c | 74 uint64_t child; member in struct:upa_ranges 191 phandle_t child, node; local 340 for (child = OF_child(node); child != 0; child = OF_peer(child)) { 348 if (OF_getprop(child, "upa-portid", &portid, 351 "could not determine upa-portid of child 0x%lx\n", 352 (unsigned long)child); 357 "upa-portid %d of child 382 upa_print_child(device_t dev, device_t child) argument 393 upa_probe_nomatch(device_t dev, device_t child) argument 405 upa_alloc_resource(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument 491 upa_setup_intr(device_t dev, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *func, void *arg, void **cookiep) argument 521 upa_get_resource_list(device_t dev, device_t child) argument 530 upa_get_devinfo(device_t dev, device_t child) argument [all...] |
H A D | nexus.c | 282 nexus_print_child(device_t bus, device_t child) argument 286 rv = bus_print_child_header(bus, child); 287 rv += nexus_print_res(device_get_ivars(child)); 288 rv += bus_print_child_footer(bus, child); 293 nexus_probe_nomatch(device_t bus, device_t child) argument 297 device_printf(bus, "<%s>", ofw_bus_get_name(child)); 298 nexus_print_res(device_get_ivars(child)); 299 type = ofw_bus_get_type(child); 305 nexus_setup_intr(device_t bus __unused, device_t child, struct resource *r, argument 322 error = inthand_add(device_get_nameunit(child), rman_get_star 361 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument 476 nexus_release_resource(device_t bus __unused, device_t child, int type, int rid, struct resource *r) argument 490 nexus_get_resource_list(device_t bus __unused, device_t child) argument 506 nexus_get_devinfo(device_t bus __unused, device_t child) argument [all...] |
/freebsd-10-stable/sys/dev/pccard/ |
H A D | pccard.c | 100 static int pccard_print_child(device_t dev, device_t child); 101 static int pccard_set_resource(device_t dev, device_t child, int type, 103 static int pccard_get_resource(device_t dev, device_t child, int type, 105 static void pccard_delete_resource(device_t dev, device_t child, int type, 107 static int pccard_set_res_flags(device_t dev, device_t child, int type, 109 static int pccard_set_memory_offset(device_t dev, device_t child, int rid, 111 static int pccard_probe_and_attach_child(device_t dev, device_t child, 113 static void pccard_probe_nomatch(device_t cbdev, device_t child); 114 static int pccard_read_ivar(device_t bus, device_t child, int which, 118 device_t child, in 189 device_t child; local 255 pccard_probe_and_attach_child(device_t dev, device_t child, struct pccard_function *pf) argument 899 pccard_print_child(device_t dev, device_t child) argument 927 pccard_set_resource(device_t dev, device_t child, int type, int rid, u_long start, u_long count) argument 956 pccard_get_resource(device_t dev, device_t child, int type, int rid, u_long *startp, u_long *countp) argument 976 pccard_delete_resource(device_t dev, device_t child, int type, int rid) argument 984 pccard_set_res_flags(device_t dev, device_t child, int type, int rid, u_long flags) argument 992 pccard_set_memory_offset(device_t dev, device_t child, int rid, uint32_t offset, uint32_t *deltap) argument 1001 pccard_probe_nomatch(device_t bus, device_t child) argument 1020 pccard_child_location_str(device_t bus, device_t child, char *buf, size_t buflen) argument 1051 pccard_child_pnpinfo_str(device_t bus, device_t child, char *buf, size_t buflen) argument 1068 pccard_read_ivar(device_t bus, device_t child, int which, uintptr_t *result) argument 1122 device_t child; local 1136 pccard_alloc_resource(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument 1185 pccard_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 1276 pccard_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) argument 1304 pccard_teardown_intr(device_t dev, device_t child, struct resource *r, void *cookie) argument 1328 pccard_activate_resource(device_t brdev, device_t child, int type, int rid, struct resource *r) argument 1351 pccard_deactivate_resource(device_t brdev, device_t child, int type, int rid, struct resource *r) argument 1359 pccard_attr_read_impl(device_t brdev, device_t child, uint32_t offset, uint8_t *val) argument 1385 pccard_attr_write_impl(device_t brdev, device_t child, uint32_t offset, uint8_t val) argument 1412 pccard_ccr_read_impl(device_t brdev, device_t child, uint32_t offset, uint8_t *val) argument 1424 pccard_ccr_write_impl(device_t brdev, device_t child, uint32_t offset, uint8_t val) argument [all...] |
/freebsd-10-stable/sys/powerpc/aim/ |
H A D | slb.c | 118 struct slbtnode *child; local 126 child = uma_zalloc(slbt_zone, M_NOWAIT | M_ZERO); 127 KASSERT(child != NULL, ("unhandled NULL case")); 129 child->ua_level = UAD_LEAF_LEVEL; 130 child->ua_base = esid2base(esid, child->ua_level); 131 idx = esid2idx(esid, child->ua_level); 132 child->u.slb_entries[idx].slbv = slbv; 133 child->u.slb_entries[idx].slbe = (esid << SLBE_ESID_SHIFT) | SLBE_VALID; 134 setbit(&child 159 struct slbtnode *child, *inter; local [all...] |
/freebsd-10-stable/sys/kern/ |
H A D | subr_bus.c | 118 device_list_t children; /**< list of child devices */ 1078 * DC_HAS_CHILDREN flag when a child devclass is created on 1204 * DC_HAS_CHILDREN flag when a child devclass is created on 1742 * @brief Make a new device and add it as a child of @p parent 1812 device_print_child(device_t dev, device_t child) argument 1816 if (device_is_alive(child)) 1817 retval += BUS_PRINT_CHILD(dev, child); 1819 retval += device_printf(child, " not found\n"); 1827 * This creates a new device and adds it as a child of an existing 1829 * child wit 1869 device_t child; local 1919 device_delete_child(device_t dev, device_t child) argument 1965 device_t child; local 2000 device_t child; local 2051 device_probe_child(device_t dev, device_t child) argument 2249 device_t child; local 3232 resource_list_reserve(struct resource_list *rl, device_t bus, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument 3289 resource_list_alloc(struct resource_list *rl, device_t bus, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument 3362 resource_list_release(struct resource_list *rl, device_t bus, device_t child, int type, int rid, struct resource *res) argument 3419 resource_list_release_active(struct resource_list *rl, device_t bus, device_t child, int type) argument 3462 resource_list_unreserve(struct resource_list *rl, device_t bus, device_t child, int type, int rid) argument 3597 device_t child; local 3616 device_t child; local 3640 device_t child; local 3662 device_t child, child2; local 3686 device_t child; local 3705 bus_print_child_header(device_t dev, device_t child) argument 3728 bus_print_child_footer(device_t dev, device_t child) argument 3741 bus_print_child_domain(device_t dev, device_t child) argument 3761 bus_generic_print_child(device_t dev, device_t child) argument 3778 bus_generic_read_ivar(device_t dev, device_t child, int index, uintptr_t * result) argument 3790 bus_generic_write_ivar(device_t dev, device_t child, int index, uintptr_t value) argument 3802 bus_generic_get_resource_list(device_t dev, device_t child) argument 3817 device_t child; local 3842 device_t child; local 3864 bus_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 3882 bus_generic_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie) argument 3898 bus_generic_adjust_resource(device_t dev, device_t child, int type, struct resource *r, u_long start, u_long end) argument 3915 bus_generic_alloc_resource(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument 3932 bus_generic_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 3949 bus_generic_activate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 3966 bus_generic_deactivate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 3983 bus_generic_bind_intr(device_t dev, device_t child, struct resource *irq, int cpu) argument 4017 bus_generic_describe_intr(device_t dev, device_t child, struct resource *irq, void *cookie, const char *descr) argument 4035 bus_generic_get_dma_tag(device_t dev, device_t child) argument 4053 bus_generic_rl_get_resource(device_t dev, device_t child, int type, int rid, u_long *startp, u_long *countp) argument 4084 bus_generic_rl_set_resource(device_t dev, device_t child, int type, int rid, u_long start, u_long count) argument 4107 bus_generic_rl_delete_resource(device_t dev, device_t child, int type, int rid) argument 4128 bus_generic_rl_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 4152 bus_generic_rl_alloc_resource(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument 4176 bus_generic_child_present(device_t dev, device_t child) argument 4182 bus_generic_get_domain(device_t dev, device_t child, int *domain) argument 4463 bus_child_present(device_t child) argument 4475 bus_child_pnpinfo_str(device_t child, char *buf, size_t buflen) argument 4494 bus_child_location_str(device_t child, char *buf, size_t buflen) argument 4548 root_print_child(device_t dev, device_t child) argument 4559 root_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 4576 root_child_present(device_t dev, device_t child) argument 4796 device_t child; local 4812 device_t child; local [all...] |
/freebsd-10-stable/sys/powerpc/wii/ |
H A D | wii_bus.c | 234 wiibus_print_child(device_t dev, device_t child) argument 236 struct wiibus_devinfo *dinfo = device_get_ivars(child); 239 retval += bus_print_child_header(dev, child); 244 retval += bus_print_child_footer(dev, child); 250 wiibus_alloc_resource(device_t bus, device_t child, int type, argument 261 dinfo = device_get_ivars(child); 271 device_get_nameunit(child), *rid); 275 rle->count, flags, child); 279 device_get_nameunit(child)); 285 return (resource_list_alloc(&dinfo->di_resources, bus, child, 306 wiibus_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument [all...] |
/freebsd-10-stable/sys/dev/mii/ |
H A D | mii.c | 170 miibus_print_child(device_t dev, device_t child) argument 175 ma = device_get_ivars(child); 176 retval = bus_print_child_header(dev, child); 178 retval += bus_print_child_footer(dev, child); 184 miibus_read_ivar(device_t dev, device_t child __unused, int which, 205 miibus_child_pnpinfo_str(device_t dev __unused, device_t child, char *buf, argument 210 ma = device_get_ivars(child); 218 miibus_child_location_str(device_t dev __unused, device_t child, char *buf, argument 223 ma = device_get_ivars(child); 542 struct mii_softc *child; local 578 struct mii_softc *child; local 598 struct mii_softc *child; local 620 struct mii_softc *child; local [all...] |
/freebsd-10-stable/sys/mips/rt305x/ |
H A D | obio.c | 271 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 275 struct obio_ivar *ivar = device_get_ivars(child); 283 passthrough = (device_get_parent(child) != bus); 287 return (BUS_ALLOC_RESOURCE(device_get_parent(bus), child, type, 293 * maintained by a child bus), then work out the start/end values. 319 rv = rman_reserve_resource(rm, start, end, count, flags, child); 328 if (bus_activate_resource(child, type, *rid, rv)) { 339 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument 360 obio_deactivate_resource(device_t bus, device_t child, int type, int rid, argument 368 obio_release_resource(device_t dev, device_t child, in argument 387 obio_setup_intr(device_t dev, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *handler, void *arg, void **cookiep) argument 430 obio_teardown_intr(device_t dev, device_t child, struct resource *ires, void *cookie) argument 496 device_t child; local 537 device_t child; local 563 obio_get_resource_list(device_t dev, device_t child) argument 588 obio_print_child(device_t bus, device_t child) argument [all...] |
/freebsd-10-stable/sys/dev/ofw/ |
H A D | openfirm.c | 120 phandle_t child, xref; local 127 for (child = OF_child(node); child != 0; child = OF_peer(child)) { 128 xrefinfo_create(child); 129 if (OF_getencprop(child, "phandle", &xref, sizeof(xref)) == 130 -1 && OF_getencprop(child, "ibm,phandle", &xref, 131 sizeof(xref)) == -1 && OF_getencprop(child, 135 xi->node = child; 542 phandle_t child, rxref; local [all...] |
H A D | openpromio.c | 215 phandle_t child; local 219 for (child = OF_child(root); child != 0 && child != -1; 220 child = OF_peer(child)) 221 if (openprom_node_search(child, node) == 0)
|
/freebsd-10-stable/contrib/netbsd-tests/lib/librt/ |
H A D | t_sem.c | 116 ATF_TC_WITH_CLEANUP(child); variable 117 ATF_TC_HEAD(child, tc) 120 "parent with multiple child processes"); 122 ATF_TC_BODY(child, tc) 171 ATF_TC_CLEANUP(child, tc) 180 ATF_TP_ADD_TC(tp, child);
|
/freebsd-10-stable/sys/arm/xscale/ixp425/ |
H A D | ixp425.c | 368 device_t child; local 371 child = BUS_ADD_CHILD(bus, 0, dname, dunit); 372 ivar = IXP425_IVAR(child); 380 device_t child; local 383 child = device_add_child_ordered(dev, order, name, unit); 384 if (child == NULL) 388 device_delete_child(dev, child); 393 device_set_ivars(child, ivar); 394 return child; 398 ixp425_read_ivar(device_t bus, device_t child, in argument 498 ixp425_alloc_resource(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument 572 ixp425_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument 580 ixp425_activate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 605 ixp425_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument 638 ixp425_setup_intr(device_t dev, device_t child, struct resource *res, int flags, driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) argument 657 ixp425_teardown_intr(device_t dev, device_t child, struct resource *res, void *cookie) argument [all...] |
/freebsd-10-stable/sys/powerpc/powerpc/ |
H A D | nexus.c | 124 nexus_setup_intr(device_t bus __unused, device_t child, struct resource *r, argument 141 error = powerpc_setup_intr(device_get_nameunit(child), 148 nexus_teardown_intr(device_t bus __unused, device_t child __unused, 160 nexus_bind_intr(device_t bus __unused, device_t child __unused, 177 nexus_ofw_map_intr(device_t dev, device_t child, phandle_t iparent, int icells, argument 187 nexus_activate_resource(device_t bus __unused, device_t child __unused, 211 nexus_deactivate_resource(device_t bus __unused, device_t child __unused,
|
/freebsd-10-stable/sys/sparc64/fhc/ |
H A D | fhc.c | 163 phandle_t child; local 280 for (child = OF_child(node); child != 0; child = OF_peer(child)) { 282 if (ofw_bus_gen_setup_devinfo(&fdi->fdi_obdinfo, child) != 0) { 286 i = OF_getprop_alloc(child, "reg", sizeof(*reg), 302 i = OF_getprop_alloc(child, "interrupts", 336 fhc_print_child(device_t dev, device_t child) argument 340 rv = bus_print_child_header(dev, child); 347 fhc_probe_nomatch(device_t dev, device_t child) argument 401 fhc_setup_intr(device_t bus, device_t child, struct resource *r, int flags, driver_filter_t *filt, driver_intr_t *func, void *arg, void **cookiep) argument 422 fhc_alloc_resource(device_t bus, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument 490 fhc_get_resource_list(device_t bus, device_t child) argument 499 fhc_get_devinfo(device_t bus, device_t child) argument [all...] |
/freebsd-10-stable/usr.bin/tip/libacu/ |
H A D | v831.c | 50 static pid_t child = -1; variable 76 kill(child, SIGKILL); 83 if ((child = fork()) == 0) { 105 kill(child, SIGKILL); 111 while ((pid = wait(&status)) != child && pid != -1) 159 if (child > 0) 160 kill(child, SIGKILL);
|
/freebsd-10-stable/contrib/libarchive/libarchive/ |
H A D | filter_fork_posix.c | 79 pid_t child; local 141 r = posix_spawnp(&child, cmdline->path, &actions, NULL, 150 child = vfork(); 152 child = fork(); 154 if (child == -1) 156 if (child == 0) { 181 *out_child = child;
|
/freebsd-10-stable/sys/dev/siba/ |
H A D | siba_pcib.c | 203 siba_pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument 218 siba_pcib_write_ivar(device_t dev, device_t child, int which, uintptr_t value) argument 233 siba_pcib_setup_intr(device_t dev, device_t child, struct resource *ires, argument 238 return (BUS_SETUP_INTR(device_get_parent(dev), child, ires, flags, 243 siba_pcib_teardown_intr(device_t dev, device_t child, struct resource *vec, argument 247 return (BUS_TEARDOWN_INTR(device_get_parent(dev), child, vec, cookie)); 251 siba_pcib_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 280 rv = rman_reserve_resource(rmanp, start, end, count, flags, child); 297 siba_pcib_activate_resource(device_t bus, device_t child, int type, int rid, argument 303 device_get_nameunit(child)); 308 siba_pcib_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument 319 siba_pcib_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument [all...] |
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zio_checksum.c | 164 zio_checksum_select(enum zio_checksum child, enum zio_checksum parent) argument 166 ASSERT(child < ZIO_CHECKSUM_FUNCTIONS); 170 if (child == ZIO_CHECKSUM_INHERIT) 173 if (child == ZIO_CHECKSUM_ON) 176 return (child); 180 zio_checksum_dedup_select(spa_t *spa, enum zio_checksum child, argument 183 ASSERT((child & ZIO_CHECKSUM_MASK) < ZIO_CHECKSUM_FUNCTIONS); 187 if (child == ZIO_CHECKSUM_INHERIT) 190 if (child == ZIO_CHECKSUM_ON) 193 if (child [all...] |
/freebsd-10-stable/sys/arm/at91/ |
H A D | at91.c | 306 at91_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 311 struct at91_ivar *ivar = device_get_ivars(child); 315 if (device_get_parent(child) != dev) 316 return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child, 333 start, end, count, flags, child); 337 start, end, count, flags, child); 356 at91_get_resource_list(device_t dev, device_t child) argument 360 ivar = device_get_ivars(child); 365 at91_release_resource(device_t dev, device_t child, int type, argument 371 rl = at91_get_resource_list(dev, child); 383 at91_setup_intr(device_t dev, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) argument 400 at91_teardown_intr(device_t dev, device_t child, struct resource *res, void *cookie) argument 411 at91_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument 430 at91_print_child(device_t dev, device_t child) argument [all...] |
/freebsd-10-stable/sys/dev/fdt/ |
H A D | fdt_common.c | 210 phandle_t child; local 216 for (child = OF_child(start); child != 0; child = OF_peer(child)) 217 if (fdt_is_compatible(child, compat)) { 219 if (!fdt_is_compatible_strict(child, compat)) 221 return (child); 229 phandle_t child, node; local 240 child 502 device_t parent, child; local [all...] |