/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 126 struct impl_map_dev *child; member in struct:impl_map_dev 2144 * consturct map and child tree list and 2494 /* consturct child for each device and */ 2613 impl_map->child = mdl_start; 2755 impl_map->child = mdl_start; 2825 free_child_list(&impl_map->child); 2882 if (impl_map->child == NULL) { 2886 return ((gfc_dev_t)(impl_map->child));
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | hubdi.c | 92 dev_info_t **child); 280 dev_info_t *child = ddi_get_child(dip); local 360 while (child) { 361 dev_info_t *next = ddi_get_next_sibling(child); 362 (void) ddi_remove_child(child, 0); 363 child = next; 694 /* we have the first child coming out of low power */ 697 /* we have the last child going to low power */ 705 * given a child dip, locate its port number 829 * event to its child, i 1368 hubd_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/common/sys/ |
H A D | sservice.h | 461 dev_info_t *child; /* child's dip */ member in struct:set_window
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pcisch.c | 87 extern void pcix_set_cmd_reg(dev_info_t *child, uint16_t value); 2532 * RSERR not claimed as nonfatal by a child is considered fatal 3273 pci_post_init_child(pci_t *pci_p, dev_info_t *child) argument 3284 * is to disable bus parking if the child contains the property 3289 if (ddi_prop_exists(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 3312 DEBUG1(DBG_INIT_CLD, child, "Turning on XMITS NCPQ " 3315 pcix_set_cmd_reg(child, value); 3318 child, "pcix-update-cmd-reg", value); 3336 ddi_driver_name(child), bugcntl, tunable, 3342 ddi_driver_name(child), *pbm_pcix_diag_re [all...] |
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 782 * configure the child nodes of ntbridge. new_device points to ntbridge itself 800 * to let the child conf map routine know that it has to 825 /* For now: Lets only support one layer of child */ 886 "Failed to add conf reg for ntbridge child.\n"); 895 "Cannot map ntbridge child %x\n", devno); 913 /* Lets fake attachments points for each child, */ 919 "Error configuring ntbridge child dev=%d\n", devno); 925 "ntbridge child dev=%d\n", old_dev); 977 * Unload driver just in case child configure failed! 1228 DEBUG0("ntbridge child tre 4976 pcicfg_reparent_node(dev_info_t *child, dev_info_t *parent) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/ |
H A D | arcmsr.c | 2282 dev_info_t *child = NULL; local 2288 for (child = ddi_get_child(acb->dev_info); 2289 child; 2290 child = ddi_get_next_sibling(child)) { 2292 if (ndi_dev_is_persistent_node(child) == 0) 2294 if (arcmsr_name_node(child, tmp, SCSI_MAXNAMELEN) != 2300 return (child); 2372 dev_info_t *child; local 2375 if ((child 3253 dev_info_t *child; local [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | ddi_impl.c | 446 impl_xlate_intrs(dev_info_t *child, int *in, argument 470 if ((ddi_getprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 491 DEVI(child)->devi_name, 492 DEVI(child)->devi_instance, level, vec); 522 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 529 DEVI(child)->devi_name, 530 DEVI(child)->devi_instance, n, 549 DEVI(child)->devi_name, 550 DEVI(child)->devi_instance, level, vec); 607 make_ddi_ppd(dev_info_t *child, struc argument 722 impl_sunbus_name_child(dev_info_t *child, char *name, int namelen) argument 758 impl_ddi_sunbus_initchild(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 1523 * determines the node class for that child. If it finds a valid class 1525 * recursively to construct the subtree for that child node. Otherwise, if 1579 * creates a PICL node for each child not found in the PICL tree and 1581 * child node. It also checks if the node being created is a meory 2604 create_asr_node(char *parent, char *child, char *unitaddr, char *class, argument 2628 * see if the required child node already exists 2640 if (strcmp(nodename, child) != 0) 2643 * found a candidate child node 2751 if (ptree_create_and_add_node(nodeh, child, class, &chdh) == 2763 (void) strlcat(ptreepath, child, PATH_MA 2808 char *child; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zio.c | 338 * I/O parent/child relationships and pipeline interlocks 433 zio_wait_for_children(zio_t *zio, enum zio_child child, enum zio_wait_type wait) argument 435 uint64_t *countp = &zio->io_children[child][wait]; 473 * the child can continue to make progress. This also 475 * parent-child relationships. 984 * Create a child I/O to do some work for us. 999 * If we have the bp, then the child should perform the 1021 * If we're creating a child I/O that is not associated with a 1022 * top-level vdev, then the child zio is not an allocating I/O. 1515 * (2) the pipeline stalls waiting for dependent child [all...] |
H A D | spa.c | 1183 nvlist_t **child; local 1194 &child, &children); 1207 if ((error = spa_config_parse(spa, &vd, child[c], *vdp, c, 1655 nvlist_t **child, *nv; local 1658 child = kmem_alloc(rvd->vdev_children * sizeof (nvlist_t **), 1669 child[idx++] = vdev_config_generate(spa, mtvd, 1675 ZPOOL_CONFIG_CHILDREN, child, idx) == 0); 1680 nvlist_free(child[i]); 1683 kmem_free(child, rvd->vdev_children * sizeof (char **)); 3856 * Add this top-level vdev to the child arra 5033 nvlist_t **child, *nvl, *tmp; local [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 1596 nvlist_t **child; local 1609 &child, &children) != 0) 1613 vname = zpool_vdev_name(hdl, NULL, child[c], B_TRUE); 1614 print_vdev_tree(hdl, vname, child[c], indent + 2); 1931 nvlist_t **child; local 2073 &child, &children) != 0) 2077 if ((ret = vdev_to_nvlist_iter(child[c], search, 2086 nvlist_lookup_uint64(child[c], 2096 &child, &children) == 0) { 2098 if ((ret = vdev_to_nvlist_iter(child[ 2273 nvlist_t **child; local 2301 nvlist_t **child; local 2572 nvlist_t **child; local 2608 nvlist_t **child; local 2865 nvlist_t *tree, *config, **child, **newchild, *newconfig = NULL; local 3845 nvlist_t **child; local 3982 nvlist_t **child; local [all...] |
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | rc_node.c | 70 * rc_node_destroy()ed (hold a lock on its parent or child, hold a flag, 93 * apropriate child. 171 * parent service. For snapshots they point to the child snaplevels, and for 894 * verify that the 'parent' type can have a child typed 'child' 897 * _TYPE_MISMATCH - parent type cannot have children of type child 900 rc_check_parent_child(uint32_t parent, uint32_t child) argument 906 child == 0 || child >= NUM_TYPES) 911 if (type == child) 3224 rc_node_t *child = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/pcmcia/nexus/ |
H A D | pcmcia.c | 555 * we get control here before the child is called. 561 cmn_err(CE_CONT, "pcmcia: init child: %s(%d) @%p\n", 642 cmn_err(CE_CONT, "pcmcia: uninit child: %s(%d) @%p\n", 735 * for now, we let the child handle it itself 1088 /* we're not a child of root so find out what */ 1365 dev_info_t *child = NULL; local 1369 &child) == NDI_SUCCESS) { 1375 ddi_set_parent_data(child, (caddr_t)ppd); 1376 if (ndi_devi_online(child, 0) != NDI_SUCCESS) { 1379 (void) ndi_devi_free(child); [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 2131 * tran structure. Fail the INITCHILD if the child port number 2316 dev_info_t *child = NULL; local 2343 ndi_devi_alloc_sleep(parent, cname, DEVI_PSEUDO_NODEID, &child); 2344 if (child == NULL) { 2351 if (ndi_prop_update_string(DDI_DEV_T_NONE, child, 2355 (void) ndi_devi_free(child); 2361 if (ndi_prop_update_string(DDI_DEV_T_NONE, child, 2363 (void) ndi_devi_free(child); 2370 if (ndi_prop_update_string(DDI_DEV_T_NONE, child, 2372 (void) ndi_devi_free(child); [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_subr.c | 2215 pmcs_phy_t *pptr, *child; local 2244 child = pptr->children; 2245 while (child) { 2246 child->parent = pptr; 2247 child = child->sibling;
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 749 * Set pm-want-child-notification property for 753 "pm-want-child-notification?", NULL, NULL) != DDI_PROP_SUCCESS) { 755 "%s%d fail to create pm-want-child-notification? prop", 855 "pm-want-child-notification?") != DDI_PROP_SUCCESS) { 1610 * Further, note that the child dip would be the dip of the ssd node regardless 6084 dev_info_t *child; local 6134 * lookup and hold child device 6136 if ((child = ndi_devi_find(self, ndi_dc_getname(dcp), 6141 retval = mdi_select_path(child, NULL, 6146 "Unable to get a path, dip 0x%p", (void *)child)); 8167 vhci_scsi_bus_config(dev_info_t *pdip, uint_t flags, ddi_bus_config_op_t op, void *arg, dev_info_t **child) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | drmach.c | 1858 pnode_t child; local 1884 for (child = prom_childnode(prom_rootnode()); child != OBP_NONODE; 1885 child = prom_nextnode(child)) { 1887 if (prom_getprop(child, OBP_BOARDNUM, (caddr_t)&num) == -1) { 1895 if (prom_getprop(child, OBP_NAME, (caddr_t)name) == -1) { 1905 dip = e_ddi_nodeid_to_dip(child);
|
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/ |
H A D | fhc.h | 866 dev_info_t *child; member in struct:fhc_wrapper_arg 938 * Function shared with child drivers which require fhc 959 dev_info_t *child; member in struct:fhcintrspec
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 1157 tnode_t *child = NULL; local 1201 &child); 1211 (void) disk_declare_non_enumerated(mod, pnode, &child); 1214 if (child != NULL) { 1231 (void) topo_prop_set_string_array(child, 2323 ses_phys_tree_t *child) 2330 assert(child != NULL); 2333 *sproot = child; 2337 pindex = child->spt_pindex; 2343 * parent index of a node to be added, add the node as a child o 2322 ses_phys_tree_insert(topo_mod_t *mod, ses_phys_tree_t **sproot, ses_phys_tree_t *child) argument 2413 ses_phys_tree_t *child; local 2607 ses_phys_tree_t *child = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.c | 1604 dev_info_t *child = NULL; local 1616 if ((child = mrsas_find_child(instance, tgt, lun)) != NULL) { 1618 (CE_NOTE, "mrsas_tgt_init find child =" 1619 " %p t = %d l = %d", (void *)child, tgt, lun)); 1698 dev_info_t *child = NULL; local 1703 for (child = ddi_get_child(instance->dip); child; 1704 child = ddi_get_next_sibling(child)) { 1706 if (ndi_dev_is_persistent_node(child) 7617 dev_info_t *child; local [all...] |
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 856 * We want to make sure that no zone has its zone path as a child node 1495 int pid, child, status; local 1497 if ((child = vfork()) == 0) { 1501 if (child == -1) 1509 while ((pid = waitpid(child, &status, 0)) != child && pid != -1)
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 367 nvlist_t **child; local 375 &child, &children) != 0) 381 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG, 386 vname = zpool_vdev_name(g_zfs, zhp, child[c], B_FALSE); 387 print_vdev_tree(zhp, vname, child[c], indent + 2, 1234 nvlist_t **child; local 1244 &child, &children) == 0) { 1246 if ((ret = max_width(zhp, child[c], depth + 2, 1252 &child, &children) == 0) { 1254 if ((ret = max_width(zhp, child[ 1280 nvlist_t **child; local 1323 nvlist_t **child; local 1472 nvlist_t **child; local 1573 nvlist_t **child; local 2943 nvlist_t **child; local [all...] |
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | thr_uberdata.h | 613 int ul_vfork; /* thread is the child of vfork() */ 741 void (*child)(void); /* post-fork child handler */ member in struct:atfork 1078 int ul_vfork; /* thread is the child of vfork() */
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 809 * Since we are in the child, there is no point calling zerror() 5020 pid_t child; local 5043 if ((child = fork()) == -1) { 5050 /* parent waits for child to finish */ 5051 if (child != 0) { 5057 (void) waitpid(child, NULL, 0); 5062 /* child enters zone and sets up index file */
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 536 * the handle in the child. 1945 * _EXISTS - child already exists 2654 scf_scope_get_parent(const scf_scope_t *child, scf_scope_t *parent) argument 2660 if (scf_scope_get_name(child, name, sizeof (name)) < 0) 3983 scf_value_t *child; local 4007 for (child = cur->entry_head; child != NULL; 4008 child = child->value_next) { 4011 len = commit_value(val_data + sizeof (uint32_t), child, [all...] |