/illumos-gate/usr/src/uts/common/sys/ |
H A D | devinfo_impl.h | 226 di_off_t child; /* offset of child node */ member in struct:di_node 345 di_off_t hp_child; /* child device node */
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | ddi_impl.c | 109 * If there are no "reg"s in the child node, return. 182 * The "ranges" property describes the mapping of child addresses to parent 186 * parent child 193 make_ddi_ppd(dev_info_t *child, struct ddi_parent_private_data **ppd) argument 208 if ((parent = ddi_get_parent(child)) == NULL) 214 if ((get_prop_int_array(child, OBP_REG, ®_prop, ®_len) 224 * and * min(parent, child) #size-cells != 1 (see bugid 4211124). 232 if ((parent = ddi_get_parent(child)) == NULL) 235 child_addr_cells = ddi_prop_get_int(DDI_DEV_T_ANY, child, 237 child_size_cells = ddi_prop_get_int(DDI_DEV_T_ANY, child, 293 impl_sunbus_name_child(dev_info_t *child, char *name, int namelen) argument 334 impl_ddi_sunbus_initchild(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | opl_cfg.c | 440 * This function walks the child nodes of a given node, extracts 460 * Hold parent node busy to walk its child list 763 * Create "cpu" nodes as child nodes of a given "core" node. 863 * Create "core" nodes as child nodes of a given "cmp" node. 945 * Create "cmp" nodes as child nodes of the root node. 1146 opl_fc_ops_alloc_handle(dev_info_t *parent, dev_info_t *child, argument 1155 rp->next_handle = fc_ops_alloc_handle(parent, child, fcode, fcode_size, 1158 rp->child = child; 1170 * Add the child' [all...] |
H A D | sysiosbus.c | 255 static void make_sbus_ppd(dev_info_t *child); 258 sbusmem_initchild(dev_info_t *dip, dev_info_t *child); 261 sbus_initchild(dev_info_t *dip, dev_info_t *child); 966 make_sbus_ppd(dev_info_t *child) argument 977 if (ddi_get_parent_data(child) != NULL) 981 ddi_set_parent_data(child, pdptr); 992 if (get_prop(child, OBP_REG, 0, ®_prop, ®_len) != DDI_SUCCESS) 997 * Among other things, we use these to name the child node. 1006 (void) get_prop(child, "registers", DDI_PROP_NOTPROM, 1010 if (ndi_dev_is_persistent_node(child) 1056 sbusmem_initchild(dev_info_t *dip, dev_info_t *child) argument 1110 sysio_name_child(dev_info_t *child, char *name, int namelen) argument 1148 sbus_initchild(dev_info_t *dip, dev_info_t *child) argument 1577 dev_info_t *child; local [all...] |
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | db21554.c | 36 * as a nexus and do the device tree representation of the child 123 * latency timer register setting for every child 124 * device during child initialization. 127 * cache line register setting for every child 128 * device during child initialization. 419 static int db_initchild(dev_info_t *child); 420 static int db_create_pci_prop(dev_info_t *child); 545 * to set the bus private handle during child map 970 * which are used for child initialization. 1712 * DDI_SUCCESS: map call by child devic 2203 db_name_child(dev_info_t *child, char *name, int namelen) argument 2250 db_initchild(dev_info_t *child) argument 2405 db_create_pci_prop(dev_info_t *child) argument [all...] |
H A D | pci_pci.c | 295 static int ppb_initchild(dev_info_t *child); 296 static void ppb_uninitchild(dev_info_t *child); 732 ppb_name_child(dev_info_t *child, char *name, int namelen) argument 745 if (ndi_dev_is_persistent_node(child) == 0) { 746 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child, 750 ddi_driver_name(child)); 755 " not well-formed", ddi_driver_name(child)); 768 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 786 ppb_initchild(dev_info_t *child) argument 798 * Name the child 993 ppb_uninitchild(dev_info_t *child) argument [all...] |
H A D | pcipsy.c | 1118 /* make sure we own the bus by reading any child device config space */ 1350 * Given a PBM soft state pointer, this routine scans it child nodes 1486 pci_post_init_child(pci_t *pci_p, dev_info_t *child) argument 1859 * rserr not claimed as nonfatal by a child is treated as fatal
|
/illumos-gate/usr/src/cmd/lockstat/ |
H A D | lockstat.c | 1022 pid_t child; local 1295 * Make sure there are remaining arguments to specify a child command 1371 child = fork(); 1372 if (child == -1) 1374 if (child == 0) { 1381 while (waitpid(child, &status, WEXITED) != child)
|
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas_tbolt.c | 3587 dev_info_t *child; local 3594 if ((child = mrsas_find_child(instance, tgt, lun)) != NULL) { 3596 *ldip = child;
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | mount.c | 147 * each child that performs the particular mount for the entry. 160 int sopipe[2]; /* pipe attached to child's stdout */ 161 int sepipe[2]; /* pipe attached to child's stderr */ 931 * each child (the stdout and stderr pipes). 1181 * Performs the exec argument processing, all of the child forking and 1182 * execing, and child cleanup. 1191 pid_t child; local 1291 if ((child = fork()) == -1) { 1296 if (child == 0) { /* child */ 1395 int child, wstat; local [all...] |
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 618 pid_t child; local 679 if ((child = fork()) == -1) { 685 } else if (child == 0) { /* child */ 726 if (waitpid(child, &child_status, 0) != child) { 1007 pid_t child; local 1053 if ((child = fork()) == -1) { 1058 } else if (child == 0) { 1071 if (waitpid(child, [all...] |
/illumos-gate/usr/src/uts/common/fs/doorfs/ |
H A D | door_sys.c | 1374 * before the process calls forkall(); in the child, the door 2106 * are bound to a door in the child. This will make the child threads 2110 door_fork(kthread_t *parent, kthread_t *child) argument 2119 dt = child->t_door =
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunndi.c | 452 * Transition the child named by "devname@devaddr" to the online state. 497 * Transition the child named by "devname@devaddr" to the offline state. 534 * Remove the child named by "devname@devaddr". 571 * Return devctl state of the child named by "name@addr". 814 * create a child device node given the property definitions 827 * The child device may have been pre-constructed by an earlier 927 * return a handle to the child device 928 * copy out the name of the newly attached child device if 1061 * destroy the partially child device and abort the request 2526 /* Interfaces for 'self' to set/get a child' 2528 ndi_flavor_set(dev_info_t *child, ndi_flavor_t child_flavor) argument 2534 ndi_flavor_get(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 130 nvlist_t **child; local 138 &child, &children) == 0) { 140 if (fix_paths(child[c], names) != 0) 449 nvlist_t **child = NULL; local 581 * Add this top-level vdev to the child array. 597 newchild[c] = child[c]; 599 free(child); 600 child = newchild; 603 if (nvlist_dup(nvtop, &child[id], 0) != 0) 618 nvlist_free(child[ 1469 nvlist_t **child; local [all...] |
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | thr.c | 573 * Also, disallow thread creation to a child of vfork(). 1614 * This is called from fork1() in the child. 1641 * Reinitialize the child's copies. 1648 /* no one in the child is on a sleep queue; reinitialize */ 1986 * of the schedctl mappings in the child process, 1992 * and (if this really is a forkall()) the child. 2061 continue_fork(int child) argument 2070 * Clear the schedctl pointers in the child of forkall(). 2072 if (child) {
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.c | 1501 char *child; local 1503 if (nvlist_lookup_value(nv, ZPOOL_CONFIG_CHILDREN, &child, 1510 child_i = nvlist_array(child, i);
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba.c | 358 * increment the reference count for each child using this 379 * decrement the reference count for each child 828 * create a child devinfo node, usba_device, attach properties. 853 "child dip=0x%p", (void *)*child_dip); 951 * if the child hasn't been bound yet, we can just 1645 * name and reg property of each child. If there is a match 1651 dev_info_t *ndip, *child, *pdip; local 1669 while ((child = ndip) != NULL) { 1671 ndip = (dev_info_t *)(DEVI(child)->devi_sibling); 1673 if (child [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev.c | 134 * The allocatable space for a raidz vdev is N * sizeof(smallest child), 135 * so each child must provide at least 1/Nth of its asize. 279 * Remove any holes in the child array. 644 * Remove this vdev from its parent's child list. 1674 * if any child is less than fully replicated, then so is its parent. 1680 * two child DTL_MISSING maps. 1892 /* account for child's outage in parent's missing map */ 3137 vdev_t *child; local 3141 child = vd->vdev_child[c]; 3146 if (child [all...] |
H A D | dmu_objset.c | 1962 char *child; local 1996 child = kmem_asprintf("%s/%s", name, attr->za_name); 1998 err = dmu_objset_find_impl(spa, child, 2001 strfree(child); 2034 child = kmem_asprintf("%s@%s", 2037 err = func(child, arg); 2039 strfree(child);
|
/illumos-gate/usr/src/uts/common/io/blkdev/ |
H A D | blkdev.c | 1773 dev_info_t *child; local 1811 &child) != NDI_SUCCESS) { 1818 ddi_set_parent_data(child, hdl); 1819 hdl->h_child = child; 1821 if (ndi_devi_online(child, 0) == NDI_FAILURE) { 1825 (void) ndi_devi_free(child);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | lofi.c | 2659 dev_info_t *parent, *child; local 2675 child = ndi_devi_findchild(parent, namebuf); 2678 if (child == NULL) { 2679 child = ddi_add_child(parent, LOFI_DRIVER_NAME, 2681 if ((error = ddi_prop_update_int(DDI_DEV_T_NONE, child, 2686 if ((error = ddi_prop_create(DDI_DEV_T_NONE, child, 2692 if ((error = ndi_devi_online(child, NDI_ONLINE_ATTACH)) 2704 ddi_prop_remove_all(child); 2705 (void) ndi_devi_offline(child, NDI_DEVI_REMOVE);
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 384 DPRINTF((DI_TRACE, "Get child of node %s\n", di_node_name(node))); 393 if (DI_NODE(node)->child) { 394 return (DI_NODE(pa + DI_NODE(node)->child)); 602 di_node_t child; local 607 if ((child = di_child_node(node)) == DI_NODE_NIL) { 616 result->node = child; 619 while ((child = di_sibling_node(tmp->node)) != DI_NODE_NIL) { 626 tmp->node = child; 814 * This is similar to walk_one_node, except we only walk in child 3575 * This is similar to walk_one_node, except we only walk in child [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.c | 764 /* get the child fru information */ 2533 /* create child nodes for fru using the conffile created */ 2557 picl_nodehdl_t child, loch; local 2591 * probe only child locations (if present). 2623 &child, sizeof (picl_nodehdl_t)); 2624 if (rc == PICL_SUCCESS) { /* child present */ 2803 /* remove all the fru nodes under the child locations */ 2819 /* if the child location has fru, delete the fru */ 2825 /* child is present under the location */ 3020 /* get the child fr 3432 picl_nodehdl_t fruh, child; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/idm/ |
H A D | idm.c | 69 * should invoke the functions for child objects if any bits are set 70 * in iscsi_dcmd_ctrl_t but the functions for the child object should only 72 * a header for its first occurrence or if it is being printed as a child 78 * child objects the dcmd calls the internal interface for the child object 102 } child; member in union:__anon920::__anon921 263 idc.u.child.idc_tgt = 1; 264 idc.u.child.idc_print_ip = print_ip; 265 idc.u.child.idc_tpgt = tpgt; 266 idc.u.child [all...] |
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iiadm.c | 1276 * sigchild; reap child and collect status. 1730 * Wait for child process to get to some state, where some state may be: 1738 child_wait(pid_t child, enum child_event event, char *volume) argument 1745 for (; dead_child != child; (void) sleep(1)) { 1767 /* child died */ 1821 pid_t child; local 2111 switch (child = fork()) { 2152 exit(child_wait(child, Status, shadow_volume)); 2164 pid_t child = (pid_t)0; local 2232 switch (child 2591 pid_t child = (pid_t)0; local [all...] |