/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/hostbridge/ |
H A D | hb_i86pc.c | 83 di_node_t pnode, cnode; in pci_hostbridges_find() local 119 for (cnode = di_child_node(pnode); cnode != DI_NODE_NIL; in pci_hostbridges_find() 120 cnode = di_sibling_node(cnode)) { in pci_hostbridges_find() 121 if (di_driver_name(cnode) == NULL) in pci_hostbridges_find() 123 if (strcmp(di_driver_name(cnode), PCI_PCI) == 0) { in pci_hostbridges_find() 124 if (hb_process(mod, ptn, hbcnt, cnode) < 0) { in pci_hostbridges_find() 133 if (strcmp(di_driver_name(cnode), PCIEB) == 0) { in pci_hostbridges_find() 134 if (rc_process(mod, ptn, hbcnt, cnode) < 0) { in pci_hostbridges_find()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_hostbridge.c | 192 di_node_t devtree, pnode, cnode; in x86pi_gen_pci_pciexrc() local 210 for (cnode = di_child_node(pnode); cnode != DI_NODE_NIL; in x86pi_gen_pci_pciexrc() 211 cnode = di_sibling_node(cnode)) { in x86pi_gen_pci_pciexrc() 212 if (di_driver_name(cnode) == NULL || in x86pi_gen_pci_pciexrc() 213 x86pi_bdf(mod, cnode) != bdf) in x86pi_gen_pci_pciexrc() 216 if (strcmp(di_driver_name(cnode), PCI_PCI) == 0) in x86pi_gen_pci_pciexrc() 217 return (pci_process(mod, tn_hbr, cnode)); in x86pi_gen_pci_pciexrc() 219 if (strcmp(di_driver_name(cnode), PCIEB) == 0) in x86pi_gen_pci_pciexrc() 221 cnode, (*rcip)++)); in x86pi_gen_pci_pciexrc()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | dr.c | 346 di_node_t cnode; in find_cpu() local 349 for (cnode = di_child_node(node); cnode != DI_NODE_NIL; in find_cpu() 350 cnode = di_sibling_node(cnode)) { in find_cpu() 351 nodename = di_node_name(cnode); in find_cpu() 355 dcpuid = get_cpuid(cnode); in find_cpu() 487 di_node_t cnode; in add_cpus() local 496 for (cnode = di_child_node(di_node); cnode != DI_NODE_NIL; in add_cpus() 497 cnode = di_sibling_node(cnode)) { in add_cpus() 498 nodename = di_node_name(cnode); in add_cpus() 502 cpu_arg.di_node = cnode; in add_cpus() [all …]
|
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 325 di_node_t cnode; in search_children_match_busaddr() local 340 for (cnode = di_child_node(node); cnode != DI_NODE_NIL; in search_children_match_busaddr() 341 cnode = di_sibling_node(cnode)) { in search_children_match_busaddr() 342 busaddr = di_bus_addr(cnode); in search_children_match_busaddr() 346 return (cnode); in search_children_match_busaddr() 360 di_node_t node, cnode = DI_NODE_NIL; in match_edd() local 420 cnode = search_children_match_busaddr(node, busaddrbuf); in match_edd() 435 if ((cnode = search_children_match_busaddr(node, in match_edd() 440 cnode = search_children_match_busaddr(cnode, in match_edd() 443 if (cnode == DI_NODE_NIL) in match_edd() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_node.c | 865 tnode_t *cnode; in topo_node_child_walk() local 873 cnode = topo_child_first(pnode); in topo_node_child_walk() 876 if (cnode == NULL) { in topo_node_child_walk() 882 while (cnode != NULL) { in topo_node_child_walk() 888 topo_node_hold(cnode); in topo_node_child_walk() 889 iret = cb_f(thp, cnode, arg); in topo_node_child_walk() 890 topo_node_rele(cnode); in topo_node_child_walk() 900 cnode = topo_child_next(pnode, cnode); in topo_node_child_walk()
|
H A D | topo_snap.c | 456 tnode_t *cnode; in topo_walk_destroy() local 458 cnode = topo_child_first(node); in topo_walk_destroy() 460 if (cnode != NULL) in topo_walk_destroy()
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_cache.c | 491 smb_cache_node_t *cnode; in smb_cache_destroy_nodes() local 495 while ((cnode = avl_destroy_nodes(cache, &cookie)) != NULL) { in smb_cache_destroy_nodes() 497 chandle->ch_free(cnode->cn_data); in smb_cache_destroy_nodes() 498 free(cnode); in smb_cache_destroy_nodes()
|
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 1520 di_node_t cnode; in construct_openprom_tree() local 1528 for (cnode = di_child_node(dinode); cnode != DI_NODE_NIL; in construct_openprom_tree() 1529 cnode = di_sibling_node(cnode)) in construct_openprom_tree() 1530 (void) construct_openprom_tree(chdh, cnode); in construct_openprom_tree() 1555 di_node_t cnode; in construct_devinfo_tree() local 1562 for (cnode = di_child_node(dinode); cnode != DI_NODE_NIL; in construct_devinfo_tree() 1563 cnode = di_sibling_node(cnode)) { in construct_devinfo_tree() 1564 nodename = di_node_name(cnode); /* PICL_PROP_NAME */ in construct_devinfo_tree() 1568 err = get_node_class(nodeclass, cnode, nodename); in construct_devinfo_tree() 1572 nodeclass, cnode, &chdh); in construct_devinfo_tree() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.c | 154 tnode_t *cnode; in create_node() local 200 cnode = topo_node_bind(mod, pnode, name, inst, fmri); in create_node() 203 if (cnode == NULL) { in create_node() 208 return (cnode); in create_node()
|
H A D | chip_amd.c | 139 amd_generic_mc_create(topo_mod_t *mod, uint16_t smbid, tnode_t *cnode, in amd_generic_mc_create() argument 697 amd_htconfig(topo_mod_t *mod, tnode_t *cnode, nvlist_t *htnvl) in amd_htconfig() argument 702 if (strcmp(topo_node_name(cnode), CHIP_NODE_NAME) != 0) { in amd_htconfig() 709 if (nvprop_add(mod, nvp, PGNAME(CHIP), cnode) != 0) in amd_htconfig()
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | itree.h | 114 struct node *cnode; member
|
H A D | itree.c | 1677 ptree(flags, cp->cnode, 1, 0); in itree_pbubble() 2101 newc->cnode = c; in itree_add_constraint() 2131 ASSERT(cl->cnode != NULL); in itree_free_constraints() 2132 if (!iexpr_cached(cl->cnode)) in itree_free_constraints() 2133 tree_free(cl->cnode); in itree_free_constraints() 2135 iexpr_free(cl->cnode); in itree_free_constraints()
|
H A D | fme.c | 3542 ptree(O_ALTFP|O_VERB|O_NONL, ctp->cnode, 1, 0); in checkconstraints() 3553 ptree(O_ALTFP|O_VERB|O_NONL, ctp->cnode, 1, 0); in checkconstraints() 3561 if (eval_expr(ctp->cnode, NULL, NULL, in checkconstraints() 3571 ptree(O_ALTFP|O_VERB|O_NONL, ctp->cnode, 1, 0); in checkconstraints() 3580 ptree(O_ALTFP|O_VERB|O_NONL, ctp->cnode, 1, 0); in checkconstraints() 3591 ptree(O_ALTFP|O_VERB|O_NONL, ctp->cnode, 1, 0); in checkconstraints()
|
/illumos-gate/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 109 static char *find_link(di_node_t cnode); 1178 find_link(di_node_t cnode) in find_link() argument 1187 devfspath = di_devfs_path(cnode); in find_link() 1188 if (cnode == DI_NODE_NIL) { in find_link() 1203 devminor = di_minor_next(cnode, devminor); in find_link()
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | webrev.sh | 2684 cnode=$($GIT --git-dir=${codemgr_ws}/.git rev-parse --short=12 \ 2688 PRETTY_CWS="${CWS} (explicit head at ${cnode})" 2690 PRETTY_CWS="${CWS} (at ${cnode})"
|