/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 121 return (DI_NODE_NIL); in di_init_driver() 131 return (DI_NODE_NIL); in di_init_driver() 138 return (DI_NODE_NIL); in di_init_driver() 170 return (DI_NODE_NIL); in di_init_impl() 191 return (DI_NODE_NIL); in di_init_impl() 214 return (DI_NODE_NIL); in di_init_impl() 221 return (DI_NODE_NIL); in di_init_impl() 233 return (DI_NODE_NIL); in di_init_impl() 243 return (DI_NODE_NIL); in di_init_impl() 248 return (DI_NODE_NIL); in di_init_impl() [all …]
|
/titanic_50/usr/src/lib/libwanboot/common/ |
H A D | bootinfo_aux.c | 63 static di_node_t root_node = DI_NODE_NIL; 170 if (root_node != DI_NODE_NIL) { 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() 212 node != DI_NODE_NIL; in get_prop() 218 if (node == DI_NODE_NIL) { in get_prop() 323 cb.cb_node = DI_NODE_NIL; in path2node() 399 (node = path2node(devpath)) == DI_NODE_NIL || in manual_if_init() 407 (node = path2node(devpath)) == DI_NODE_NIL || in manual_if_init() 427 if ((tmp = di_init_driver(drvname, 0)) != DI_NODE_NIL) { in manual_if_init() [all …]
|
/titanic_50/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetAssociatedPathOidList.c | 42 di_node_t root_node = DI_NODE_NIL; in doDevInfoStuffForIntPort() 44 di_node_t vh_node = DI_NODE_NIL; in doDevInfoStuffForIntPort() 45 di_node_t ph_node = DI_NODE_NIL; in doDevInfoStuffForIntPort() 46 di_node_t sv_node = DI_NODE_NIL; in doDevInfoStuffForIntPort() 79 if (DI_NODE_NIL == root_node) { in doDevInfoStuffForIntPort() 88 while (DI_NODE_NIL != vh_node) { in doDevInfoStuffForIntPort() 92 while (DI_NODE_NIL != ph_node) { in doDevInfoStuffForIntPort() 145 if (DI_NODE_NIL == sv_node) { in doDevInfoStuffForIntPort() 199 di_node_t root_node = DI_NODE_NIL; in doDevInfoStuffForTargetPort() 200 di_node_t sv_node = DI_NODE_NIL; in doDevInfoStuffForTargetPort() [all …]
|
H A D | MP_GetInitiatorPortOidListPlugin.c | 42 di_node_t vh_node = DI_NODE_NIL; in getOidList() 43 di_node_t ph_node = DI_NODE_NIL; in getOidList() 54 while (DI_NODE_NIL != vh_node) { in getOidList() 58 while (DI_NODE_NIL != ph_node) { in getOidList() 122 di_node_t root_node = DI_NODE_NIL; in MP_GetInitiatorPortOidListPlugin() 133 if (DI_NODE_NIL == root_node) { in MP_GetInitiatorPortOidListPlugin()
|
H A D | MP_GetMultipathLusPlugin.c | 73 di_node_t sv_node = DI_NODE_NIL; in getOidList() 74 di_node_t sv_child_node = DI_NODE_NIL; in getOidList() 83 if (DI_NODE_NIL == sv_node) { in getOidList() 92 while (DI_NODE_NIL != sv_child_node) { in getOidList() 157 di_node_t root_node = DI_NODE_NIL; in MP_GetMultipathLusPlugin() 167 if (DI_NODE_NIL == root_node) { in MP_GetMultipathLusPlugin()
|
H A D | MP_GetMultipathLusDevProd.c | 49 di_node_t sv_node = DI_NODE_NIL; in getOidList() 50 di_node_t sv_child_node = DI_NODE_NIL; in getOidList() 61 if (DI_NODE_NIL == sv_node) { in getOidList() 69 while (DI_NODE_NIL != sv_child_node) { in getOidList() 120 di_node_t root_node = DI_NODE_NIL; in MP_GetMultipathLusDevProd() 205 if (DI_NODE_NIL == root_node) { in MP_GetMultipathLusDevProd()
|
H A D | MP_GetMPLogicalUnitProperties.c | 67 di_node_t root_node = DI_NODE_NIL; in getDeviceFileName() 68 di_node_t cur_node = DI_NODE_NIL; in getDeviceFileName() 93 if (DI_NODE_NIL == root_node) { in getDeviceFileName() 102 if (DI_NODE_NIL == cur_node) { in getDeviceFileName() 114 while (DI_NODE_NIL != cur_node) { in getDeviceFileName() 134 if (DI_NODE_NIL != cur_node) { in getDeviceFileName()
|
H A D | MP_GetMPLuOidListFromTPG.c | 134 di_node_t sv_node = DI_NODE_NIL; in getOidList() 135 di_node_t child_node = DI_NODE_NIL; in getOidList() 218 if (DI_NODE_NIL == sv_node) { in getOidList() 227 while (DI_NODE_NIL != child_node) { in getOidList() 345 di_node_t root_node = DI_NODE_NIL; in MP_GetMPLuOidListFromTPG() 394 if (DI_NODE_NIL == root_node) { in MP_GetMPLuOidListFromTPG()
|
/titanic_50/usr/src/lib/libpcp/common/ |
H A D | pcp_utils.c | 235 if (root_node == DI_NODE_NIL) { in svc_name_to_glvc_dev_path() 241 while (service_node != DI_NODE_NIL) { in svc_name_to_glvc_dev_path() 245 minor = di_minor_next(service_node, DI_NODE_NIL); in svc_name_to_glvc_dev_path() 247 while (minor != DI_NODE_NIL) { in svc_name_to_glvc_dev_path() 289 if (root_node == DI_NODE_NIL) { in svc_name_to_vldc_dev_path() 295 while (vldc_node != DI_NODE_NIL) { in svc_name_to_vldc_dev_path() 297 minor = di_minor_next(vldc_node, DI_NODE_NIL); in svc_name_to_vldc_dev_path() 299 while (minor != DI_NODE_NIL) { in svc_name_to_vldc_dev_path()
|
/titanic_50/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 90 static di_node_t root_node = DI_NODE_NIL; 96 static di_node_t root_allnode = DI_NODE_NIL; 267 pb.di_node = DI_NODE_NIL; in search_tree_match_pcibdf() 301 usbs.node = DI_NODE_NIL; in search_tree_match_usbserialno() 332 return (DI_NODE_NIL); in search_children_match_busaddr() 342 for (cnode = di_child_node(node); cnode != DI_NODE_NIL; in search_children_match_busaddr() 351 return (DI_NODE_NIL); in search_children_match_busaddr() 362 di_node_t node, cnode = DI_NODE_NIL; in match_edd() 400 if (node == DI_NODE_NIL) { in match_edd() 438 busaddrbuf)) != DI_NODE_NIL) { in match_edd() [all …]
|
/titanic_50/usr/src/lib/fm/topo/modules/sun4u/hostbridge/ |
H A D | hb_sun4u.c | 125 if (devtree == DI_NODE_NIL) { in pci_hostbridges_find() 132 while (pnode != DI_NODE_NIL) { in pci_hostbridges_find() 139 while (pnode != DI_NODE_NIL) { in pci_hostbridges_find() 146 while (pnode != DI_NODE_NIL) { in pci_hostbridges_find() 153 while (pnode != DI_NODE_NIL) { in pci_hostbridges_find()
|
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_bay.c | 209 di_node_t sib = DI_NODE_NIL; in pi_bay_find_nodes() 210 di_node_t gsib = DI_NODE_NIL; in pi_bay_find_nodes() 220 while (sib != DI_NODE_NIL) { in pi_bay_find_nodes() 235 while (gsib != DI_NODE_NIL) { in pi_bay_find_nodes() 257 if (sib == DI_NODE_NIL) { in pi_bay_find_nodes() 258 *sibp = DI_NODE_NIL; in pi_bay_find_nodes() 295 dnode != DI_NODE_NIL; in pi_bay_update_node() 306 if (dnode == DI_NODE_NIL) { in pi_bay_update_node() 336 if (sib == DI_NODE_NIL || minor == DI_MINOR_NIL) { in pi_bay_update_node()
|
/titanic_50/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 458 } while ((curnode = di_parent_node(curnode)) != DI_NODE_NIL); in pci_cfg_chassis_node() 460 return (DI_NODE_NIL); in pci_cfg_chassis_node() 695 di_node_t chasnode = DI_NODE_NIL; in pci_cfg_ap_path() 713 if (chasnode != DI_NODE_NIL) { in pci_cfg_ap_path() 770 if (chasnode == DI_NODE_NIL) in pci_cfg_ap_path() 786 } while ((curnode = di_parent_node(curnode)) != DI_NODE_NIL); in pci_cfg_ap_path() 901 } while ((curnode = di_parent_node(curnode)) != DI_NODE_NIL); in pci_cfg_is_ap_path() 1024 *ret_node = DI_NODE_NIL; in pci_cfg_snapshot() 1028 if (root_node == DI_NODE_NIL) in pci_cfg_snapshot() 1029 return (DI_NODE_NIL); in pci_cfg_snapshot() [all …]
|
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/hostbridge/ |
H A D | hb_i86pc.c | 88 if (devtree == DI_NODE_NIL) { in pci_hostbridges_find() 95 while (pnode != DI_NODE_NIL) { in pci_hostbridges_find() 106 while (pnode != DI_NODE_NIL) { in pci_hostbridges_find() 107 for (cnode = di_child_node(pnode); cnode != DI_NODE_NIL; in pci_hostbridges_find()
|
/titanic_50/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | adopt.c | 287 if ((root_node = di_init("/", DINFOCPYALL)) == DI_NODE_NIL || in get_prom_prop() 299 node != DI_NODE_NIL; in get_prom_prop() 306 if (node == DI_NODE_NIL) { in get_prom_prop() 391 if (root_node != DI_NODE_NIL) { in get_prom_prop()
|
/titanic_50/usr/src/cmd/ldmad/ |
H A D | ldma_dio.c | 133 return ((di_parent_node(di) != DI_NODE_NIL) && in is_root_complex() 134 (di_parent_node(di_parent_node(di)) == DI_NODE_NIL)); in is_root_complex() 263 while ((di_child = di_child_node(di_parent)) != DI_NODE_NIL) { in create_children() 290 while ((di_peer = di_sibling_node(dev)) != DI_NODE_NIL) { in create_peers() 309 if (root == DI_NODE_NIL) { in device_tree_to_md()
|
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_hostbridge.c | 198 if (devtree == DI_NODE_NIL) { in x86pi_gen_pci_pciexrc() 204 pnode != DI_NODE_NIL; pnode = di_drv_next_node(pnode)) in x86pi_gen_pci_pciexrc() 209 while (pnode != DI_NODE_NIL) { in x86pi_gen_pci_pciexrc() 210 for (cnode = di_child_node(pnode); cnode != DI_NODE_NIL; in x86pi_gen_pci_pciexrc()
|
H A D | x86pi_bay.c | 202 if (devtree == DI_NODE_NIL) { in bay_update_tnode() 207 dnode != DI_NODE_NIL; in bay_update_tnode() 214 while (sib != DI_NODE_NIL) { in bay_update_tnode() 222 if (dnode == DI_NODE_NIL) { in bay_update_tnode()
|
/titanic_50/usr/src/lib/fm/topo/libtopo/common/ |
H A D | dev.c | 412 else if ((dnode = di_init("/", DINFOCACHE)) == DI_NODE_NIL) in dev_fmri_present() 415 if (di_lookup_node(dnode, devpath) == DI_NODE_NIL) in dev_fmri_present() 424 else if ((dnode = di_init(devpath, DINFOCPYONE)) == DI_NODE_NIL) in dev_fmri_present() 492 else if ((dnode = di_init("/", DINFOCACHE)) == DI_NODE_NIL) in dev_fmri_replaced() 495 if (di_lookup_node(dnode, devpath) == DI_NODE_NIL) in dev_fmri_replaced() 504 else if ((dnode = di_init(devpath, DINFOCPYONE)) == DI_NODE_NIL) in dev_fmri_replaced() 554 if ((dnode = di_init(devpath, DINFOCPYONE)) == DI_NODE_NIL) { in dev_fmri_unusable() 601 if ((dnode = di_init(devpath, DINFOCPYONE)) == DI_NODE_NIL) { in dev_fmri_service_state()
|
/titanic_50/usr/src/cmd/fuser/ |
H A D | fuser.c | 241 if (*di_root == DI_NODE_NIL) { in i_get_dev_path() 243 if (*di_root == DI_NODE_NIL) { in i_get_dev_path() 251 if (di_node == DI_NODE_NIL) in i_get_dev_path() 379 di_node_t di_root = DI_NODE_NIL; in report() 395 if (di_root != DI_NODE_NIL) in report()
|
/titanic_50/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_hba.c | 193 for (i = 0, cn = di_child_node(pn); cn != DI_NODE_NIL; in pci_iports_instantiate() 207 for (j = 0, sd = di_child_node(cn); sd != DI_NODE_NIL; in pci_iports_instantiate() 219 for (j = 0, sd = di_child_node(cn); sd != DI_NODE_NIL; in pci_iports_instantiate() 235 for (j = 0, smp = di_child_node(cn); smp != DI_NODE_NIL; in pci_iports_instantiate() 241 for (j = 0, smp = di_child_node(cn); smp != DI_NODE_NIL; in pci_iports_instantiate()
|
/titanic_50/usr/src/cmd/hotplugd/ |
H A D | hotplugd_info.c | 144 if ((di_root = di_init(path, DINFOSUBTREE | DINFOHP)) == DI_NODE_NIL) in copy_devinfo() 213 for (child = di_child_node(dev); child != DI_NODE_NIL; in copy_devices() 294 if ((child_dev = di_hp_child(hp)) != DI_NODE_NIL) in copy_hotplug() 344 if ((child_dev = di_hp_child(port_hp)) != DI_NODE_NIL) { in copy_hotplug() 405 for (parent = node; parent != DI_NODE_NIL; in search_cb()
|
/titanic_50/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/ |
H A D | opl_ioboard.c | 133 n != DI_NODE_NIL; in opl_map_boards() 231 if (opl_devtree == DI_NODE_NIL || in opl_get_model() 272 if (opl_devtree == DI_NODE_NIL) { in opl_iob_enum() 303 pnode != DI_NODE_NIL; in opl_iob_enum()
|
/titanic_50/usr/src/cmd/sysdef/ |
H A D | sdevinfo.c | 53 if ((root_node = di_init("/", DINFOSUBTREE)) == DI_NODE_NIL) { in sysdef_devinfo() 78 while ((tmp = di_parent_node(tmp)) != DI_NODE_NIL) in dump_node()
|
/titanic_50/usr/src/lib/fm/topo/modules/SUNW,Sun-Fire/ioboard/ |
H A D | iob_platform.c | 88 if (devtree == DI_NODE_NIL) { in platform_iob_enum() 99 while (pnode != DI_NODE_NIL) { in platform_iob_enum()
|