/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4u.c | 164 register int curnode; local 258 if (curnode = child(id)) { 259 pnode->child = walk(tree, pnode, curnode); 262 if (curnode = next(id)) { 264 return (walk(tree, root, curnode)); 266 pnode->sibling = walk(tree, root, curnode);
|
H A D | libdevinfo_sun4u.c | 75 di_node_t curnode; local 171 if (curnode = di_child_node(di_node)) { 172 pnode->child = walk_di_tree(tree, pnode, curnode); 175 if (curnode = di_sibling_node(di_node)) { 177 return (walk_di_tree(tree, root, curnode)); 179 pnode->sibling = walk_di_tree(tree, root, curnode);
|
H A D | pdevinfo_sun4v.c | 150 register int curnode; local 218 if (curnode = child(id)) { 219 pnode->child = sun4v_walk(tree, pnode, curnode); 222 if (curnode = next(id)) { 224 return (sun4v_walk(tree, root, curnode)); 226 pnode->sibling = sun4v_walk(tree, root, curnode);
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_node.c | 90 pnode_t curnode = stack[stackidx]; local 98 if (curnode == OBP_NONODE || curnode == OBP_BADNODE) { 108 switch ((*cb)(curnode, arg, result)) { 115 * If curnode has a child, traverse to it, 116 * otherwise move to curnode's sibling. 118 child = prom_childnode(curnode);
|
/illumos-gate/usr/src/uts/sun4u/chicago/os/ |
H A D | chicago.c | 208 pnode_t curnode; local 228 curnode = prom_rootnode(); 229 for (curnode = prom_childnode(curnode); curnode; 230 curnode = prom_nextnode(curnode)) { 232 if (prom_bounded_getprop(curnode, OBP_DEVICETYPE, tmp_name, 237 if (prom_getprop(curnode, "portid", (caddr_t)&portid) !=
|
/illumos-gate/usr/src/uts/sun4u/enchilada/os/ |
H A D | enchilada.c | 255 pnode_t curnode; local 275 curnode = prom_rootnode(); 276 for (curnode = prom_childnode(curnode); curnode; 277 curnode = prom_nextnode(curnode)) { 279 if (prom_getprop(curnode, OBP_NAME, (caddr_t)tmp_name) == -1 || 280 prom_getprop(curnode, OBP_DEVICETYPE, tmp_name) == -1 || 285 if (prom_getprop(curnode, "porti [all...] |
/illumos-gate/usr/src/uts/sun4u/schumacher/os/ |
H A D | schumacher.c | 238 pnode_t curnode; local 258 curnode = prom_rootnode(); 259 for (curnode = prom_childnode(curnode); curnode; 260 curnode = prom_nextnode(curnode)) { 262 if (prom_getprop(curnode, OBP_NAME, (caddr_t)tmp_name) == -1 || 263 prom_getprop(curnode, OBP_DEVICETYPE, tmp_name) == -1 || 268 if (prom_getprop(curnode, "porti [all...] |
/illumos-gate/usr/src/uts/sun4u/boston/os/ |
H A D | boston.c | 449 pnode_t curnode; local 469 curnode = prom_rootnode(); 470 for (curnode = prom_childnode(curnode); curnode; 471 curnode = prom_nextnode(curnode)) { 473 if (prom_bounded_getprop(curnode, OBP_DEVICETYPE, tmp_name, 479 if (prom_getprop(curnode, "portid", (caddr_t)&portid) !=
|
/illumos-gate/usr/src/uts/sun4u/seattle/os/ |
H A D | seattle.c | 451 pnode_t curnode; local 471 curnode = prom_rootnode(); 472 for (curnode = prom_childnode(curnode); curnode; 473 curnode = prom_nextnode(curnode)) { 475 if (prom_bounded_getprop(curnode, OBP_DEVICETYPE, tmp_name, 481 if (prom_getprop(curnode, "portid", (caddr_t)&portid) !=
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 869 register int curnode; local 957 if (curnode = child(id)) { 958 pnode->child = walk(tree, pnode, curnode); 961 if (curnode = next(id)) { 963 return (walk(tree, root, curnode)); 965 pnode->sibling = walk(tree, root, curnode);
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 451 di_node_t curnode = node; local 455 if (di_propall_lookup_ints(ph, 0, DDI_DEV_T_ANY, curnode, 457 return (curnode); 458 } while ((curnode = di_parent_node(curnode)) != DI_NODE_NIL); 694 di_node_t curnode = node; local 712 chasnode = pci_cfg_chassis_node(curnode, ph); 729 if ((curnode == node) != NULL) 732 rv = pci_cfg_ap_node(pci_dev, curnode, ph, bufptr, bufsz, 0); 745 if (curnode ! 894 di_node_t curnode = node; local [all...] |
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk0.c | 224 NODE *curnode; /* Pointer to current line */ variable
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | fillsysinfo.c | 241 map_wellknown(pnode_t curnode) argument 248 VPRINTF("map_wellknown(%x)\n", curnode); 251 for (curnode = CHILD(curnode); curnode; curnode = NEXT(curnode)) { 255 sok = status_okay((int)curnode, (char *)NULL, 0); 268 if ((size = GETPROPLEN(curnode, 273 "big\n", curnode, OBP_DEVICETYP 305 fill_address(pnode_t curnode, char *namep) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 832 register int curnode; local 920 if (curnode = child(id)) { 921 pnode->child = walk(tree, pnode, curnode); 924 if (curnode = next(id)) { 926 return (walk(tree, root, curnode)); 928 pnode->sibling = walk(tree, root, curnode);
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | run.c | 74 Node *curnode = NULL; /* the node being executed, for debugging */ variable 97 curnode = a;
|
/illumos-gate/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 101 static void print_mpx_capable(di_node_t curnode); 104 static int mpxio_nvl_boilerplate(di_node_t curnode); 825 di_node_t curnode; local 843 curnode = di_drv_first_node("ssd", devinfo_root); 844 if (curnode != DI_NODE_NIL) 845 rv1 = mpxio_nvl_boilerplate(curnode); 847 curnode = di_drv_first_node("sd", devinfo_root); 848 if (curnode != DI_NODE_NIL) 849 rv2 = mpxio_nvl_boilerplate(curnode); 863 di_node_t curnode; local 903 mpxio_nvl_boilerplate(di_node_t curnode) argument 1113 print_mpx_capable(di_node_t curnode) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | fssnap.c | 1286 cow_map_node_t *curnode; local 1289 for (curnode = cmap->cmap_table; curnode != NULL; curnode = tempnode) { 1290 tempnode = curnode->cmn_next; 1292 kmem_free(curnode->cmn_buf, cmap->cmap_chunksz); 1293 kmem_free(curnode, sizeof (cow_map_node_t));
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/ |
H A D | montecarlo.c | 2255 int curnode; local 2257 if (curnode = mc_child(id)) 2258 mc_walk(curnode); 2259 if (curnode = mc_next(id)) 2260 mc_walk(curnode);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | lgrpplat.c | 2018 int curnode; local 2055 curnode = lgrp_plat_cpu_to_node(CPU, lgrp_plat_cpu_node, 2057 ASSERT(curnode >= 0 && curnode < lgrp_plat_node_cnt); 2058 if (lgrp_plat_lat_stats.latencies[curnode][curnode] == 0)
|