/illumos-gate/usr/src/uts/common/io/usb/usb_mid/ |
H A D | usb_mid.c | 114 dev_info_t **child); 311 * child post attach/detach notification 319 /* if child successfully attached, set power */ 322 * Check if the child created wants to be power managed. 325 * If no, we set power of the new child by default 434 void *arg, dev_info_t **child) 453 rval = ndi_busop_bus_config(dip, flag, op, arg, child, 0); 654 * allocate array for keeping track of child dips 1027 * are child interfaces 1035 "child interfac 433 usb_mid_bus_config(dev_info_t *dip, uint_t flag, ddi_bus_config_op_t op, void *arg, dev_info_t **child) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | ssm.c | 249 static int init_child(dev_info_t *child); 536 name_child(dev_info_t *child, char *name, int namelen) argument 544 make_ddi_ppd(child, &pdptr); 545 ddi_set_parent_data(child, pdptr); 548 if (sparc_pd_getnreg(child) == 0) 551 rp = sparc_pd_getreg(child, 0); 553 portid = ddi_prop_get_int(DDI_DEV_T_ANY, child, 557 DEVI(child)->devi_node_name); 566 init_child(dev_info_t *child) argument 570 (void) name_child(child, nam [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | fcgp2.c | 139 gp2_fc_ops_alloc_handle(dev_info_t *ap, dev_info_t *child, argument 147 rp->next_handle = fc_ops_alloc_handle(ap, child, fcode, fcode_size, 150 rp->child = child; 164 * Add the child's nodeid to our table... 166 h = ddi_get_nodeid(rp->child); 167 fc_add_dip_to_phandle(fc_handle_to_phandle_head(rp), rp->child, h); 282 error = gp2_map_phys(rp->child, &r, &virt, &acc, &h); 423 error = ddi_peek64(rp->child, 430 error = ddi_peek32(rp->child, [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | cnex.c | 1197 dev_info_t *child = (dev_info_t *)arg; local 1199 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, 1206 ddi_set_name_addr(child, name); 1207 ddi_set_parent_data(child, NULL); 1214 dev_info_t *child = (dev_info_t *)arg; local 1218 ddi_driver_name(child), DEVI(child)->devi_instance)); 1220 ddi_set_name_addr(child, NULL);
|
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx.c | 151 static int niumx_initchild(dev_info_t *child); 351 * through pci busops when child node calls ddi_fm_init. 422 * limit by comparing addr.hi of "ranges" and child "reg". 526 niumx_name_child(dev_info_t *child, char *name, int namelen) argument 531 DBG(NIUMX_DBG_CHK_MOD, (dev_info_t *)child, "==> niumx_name_child\n"); 533 if (ndi_dev_is_persistent_node(child) == 0) { 537 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child, 541 ddi_driver_name(child)); 546 " not well-formed", ddi_driver_name(child)); 557 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPAS 568 niumx_initchild(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | ebus.c | 307 /* Get our ranges property for mapping child registers. */ 542 * ebus_apply_range generically relocates child's regspec to 592 /* parent addr = child addr + offset from ranges */ 622 ebus_name_child(dev_info_t *child, char *name, int namelen) argument 631 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 668 dev_info_t *child = (dev_info_t *)arg; local 674 ddi_get_name(child), ddi_get_instance(child)); 676 if (ebus_name_child(child, name, 10) != DDI_SUCCESS) { 677 DBG(D_CTLOPS, ebus_p, "can't name child\ [all...] |
H A D | rootnex.c | 94 int rootnex_name_child_impl(dev_info_t *child, char *name, int namelen); 513 * (Presumably, this is on behalf of a child of the root node?) 557 "<%s> to child <%s>...\n", ddi_get_name(dip), ddi_get_name(rdip))); 764 * Name a child of rootnex 769 rootnex_name_child(dev_info_t *child, char *name, int namelen) argument 771 return (rootnex_name_child_impl(child, name, namelen));
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/nexus/ |
H A D | i2bsc.c | 427 dev_info_t *child; local 458 * lookup and hold child device 460 child = ndi_devi_find(self, 462 if (child == NULL) { 467 if ((rv = ndi_devi_offline(child, NDI_DEVI_REMOVE)) != 638 * Attach the parent's private data structure to the child's devinfo 639 * node, and store the child's address on the nexus in the child's
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci.c | 65 static off_t get_reg_set_size(dev_info_t *child, int rnumber); 1155 * Given a dev info pointer to a pci child and a register number, this 1160 get_reg_set_size(dev_info_t *child, int rnumber) argument 1172 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, "reg",
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | pmubus.c | 59 * themselves are unique. The upper bit of the child's high address being zero 650 * The pmubus_map routine determines if it's child is attempting to map a 754 /* Translate our child regspec into our parents address domain */ 855 dev_info_t *child = (dev_info_t *)arg; local 863 if (ddi_getlongprop(DDI_DEV_T_ANY, child, 873 "%s size=%d\n", ddi_node_name(child), reglen); 880 ddi_set_name_addr(child, name); 887 ddi_set_name_addr(child, NULL); 888 ddi_remove_minor_node(child, NULL); 889 impl_rem_dev_props(child); [all...] |
H A D | sbbc.c | 353 * a child gets initialized. 509 * Translate child's address into parents. 524 "mapping child %s, type %llx, off %llx, len %llx\n", 742 /* put back child's inum */ 815 * This entry point is called before a child's probe or attach is called. 816 * The arg pointer points to child's dev_info_t structure. 883 * takes child's reg property, and computes the complete address and size 1255 * The following routine is a generic routine to initialize any child of 1260 sbbc_initchild(dev_info_t *dip, dev_info_t *rdip, dev_info_t *child) argument 1270 * Initialize a child 1305 sbbc_uninitchild(dev_info_t *rdip, dev_info_t *child) argument [all...] |
H A D | upa64s.c | 182 static int init_child(dev_info_t *child); 189 static int get_reg_set(dev_info_t *dip, dev_info_t *child, int rnumber, 191 static off_t get_reg_set_size(dev_info_t *child, int rnumber); 192 static uint_t get_nreg_set(dev_info_t *child); 924 get_reg_set(dev_info_t *dip, dev_info_t *child, int rnumber, argument 931 * Get child device "reg" property 933 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, "reg", 1008 * Hack by adding a pratical max child reg bank length. 1065 init_child(dev_info_t *child) argument 1072 if ((portid = ddi_getprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPAS 1105 get_reg_set_size(dev_info_t *child, int rnumber) argument 1144 get_nreg_set(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ |
H A D | acebus.c | 258 /* Get our ranges property for mapping child registers. */ 453 * relocated) ebus address for the child in its address space(range). 454 * Ebus address space is relocatible but its child address space 463 * information is implied for the child too, which is wrong. 575 dev_info_t *child = (dev_info_t *)arg; local 581 ddi_get_name(child), ddi_get_instance(child)); 583 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 593 ddi_set_name_addr(child, name); 596 ddi_set_parent_data(child, NUL [all...] |
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_pci.c | 229 static int ppb_initchild(dev_info_t *child); 307 * don't enable ereports if immediate child of npe 577 ppb_name_child(dev_info_t *child, char *name, int namelen) argument 587 if (ndi_dev_is_persistent_node(child) == 0) { 588 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child, 593 ddi_driver_name(child)); 598 " not well-formed", ddi_driver_name(child)); 607 /* get child "reg" property */ 608 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, 627 ppb_initchild(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/pciex/ |
H A D | pcieb_x86.c | 177 pcieb_plat_initchild(dev_info_t *child) argument 180 if (ddi_getprop(DDI_DEV_T_NONE, child, DDI_PROP_DONTPASS, "interrupts", 186 ddi_set_parent_data(child, pdptr); 188 ddi_set_parent_data(child, NULL); 192 pcieb_plat_uninitchild(dev_info_t *child) argument 196 if ((pdptr = ddi_get_parent_data(child)) != NULL) 199 ddi_set_parent_data(child, NULL);
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | umount.c | 93 int sopipe[2]; /* pipe attached to child's stdout */ 94 int sepipe[2]; /* pipe attached to child's stderr */ 593 * each child (the stdout and stderr pipes). 822 if (pid == 0) { /* child */ 859 * Waits for 1 child to die. 862 * Returns 0 if a child died without an error. 863 * Returns 1 if a child died with an error. 869 int wstat, child, ret; local 872 if ((child = wait(&wstat)) == -1) 884 * Find our child s [all...] |
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/ |
H A D | zfs_mod.c | 283 nvlist_t **child; local 291 &child, &children) == 0) { 293 zfs_iter_vdev(zhp, child[c], data);
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 547 nvlist_t **child; local 577 &child, &children) != 0) { 617 nvlist_t *cnv = child[c]; 631 * get the real first child of the vdev. 796 nvlist_t **child; local 818 &child, &children) != 0) || (children == 0)) { 888 nvlist_t **child; local 901 &child, &children) != 0) { 961 if ((ret = make_disks(zhp, child[c])) != 0) 965 &child, 1035 nvlist_t **child; local 1187 nvlist_t **child = NULL; local 1368 nvlist_t *newroot = NULL, **child; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | brand.c | 571 brand_solaris_copy_procdata(proc_t *child, proc_t *parent, struct brand *pbrand) argument 576 ASSERT(child->p_brand == pbrand); 578 ASSERT(child->p_brand_data == NULL); 582 * child 586 child->p_brand_data = spd;
|
/illumos-gate/usr/src/cmd/isns/isnsd/xml/ |
H A D | data.c | 346 * 1: adding a xml child node. 365 xmlNodePtr child = NULL; local 398 child = node; 401 case 1: /* child element */ 402 child = xmlNewChild(node, NULL, name, value); 405 child = xmlNewNode(NULL, name); 406 if (child != NULL && 407 xmlAddPrevSibling(node, child) == NULL) { 408 xmlFreeNode(child); 411 node = child; 1110 xmlNodePtr node, child; local [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_html.c | 334 print_mdoc_head(&mdoc->meta, mdoc->first->child, h); 341 mdoc_root_pre(&mdoc->meta, mdoc->first->child, h); 342 print_mdoc_nodelist(&mdoc->meta, mdoc->first->child, h); 343 mdoc_root_post(&mdoc->meta, mdoc->first->child, h); 377 int child; local 380 child = 1; 426 if (mdocs[n->tok].pre && (n->end == ENDBODY_NOT || n->child)) 427 child = (*mdocs[n->tok].pre)(meta, n, h); 436 if (child && n->child) [all...] |
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_activate.c | 816 be_do_install_mbr(char *diskname, nvlist_t *child) argument 842 (void) nvlist_lookup_uint64(child, ZPOOL_CONFIG_WHOLE_DISK, 874 be_do_installboot_helper(zpool_handle_t *zphp, nvlist_t *child, char *stage1, argument 888 if (nvlist_lookup_string(child, ZPOOL_CONFIG_PATH, &path) != 0) { 894 if ((nvlist_lookup_uint64_array(child, ZPOOL_CONFIG_VDEV_STATS, 925 vname = zpool_vdev_name(g_zfs, zphp, child, B_FALSE); 939 be_do_install_mbr(diskname, child)) 945 be_do_install_mbr(diskname, child)) 1216 nvlist_t **child, *nv, *config; local 1321 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, &child, [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | devpoll.c | 1257 * Mark all child pcachelinks as stale. 1268 /* Purge still-stale child pcachelinks */ 1370 * themselves are /dev/poll handles. Pending events in the child handle are 1385 * which corresponds to the child /dev/poll fd. This means that child 1394 * /dev/poll "tree", pcachelink_t structures are established to all child 1395 * /dev/poll pollcaches. During pollnotify() in a child pollcache, the 1401 * due to the fact that bitmap entires for the child pollcache are always 1583 * Associate parent and child pollcaches via a pcachelink_t. If an existing 1588 pcachelink_assoc(pollcache_t *child, pollcache_ argument [all...] |
/illumos-gate/usr/src/lib/efcode/include/fcode/ |
H A D | engine.h | 119 device_t *child; member in struct:DEVICE
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | parse.c | 240 static Shnode_t *makeparent(Lex_t *lp, int flag, Shnode_t *child) argument 244 par->fork.forktre = child;
|