/titanic_41/usr/src/uts/sun4u/schumacher/os/ |
H A D | schumacher.c | 238 pnode_t curnode; in plat_lgrp_init() local 258 curnode = prom_rootnode(); in plat_lgrp_init() 259 for (curnode = prom_childnode(curnode); curnode; in plat_lgrp_init() 260 curnode = prom_nextnode(curnode)) { in plat_lgrp_init() 262 if (prom_getprop(curnode, OBP_NAME, (caddr_t)tmp_name) == -1 || in plat_lgrp_init() 263 prom_getprop(curnode, OBP_DEVICETYPE, tmp_name) == -1 || in plat_lgrp_init() 268 if (prom_getprop(curnode, "portid", (caddr_t)&portid) != -1 && in plat_lgrp_init()
|
/titanic_41/usr/src/uts/sun4u/enchilada/os/ |
H A D | enchilada.c | 255 pnode_t curnode; in plat_lgrp_init() local 275 curnode = prom_rootnode(); in plat_lgrp_init() 276 for (curnode = prom_childnode(curnode); curnode; in plat_lgrp_init() 277 curnode = prom_nextnode(curnode)) { in plat_lgrp_init() 279 if (prom_getprop(curnode, OBP_NAME, (caddr_t)tmp_name) == -1 || in plat_lgrp_init() 280 prom_getprop(curnode, OBP_DEVICETYPE, tmp_name) == -1 || in plat_lgrp_init() 285 if (prom_getprop(curnode, "portid", (caddr_t)&portid) != -1 && in plat_lgrp_init()
|
/titanic_41/usr/src/uts/sun4u/chicago/os/ |
H A D | chicago.c | 208 pnode_t curnode; in plat_lgrp_init() local 228 curnode = prom_rootnode(); in plat_lgrp_init() 229 for (curnode = prom_childnode(curnode); curnode; in plat_lgrp_init() 230 curnode = prom_nextnode(curnode)) { in plat_lgrp_init() 232 if (prom_bounded_getprop(curnode, OBP_DEVICETYPE, tmp_name, in plat_lgrp_init() 237 if (prom_getprop(curnode, "portid", (caddr_t)&portid) != in plat_lgrp_init()
|
/titanic_41/usr/src/uts/sun4u/os/ |
H A D | fillsysinfo.c | 241 map_wellknown(pnode_t curnode) in map_wellknown() argument 248 VPRINTF("map_wellknown(%x)\n", curnode); in map_wellknown() 251 for (curnode = CHILD(curnode); curnode; curnode = NEXT(curnode)) { in map_wellknown() 255 sok = status_okay((int)curnode, (char *)NULL, 0); in map_wellknown() 268 if ((size = GETPROPLEN(curnode, in map_wellknown() 273 "big\n", curnode, OBP_DEVICETYPE); in map_wellknown() 276 if (GETPROP(curnode, OBP_DEVICETYPE, in map_wellknown() 279 curnode, OBP_DEVICETYPE); in map_wellknown() 289 if (GETPROP(curnode, OBP_NAME, (caddr_t)tmp_name) != -1) in map_wellknown() 290 fill_address(curnode, tmp_name); in map_wellknown() [all …]
|
/titanic_41/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; in validate_devnvl() local 843 curnode = di_drv_first_node("ssd", devinfo_root); in validate_devnvl() 844 if (curnode != DI_NODE_NIL) in validate_devnvl() 845 rv1 = mpxio_nvl_boilerplate(curnode); in validate_devnvl() 847 curnode = di_drv_first_node("sd", devinfo_root); in validate_devnvl() 848 if (curnode != DI_NODE_NIL) in validate_devnvl() 849 rv2 = mpxio_nvl_boilerplate(curnode); in validate_devnvl() 863 di_node_t curnode; in print_node_name() local [all …]
|
/titanic_41/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4u.c | 164 register int curnode; in walk() local 258 if (curnode = child(id)) { in walk() 259 pnode->child = walk(tree, pnode, curnode); in walk() 262 if (curnode = next(id)) { in walk() 264 return (walk(tree, root, curnode)); in walk() 266 pnode->sibling = walk(tree, root, curnode); in walk()
|
H A D | pdevinfo_sun4v.c | 150 register int curnode; in sun4v_walk() local 218 if (curnode = child(id)) { in sun4v_walk() 219 pnode->child = sun4v_walk(tree, pnode, curnode); in sun4v_walk() 222 if (curnode = next(id)) { in sun4v_walk() 224 return (sun4v_walk(tree, root, curnode)); in sun4v_walk() 226 pnode->sibling = sun4v_walk(tree, root, curnode); in sun4v_walk()
|
H A D | libdevinfo_sun4u.c | 75 di_node_t curnode; in walk_di_tree() local 171 if (curnode = di_child_node(di_node)) { in walk_di_tree() 172 pnode->child = walk_di_tree(tree, pnode, curnode); in walk_di_tree() 175 if (curnode = di_sibling_node(di_node)) { in walk_di_tree() 177 return (walk_di_tree(tree, root, curnode)); in walk_di_tree() 179 pnode->sibling = walk_di_tree(tree, root, curnode); in walk_di_tree()
|
/titanic_41/usr/src/uts/sun4u/boston/os/ |
H A D | boston.c | 449 pnode_t curnode; in plat_lgrp_init() local 469 curnode = prom_rootnode(); in plat_lgrp_init() 470 for (curnode = prom_childnode(curnode); curnode; in plat_lgrp_init() 471 curnode = prom_nextnode(curnode)) { in plat_lgrp_init() 473 if (prom_bounded_getprop(curnode, OBP_DEVICETYPE, tmp_name, in plat_lgrp_init() 479 if (prom_getprop(curnode, "portid", (caddr_t)&portid) != in plat_lgrp_init()
|
/titanic_41/usr/src/uts/sun4u/seattle/os/ |
H A D | seattle.c | 451 pnode_t curnode; in plat_lgrp_init() local 471 curnode = prom_rootnode(); in plat_lgrp_init() 472 for (curnode = prom_childnode(curnode); curnode; in plat_lgrp_init() 473 curnode = prom_nextnode(curnode)) { in plat_lgrp_init() 475 if (prom_bounded_getprop(curnode, OBP_DEVICETYPE, tmp_name, in plat_lgrp_init() 481 if (prom_getprop(curnode, "portid", (caddr_t)&portid) != in plat_lgrp_init()
|
/titanic_41/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 451 di_node_t curnode = node; in pci_cfg_chassis_node() local 455 if (di_propall_lookup_ints(ph, 0, DDI_DEV_T_ANY, curnode, in pci_cfg_chassis_node() 457 return (curnode); in pci_cfg_chassis_node() 458 } while ((curnode = di_parent_node(curnode)) != DI_NODE_NIL); in pci_cfg_chassis_node() 694 di_node_t curnode = node; in pci_cfg_ap_path() local 712 chasnode = pci_cfg_chassis_node(curnode, ph); in pci_cfg_ap_path() 729 if ((curnode == node) != NULL) in pci_cfg_ap_path() 732 rv = pci_cfg_ap_node(pci_dev, curnode, ph, bufptr, bufsz, 0); in pci_cfg_ap_path() 745 if (curnode != node) { in pci_cfg_ap_path() 764 if (curnode == node) in pci_cfg_ap_path() [all …]
|
/titanic_41/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_node.c | 90 pnode_t curnode = stack[stackidx]; in prom_walk_devs() local 98 if (curnode == OBP_NONODE || curnode == OBP_BADNODE) { in prom_walk_devs() 108 switch ((*cb)(curnode, arg, result)) { in prom_walk_devs() 118 child = prom_childnode(curnode); in prom_walk_devs()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 869 register int curnode; in walk() local 957 if (curnode = child(id)) { in walk() 958 pnode->child = walk(tree, pnode, curnode); in walk() 961 if (curnode = next(id)) { in walk() 963 return (walk(tree, root, curnode)); in walk() 965 pnode->sibling = walk(tree, root, curnode); in walk()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 832 register int curnode; in walk() local 920 if (curnode = child(id)) { in walk() 921 pnode->child = walk(tree, pnode, curnode); in walk() 924 if (curnode = next(id)) { in walk() 926 return (walk(tree, root, curnode)); in walk() 928 pnode->sibling = walk(tree, root, curnode); in walk()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | fssnap.c | 1286 cow_map_node_t *curnode; in transtbl_free() local 1289 for (curnode = cmap->cmap_table; curnode != NULL; curnode = tempnode) { in transtbl_free() 1290 tempnode = curnode->cmn_next; in transtbl_free() 1292 kmem_free(curnode->cmn_buf, cmap->cmap_chunksz); in transtbl_free() 1293 kmem_free(curnode, sizeof (cow_map_node_t)); in transtbl_free()
|
/titanic_41/usr/src/cmd/awk/ |
H A D | lib.c | 563 extern Node *curnode; in error() 577 if (compile_time != 2 && curnode) in error() 579 curnode->lineno); in error()
|
H A D | run.c | 74 Node *curnode = NULL; /* the node being executed, for debugging */ variable 97 curnode = a; in r_execute()
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | lgrpplat.c | 2018 int curnode; in lgrp_plat_main_init() local 2055 curnode = lgrp_plat_cpu_to_node(CPU, lgrp_plat_cpu_node, in lgrp_plat_main_init() 2057 ASSERT(curnode >= 0 && curnode < lgrp_plat_node_cnt); in lgrp_plat_main_init() 2058 if (lgrp_plat_lat_stats.latencies[curnode][curnode] == 0) in lgrp_plat_main_init()
|
/titanic_41/usr/src/cmd/awk_xpg4/ |
H A D | awk0.c | 224 NODE *curnode; /* Pointer to current line */ variable
|
H A D | awk3.c | 563 curnode = wp; in execute() 665 curnode = np; in action() 1028 curnode = np; in exprreduce() 1793 register NODE *savenode = curnode; in userfunc() 1799 curnode = savenode; in userfunc()
|
H A D | awk.h | 443 extern NODE *curnode;
|
H A D | awk1.c | 1206 curnode == NNULL ? 0 : curnode->n_lineno); in awkierr()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/ |
H A D | montecarlo.c | 2255 int curnode; in mc_walk() local 2257 if (curnode = mc_child(id)) in mc_walk() 2258 mc_walk(curnode); in mc_walk() 2259 if (curnode = mc_next(id)) in mc_walk() 2260 mc_walk(curnode); in mc_walk()
|