/titanic_44/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetMultipathLusPlugin.c | 65 static int getOidList(di_node_t root_node, MP_OID_LIST *pOidList) in getOidList() argument 82 sv_node = di_drv_first_node("scsi_vhci", root_node); in getOidList() 157 di_node_t root_node = DI_NODE_NIL; in MP_GetMultipathLusPlugin() local 166 root_node = di_init("/", DINFOCACHE); in MP_GetMultipathLusPlugin() 167 if (DI_NODE_NIL == root_node) { in MP_GetMultipathLusPlugin() 174 numNodes = getOidList(root_node, NULL); in MP_GetMultipathLusPlugin() 185 di_fini(root_node); in MP_GetMultipathLusPlugin() 199 di_fini(root_node); in MP_GetMultipathLusPlugin() 215 di_fini(root_node); in MP_GetMultipathLusPlugin() 231 numNodes = getOidList(root_node, *ppList); in MP_GetMultipathLusPlugin() [all …]
|
H A D | MP_GetInitiatorPortOidListPlugin.c | 36 static int getOidList(di_node_t root_node, MP_OID_LIST *pOidList) in getOidList() argument 52 vh_node = di_vhci_first_node(root_node); in getOidList() 122 di_node_t root_node = DI_NODE_NIL; in MP_GetInitiatorPortOidListPlugin() local 132 root_node = di_init("/", DINFOCACHE); in MP_GetInitiatorPortOidListPlugin() 133 if (DI_NODE_NIL == root_node) { in MP_GetInitiatorPortOidListPlugin() 140 numNodes = getOidList(root_node, NULL); in MP_GetInitiatorPortOidListPlugin() 171 numNodes = getOidList(root_node, *ppList); in MP_GetInitiatorPortOidListPlugin() 187 di_fini(root_node); in MP_GetInitiatorPortOidListPlugin()
|
H A D | MP_GetMultipathLusDevProd.c | 35 static int getOidList(di_node_t root_node, in getOidList() argument 60 sv_node = di_drv_first_node("scsi_vhci", root_node); in getOidList() 120 di_node_t root_node = DI_NODE_NIL; in MP_GetMultipathLusDevProd() local 204 root_node = di_init("/", DINFOCACHE); in MP_GetMultipathLusDevProd() 205 if (DI_NODE_NIL == root_node) { in MP_GetMultipathLusDevProd() 215 numNodes = getOidList(root_node, NULL, inqProductID, inqVendorID); in MP_GetMultipathLusDevProd() 223 di_fini(root_node); in MP_GetMultipathLusDevProd() 240 di_fini(root_node); in MP_GetMultipathLusDevProd() 265 numNodes = getOidList(root_node, *ppList, inqProductID, inqVendorID); in MP_GetMultipathLusDevProd() 281 di_fini(root_node); in MP_GetMultipathLusDevProd()
|
H A D | MP_GetAssociatedPathOidList.c | 42 di_node_t root_node = DI_NODE_NIL; in doDevInfoStuffForIntPort() local 78 root_node = di_init("/", DINFOCACHE); in doDevInfoStuffForIntPort() 79 if (DI_NODE_NIL == root_node) { in doDevInfoStuffForIntPort() 86 vh_node = di_vhci_first_node(root_node); in doDevInfoStuffForIntPort() 124 di_fini(root_node); in doDevInfoStuffForIntPort() 175 di_fini(root_node); in doDevInfoStuffForIntPort() 189 di_fini(root_node); in doDevInfoStuffForIntPort() 199 di_node_t root_node = DI_NODE_NIL; in doDevInfoStuffForTargetPort() local 282 root_node = di_init("/", DINFOCACHE); in doDevInfoStuffForTargetPort() 284 if (DI_NODE_NIL == root_node) { in doDevInfoStuffForTargetPort() [all …]
|
H A D | MP_GetMPLuOidListFromTPG.c | 131 static int getOidList(di_node_t root_node, int tpgID, in getOidList() argument 217 sv_node = di_drv_first_node("scsi_vhci", root_node); in getOidList() 345 di_node_t root_node = DI_NODE_NIL; in MP_GetMPLuOidListFromTPG() local 393 root_node = di_init("/", DINFOCACHE); in MP_GetMPLuOidListFromTPG() 394 if (DI_NODE_NIL == root_node) { in MP_GetMPLuOidListFromTPG() 404 numNodes = getOidList(root_node, sourceTpgID, tpList, NULL); in MP_GetMPLuOidListFromTPG() 416 di_fini(root_node); in MP_GetMPLuOidListFromTPG() 431 di_fini(root_node); in MP_GetMPLuOidListFromTPG() 464 numNodes = getOidList(root_node, sourceTpgID, tpList, *ppList); in MP_GetMPLuOidListFromTPG() 481 di_fini(root_node); in MP_GetMPLuOidListFromTPG()
|
H A D | MP_GetMPLogicalUnitProperties.c | 67 di_node_t root_node = DI_NODE_NIL; in getDeviceFileName() local 92 root_node = di_init("/", DINFOCACHE); in getDeviceFileName() 93 if (DI_NODE_NIL == root_node) { in getDeviceFileName() 101 cur_node = di_drv_first_node("scsi_vhci", root_node); in getDeviceFileName() 106 di_fini(root_node); in getDeviceFileName() 141 di_fini(root_node); in getDeviceFileName() 207 di_fini(root_node); in getDeviceFileName()
|
/titanic_44/usr/src/lib/libpcp/common/ |
H A D | pcp_utils.c | 224 di_node_t root_node, service_node; in svc_name_to_glvc_dev_path() local 234 root_node = di_init_driver("glvc", DINFOCPYALL); in svc_name_to_glvc_dev_path() 235 if (root_node == DI_NODE_NIL) { in svc_name_to_glvc_dev_path() 239 service_node = di_drv_first_node("glvc", root_node); in svc_name_to_glvc_dev_path() 270 di_fini(root_node); in svc_name_to_glvc_dev_path() 281 di_node_t root_node, vldc_node; in svc_name_to_vldc_dev_path() local 288 root_node = di_init_driver("vldc", DINFOCPYALL); in svc_name_to_vldc_dev_path() 289 if (root_node == DI_NODE_NIL) { in svc_name_to_vldc_dev_path() 293 vldc_node = di_drv_first_node("vldc", root_node); in svc_name_to_vldc_dev_path() 321 di_fini(root_node); in svc_name_to_vldc_dev_path()
|
/titanic_44/usr/src/common/mdesc/ |
H A D | mdesc_init_intern.c | 84 mdp->root_node = MDE_INVAL_ELEM_COOKIE; in md_init_intern() 122 if (mdp->root_node != MDE_INVAL_ELEM_COOKIE) { in md_init_intern() 126 mdp->root_node = (mde_cookie_t)idx; in md_init_intern() 140 if (mdp->root_node == MDE_INVAL_ELEM_COOKIE) { in md_init_intern() 162 if (md_get_prop_val((md_t *)mdp, mdp->root_node, in md_init_intern()
|
H A D | mdesc_rootnode.c | 43 return (mdp->root_node); in md_root_node()
|
/titanic_44/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcGetNumberOfAdapters.cc | 47 di_node_t root_node; in Sun_fcGetNumberOfAdapters() local 48 if ((root_node = di_init("/", DINFOSUBTREE|DINFOFORCE)) != DI_NODE_NIL) { in Sun_fcGetNumberOfAdapters() 49 di_fini(root_node); in Sun_fcGetNumberOfAdapters()
|
/titanic_44/usr/src/cmd/sysdef/ |
H A D | sdevinfo.c | 50 di_node_t root_node; in sysdef_devinfo() local 53 if ((root_node = di_init("/", DINFOSUBTREE)) == DI_NODE_NIL) { in sysdef_devinfo() 60 di_walk_node(root_node, DI_WALK_CLDFIRST, NULL, dump_node); in sysdef_devinfo() 62 di_fini(root_node); in sysdef_devinfo()
|
/titanic_44/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) { in destroy_snapshot() 171 di_fini(root_node); in destroy_snapshot() 173 root_node = DI_NODE_NIL; in destroy_snapshot() 188 if ((root_node = di_init("/", DINFOCPYALL)) == DI_NODE_NIL || in snapshot_devtree() 211 for (node = di_child_node(root_node); in get_prop() 325 (void) di_walk_node(root_node, DI_WALK_CLDFIRST, &cb, p2n_cb); in path2node()
|
/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | adopt.c | 275 di_node_t root_node; in get_prom_prop() local 287 if ((root_node = di_init("/", DINFOCPYALL)) == DI_NODE_NIL || in get_prom_prop() 298 for (node = di_child_node(root_node); in get_prom_prop() 391 if (root_node != DI_NODE_NIL) { in get_prom_prop() 392 di_fini(root_node); in get_prom_prop()
|
/titanic_44/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, in dsc_handler() 269 status = ptree_get_root(&root_node); in mdescplugin_init() 291 status = ptree_walk_tree_by_class(root_node, "cpu", NULL, add_cpu_prop); in mdescplugin_init()
|
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, in disk_discovery()
|
/titanic_44/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 1018 di_node_t root_node; in pci_cfg_snapshot() local 1027 root_node = di_init("/", DINFOCPYALL); in pci_cfg_snapshot() 1028 if (root_node == DI_NODE_NIL) in pci_cfg_snapshot() 1035 return (root_node); in pci_cfg_snapshot() 1038 node = di_drv_first_node(di_driver_name(pci_node), root_node); in pci_cfg_snapshot() 1047 return (root_node); in pci_cfg_snapshot() 1053 return (root_node); in pci_cfg_snapshot() 1063 return (root_node); in pci_cfg_snapshot() 1084 di_node_t root_node = DI_NODE_NIL; in pci_cfg_creat_cb() local 1099 root_node = pci_cfg_snapshot(pci_node, pci_minor, &node, &minor); in pci_cfg_creat_cb() [all …]
|
/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_pathname.c | 153 smb_node_t *root_node; in smb_pathname_reduce() local 197 root_node = share_root_node; in smb_pathname_reduce() 199 root_node = sr->sr_server->si_root_smb_node; in smb_pathname_reduce() 202 cur_node = root_node; in smb_pathname_reduce() 205 local_root_node = root_node; in smb_pathname_reduce() 217 err = smb_vss_lookup_nodes(sr, root_node, cur_node, in smb_pathname_reduce() 342 smb_node_t *root_node, smb_node_t *cur_node, smb_node_t **dir_node, in smb_pathname() argument 360 ASSERT(root_node); in smb_pathname() 388 rootvp = root_node->vp; in smb_pathname() 479 fnode = root_node; in smb_pathname()
|
/titanic_44/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4u.c | 84 Prom_node *root_node; /* root node of OBP device tree */ in do_prominfo() local 116 root_node = walk(&sys_tree, NULL, next(0)); in do_prominfo() 124 return (display(&sys_tree, root_node, &sys_kstat, syserrlog)); in do_prominfo()
|
H A D | pdevinfo_sun4v.c | 84 Prom_node *root_node; /* root node of OBP device tree */ in do_prominfo() local 124 root_node = sun4v_walk(&sys_tree, NULL, next(0)); in do_prominfo() 137 return (sun4v_display(&sys_tree, root_node, syserrlog, plafh)); in do_prominfo()
|
H A D | libdevinfo_sun4u.c | 414 Prom_node *root_node; /* root node of OBP device tree */ in do_devinfo() local 449 root_node = walk_di_tree(&sys_tree, NULL, di_root_node); in do_devinfo() 455 retval = display(&sys_tree, root_node, &sys_kstat, syserrlog); in do_devinfo()
|
/titanic_44/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 173 di_node_t root_node; in prtconf_devinfo() local 212 root_node = di_init_impl(rootpath, flag, &fetch); in prtconf_devinfo() 218 root_node = di_init(rootpath, flag); in prtconf_devinfo() 220 if (root_node == DI_NODE_NIL) { in prtconf_devinfo() 245 walk_driver(root_node, &di_arg); in prtconf_devinfo() 250 di_fini(root_node); in prtconf_devinfo() 257 target_node = find_target_node(root_node); in prtconf_devinfo() 304 (void) di_walk_node(root_node, DI_WALK_CLDFIRST, &di_arg, in prtconf_devinfo() 313 di_fini(root_node); in prtconf_devinfo() 354 find_target_node(di_node_t root_node) in find_target_node() argument [all …]
|
/titanic_44/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_ia_open.c | 96 di_node_t root_node, node; in dapl_ro_disallowed() local 115 if ((root_node = di_init("/", DINFOSUBTREE | DINFOPROP)) == DI_NODE_NIL) in dapl_ro_disallowed() 118 node = di_drv_first_node("daplt", root_node); in dapl_ro_disallowed() 136 di_fini(root_node); in dapl_ro_disallowed()
|
/titanic_44/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, in build_disk_list() 397 node = search_tree_match_pcibdf(root_node, bd->interfacepath.pci.bus, in match_edd() 549 if (root_node != DI_NODE_NIL) in cleanup_and_exit() 550 di_fini(root_node); in cleanup_and_exit() 589 if ((root_node = di_init("/", DINFOCACHE)) == DI_NODE_NIL) { in main()
|
/titanic_44/usr/src/cmd/modload/ |
H A D | add_drv.c | 114 di_node_t root_node; /* for device tree snapshot */ in main() local 354 if ((root_node = di_init("/", DINFOSUBTREE | DINFOMINOR)) in main() 359 conflict = drv_name_conflict(root_node); in main() 360 di_fini(root_node); in main() 614 drv_name_conflict(di_node_t root_node) in drv_name_conflict() argument 619 if (di_walk_node(root_node, DI_WALK_SIBFIRST, NULL, devfs_node) == -1) { in drv_name_conflict()
|
/titanic_44/usr/src/lib/efcode/engine/ |
H A D | package.c | 179 find_property(env->root_node, "device_type") == NULL) { in starfire_hack() 185 root_node(fcode_env_t *env) in root_node() function 188 activate_device(env, env->root_node); in root_node() 563 d = env->root_node->child; in match_package_path() 629 package = env->root_node; in find_package() 782 root_node(env); in paren_cd() 1024 env->root_node = d; in _init() 1063 FORTH(IMMEDIATE, "root-node", root_node); in _init()
|