/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcGetNumberOfAdapters.cc | 47 di_node_t root_node; local 48 if ((root_node = di_init("/", DINFOSUBTREE|DINFOFORCE)) != DI_NODE_NIL) { 49 di_fini(root_node);
|
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetInitiatorPortOidListPlugin.c | 36 static int getOidList(di_node_t root_node, MP_OID_LIST *pOidList) argument 52 vh_node = di_vhci_first_node(root_node); 122 di_node_t root_node = DI_NODE_NIL; local 132 root_node = di_init("/", DINFOCACHE); 133 if (DI_NODE_NIL == root_node) { 140 numNodes = getOidList(root_node, NULL); 171 numNodes = getOidList(root_node, *ppList); 187 di_fini(root_node);
|
H A D | MP_GetMultipathLusPlugin.c | 65 static int getOidList(di_node_t root_node, MP_OID_LIST *pOidList) argument 82 sv_node = di_drv_first_node("scsi_vhci", root_node); 157 di_node_t root_node = DI_NODE_NIL; local 166 root_node = di_init("/", DINFOCACHE); 167 if (DI_NODE_NIL == root_node) { 174 numNodes = getOidList(root_node, NULL); 185 di_fini(root_node); 199 di_fini(root_node); 215 di_fini(root_node); 231 numNodes = getOidList(root_node, *ppLis [all...] |
H A D | MP_GetMPLuOidListFromTPG.c | 131 static int getOidList(di_node_t root_node, int tpgID, argument 217 sv_node = di_drv_first_node("scsi_vhci", root_node); 345 di_node_t root_node = DI_NODE_NIL; local 393 root_node = di_init("/", DINFOCACHE); 394 if (DI_NODE_NIL == root_node) { 404 numNodes = getOidList(root_node, sourceTpgID, tpList, NULL); 416 di_fini(root_node); 431 di_fini(root_node); 464 numNodes = getOidList(root_node, sourceTpgID, tpList, *ppList); 481 di_fini(root_node); [all...] |
H A D | MP_GetMultipathLusDevProd.c | 35 static int getOidList(di_node_t root_node, argument 60 sv_node = di_drv_first_node("scsi_vhci", root_node); 120 di_node_t root_node = DI_NODE_NIL; local 204 root_node = di_init("/", DINFOCACHE); 205 if (DI_NODE_NIL == root_node) { 215 numNodes = getOidList(root_node, NULL, inqProductID, inqVendorID); 223 di_fini(root_node); 240 di_fini(root_node); 265 numNodes = getOidList(root_node, *ppList, inqProductID, inqVendorID); 281 di_fini(root_node); [all...] |
H A D | MP_GetAssociatedPathOidList.c | 42 di_node_t root_node = DI_NODE_NIL; local 78 root_node = di_init("/", DINFOCACHE); 79 if (DI_NODE_NIL == root_node) { 86 vh_node = di_vhci_first_node(root_node); 124 di_fini(root_node); 175 di_fini(root_node); 189 di_fini(root_node); 199 di_node_t root_node = DI_NODE_NIL; local 282 root_node = di_init("/", DINFOCACHE); 284 if (DI_NODE_NIL == root_node) { [all...] |
H A D | MP_GetMPLogicalUnitProperties.c | 67 di_node_t root_node = DI_NODE_NIL; local 92 root_node = di_init("/", DINFOCACHE); 93 if (DI_NODE_NIL == root_node) { 101 cur_node = di_drv_first_node("scsi_vhci", root_node); 106 di_fini(root_node); 141 di_fini(root_node); 207 di_fini(root_node);
|
/illumos-gate/usr/src/common/mdesc/ |
H A D | mdesc_rootnode.c | 43 return (mdp->root_node);
|
H A D | mdesc_init_intern.c | 84 mdp->root_node = MDE_INVAL_ELEM_COOKIE; 122 if (mdp->root_node != MDE_INVAL_ELEM_COOKIE) { 126 mdp->root_node = (mde_cookie_t)idx; 140 if (mdp->root_node == MDE_INVAL_ELEM_COOKIE) { 162 if (md_get_prop_val((md_t *)mdp, mdp->root_node,
|
/illumos-gate/usr/src/cmd/sysdef/ |
H A D | sdevinfo.c | 50 di_node_t root_node; local 53 if ((root_node = di_init("/", DINFOSUBTREE)) == DI_NODE_NIL) { 60 di_walk_node(root_node, DI_WALK_CLDFIRST, NULL, dump_node); 62 di_fini(root_node);
|
/illumos-gate/usr/src/lib/libpcp/common/ |
H A D | pcp_utils.c | 224 di_node_t root_node, service_node; local 234 root_node = di_init_driver("glvc", DINFOCPYALL); 235 if (root_node == DI_NODE_NIL) { 239 service_node = di_drv_first_node("glvc", root_node); 270 di_fini(root_node); 281 di_node_t root_node, vldc_node; local 288 root_node = di_init_driver("vldc", DINFOCPYALL); 289 if (root_node == DI_NODE_NIL) { 293 vldc_node = di_drv_first_node("vldc", root_node); 321 di_fini(root_node); [all...] |
/illumos-gate/usr/src/lib/libwanboot/common/ |
H A D | bootinfo_aux.c | 63 static di_node_t root_node = DI_NODE_NIL; variable 170 if (root_node != DI_NODE_NIL) { 171 di_fini(root_node); 173 root_node = DI_NODE_NIL; 188 if ((root_node = di_init("/", DINFOCPYALL)) == DI_NODE_NIL || 211 for (node = di_child_node(root_node); 325 (void) di_walk_node(root_node, DI_WALK_CLDFIRST, &cb, p2n_cb);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | mdescplugin.c | 42 picl_nodehdl_t root_node; variable 186 status = ptree_walk_tree_by_class(root_node, "disk", (void *)&lookup, 269 status = ptree_get_root(&root_node); 291 status = ptree_walk_tree_by_class(root_node, "cpu", NULL, add_cpu_prop);
|
H A D | disk_discovery.c | 36 extern picl_nodehdl_t root_node; 76 status = ptree_create_and_add_node(root_node, DISK_DISCOVERY_NAME,
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/ |
H A D | piclsbl.h | 33 picl_nodehdl_t root_node; variable
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | adopt.c | 275 di_node_t root_node; local 287 if ((root_node = di_init("/", DINFOCPYALL)) == DI_NODE_NIL || 298 for (node = di_child_node(root_node); 391 if (root_node != DI_NODE_NIL) { 392 di_fini(root_node);
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4u.c | 84 Prom_node *root_node; /* root node of OBP device tree */ local 116 root_node = walk(&sys_tree, NULL, next(0)); 124 return (display(&sys_tree, root_node, &sys_kstat, syserrlog));
|
H A D | pdevinfo_sun4v.c | 84 Prom_node *root_node; /* root node of OBP device tree */ local 124 root_node = sun4v_walk(&sys_tree, NULL, next(0)); 137 return (sun4v_display(&sys_tree, root_node, syserrlog, plafh));
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_ia_open.c | 96 di_node_t root_node, node; local 115 if ((root_node = di_init("/", DINFOSUBTREE | DINFOPROP)) == DI_NODE_NIL) 118 node = di_drv_first_node("daplt", root_node); 136 di_fini(root_node);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_pathname.c | 153 smb_node_t *root_node; local 198 root_node = share_root_node; 200 root_node = sr->sr_server->si_root_smb_node; 203 cur_node = root_node; 206 local_root_node = root_node; 234 err = smb_vss_lookup_nodes(sr, root_node, cur_node, 359 smb_node_t *root_node, smb_node_t *cur_node, smb_node_t **dir_node, 377 ASSERT(root_node); 405 rootvp = root_node->vp; 496 fnode = root_node; 358 smb_pathname(smb_request_t *sr, char *path, int flags, smb_node_t *root_node, smb_node_t *cur_node, smb_node_t **dir_node, smb_node_t **ret_node, cred_t *cred) argument [all...] |
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 90 static di_node_t root_node = DI_NODE_NIL; variable 187 ret = di_walk_minor(root_node, DDI_NT_BLOCK, 0, NULL, 397 node = search_tree_match_pcibdf(root_node, bd->interfacepath.pci.bus, 549 if (root_node != DI_NODE_NIL) 550 di_fini(root_node); 589 if ((root_node = di_init("/", DINFOCACHE)) == DI_NODE_NIL) {
|
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 173 di_node_t root_node; local 212 root_node = di_init_impl(rootpath, flag, &fetch); 218 root_node = di_init(rootpath, flag); 220 if (root_node == DI_NODE_NIL) { 245 walk_driver(root_node, &di_arg); 250 di_fini(root_node); 257 target_node = find_target_node(root_node); 304 (void) di_walk_node(root_node, DI_WALK_CLDFIRST, &di_arg, 313 di_fini(root_node); 354 find_target_node(di_node_t root_node) argument 735 di_node_t root_node, tmp; local [all...] |
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 1018 di_node_t root_node; local 1027 root_node = di_init("/", DINFOCPYALL); 1028 if (root_node == DI_NODE_NIL) 1035 return (root_node); 1038 node = di_drv_first_node(di_driver_name(pci_node), root_node); 1047 return (root_node); 1053 return (root_node); 1063 return (root_node); 1084 di_node_t root_node = DI_NODE_NIL; local 1099 root_node [all...] |
/illumos-gate/usr/src/lib/efcode/packages/ |
H A D | memalloc.c | 100 MYSELF = open_instance_chain(env, env->root_node, 0);
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | add_drv.c | 114 di_node_t root_node; /* for device tree snapshot */ local 354 if ((root_node = di_init("/", DINFOSUBTREE | DINFOMINOR)) 359 conflict = drv_name_conflict(root_node); 360 di_fini(root_node); 614 drv_name_conflict(di_node_t root_node) argument 619 if (di_walk_node(root_node, DI_WALK_SIBFIRST, NULL, devfs_node) == -1) {
|