/illumos-gate/usr/src/cmd/picl/plugins/common/frutree/ |
H A D | piclfrutree.c | 123 picl_nodehdl_t rooth; local 128 if (ptree_get_root(&rooth) != PICL_SUCCESS) 131 if (picld_pluginutil_parse_config_file(rooth, fullfilename) !=
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4v.c | 85 picl_nodehdl_t rooth; /* root PICL node for IO display */ local 127 err = picl_get_root(&rooth); 133 err = sun4v_get_node_by_name(rooth, PICL_NODE_PLATFORM, &plafh); 241 sun4v_get_node_by_name(picl_nodehdl_t rooth, char *name, argument 252 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh,
|
H A D | display_sun4v.c | 90 static picl_nodehdl_t rooth = 0, phyplatformh = 0; variable 171 if (picl_get_root(&rooth) != PICL_SUCCESS) 178 if (sun4v_get_node_by_name(rooth, PICL_NODE_PHYSICAL_PLATFORM, 1963 (void) picl_walk_tree_by_class(rooth, "openprom", NULL, 1976 (void) picl_walk_tree_by_class(rooth, "openprom", NULL,
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | io_dev_label.c | 32 find_node_by_string_prop(picl_nodehdl_t rooth, const char *pname, 279 find_node_by_string_prop(picl_nodehdl_t rooth, const char *pname, argument 285 for (err = ptree_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh,
|
/illumos-gate/usr/src/cmd/locator/ |
H A D | locator.c | 198 picl_nodehdl_t rooth; local 242 err = picl_get_root(&rooth); 262 err = picl_walk_tree_by_class(rooth, "led", &locator_info,
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvsetup.c | 591 env_parse_tunables(picl_nodehdl_t rooth) argument 600 (void) picld_pluginutil_parse_config_file(rooth, pname); 612 picl_nodehdl_t rooth; local 617 if (ptree_get_root(&rooth) != PICL_SUCCESS) { 620 err = ptree_create_and_add_node(rooth, PICL_PLUGINS_NODE, 633 env_parse_tunables(rooth); 715 picl_nodehdl_t rooth; local 763 if (ptree_get_root(&rooth) != PICL_SUCCESS) 765 err = picld_pluginutil_parse_config_file(rooth, fullfilename);
|
/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/ |
H A D | piclmemcfg_comm.c | 689 find_mc_create_tree(picl_nodehdl_t rooth, int fd) argument 693 err = ptree_walk_tree_by_class(rooth, PICL_CLASS_MEMORY_CONTROLLER,
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/ |
H A D | piclenvsetup.c | 808 env_parse_tunables(picl_nodehdl_t rooth) argument 817 (void) picld_pluginutil_parse_config_file(rooth, pname); 829 picl_nodehdl_t rooth; local 834 if (ptree_get_root(&rooth) != PICL_SUCCESS) { 837 err = ptree_create_and_add_node(rooth, PICL_PLUGINS_NODE, 852 env_parse_tunables(rooth); 939 picl_nodehdl_t rooth; local 1012 if (ptree_get_root(&rooth) != PICL_SUCCESS) 1014 err = picld_pluginutil_parse_config_file(rooth, fullfilename);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvsetup.c | 808 env_parse_tunables(picl_nodehdl_t rooth) argument 817 (void) picld_pluginutil_parse_config_file(rooth, pname); 829 picl_nodehdl_t rooth; local 834 if (ptree_get_root(&rooth) != PICL_SUCCESS) { 837 err = ptree_create_and_add_node(rooth, PICL_PLUGINS_NODE, 850 env_parse_tunables(rooth); 935 picl_nodehdl_t rooth; local 1002 if (ptree_get_root(&rooth) != PICL_SUCCESS) 1004 err = picld_pluginutil_parse_config_file(rooth, fullfilename);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvsetup.c | 837 picl_nodehdl_t rooth; local 887 if (ptree_get_root(&rooth) != PICL_SUCCESS) 889 err = picld_pluginutil_parse_config_file(rooth, fullfilename);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/ |
H A D | picldr.c | 88 picl_nodehdl_t rooth = 0, chassis_nodehdl = 0, cpu_nodehdl = 0; variable 267 if ((rc = ptree_get_root(&rooth)) != PICL_SUCCESS) {
|
/illumos-gate/usr/src/cmd/picl/prtpicl/ |
H A D | prtpicl.c | 514 picl_nodehdl_t rooth; local 558 err = picl_get_root(&rooth); 565 err = print_tree_by_class(ROOT_LEVEL, rooth,
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_mod.c | 790 di_node_t rooth = DI_NODE_NIL; local 799 } else if ((rooth = topo_mod_devinfo(mod)) != DI_NODE_NIL && 801 if (di_prom_prop_lookup_bytes(promh, rooth, "chassis-sn",
|
/illumos-gate/usr/src/lib/libpicl/ |
H A D | picl.c | 327 * the buffer <rooth> 330 picl_get_root(picl_nodehdl_t *rooth) argument 345 *rooth = ret->ret_root.rnode; 707 do_walk(picl_nodehdl_t rooth, const char *classname, argument 714 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &chdh, 746 picl_walk_tree_by_class(picl_nodehdl_t rooth, const char *classname, argument 753 err = do_walk(rooth, classname, c_args, callback_fn); 812 picl_find_node(picl_nodehdl_t rooth, char *pname, picl_prop_type_t ptype, argument 823 req->nodeh = rooth;
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 60 static picl_errno_t do_walk(picl_nodehdl_t rooth, const char *classname, 62 static int opl_get_node_by_name(picl_nodehdl_t rooth, char *name, 475 picl_nodehdl_t rooth; /* root PICL node for IO display */ local 488 err = picl_get_root(&rooth); 495 err = opl_get_node_by_name(rooth, PICL_NODE_PLATFORM, &plafh); 514 opl_get_node_by_name(picl_nodehdl_t rooth, char *name, argument 525 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, 878 do_walk(picl_nodehdl_t rooth, const char *classname, argument 885 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &chdh,
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/ |
H A D | snowbird.c | 299 picldiag_get_node_by_name(picl_nodehdl_t rooth, char *name, argument 310 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, 348 picl_nodehdl_t rooth; local 361 if ((status = picl_get_root(&rooth)) != PICL_SUCCESS) { 366 status = picldiag_get_node_by_name(rooth, PICL_NODE_PLATFORM, &plafh);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/ |
H A D | piclfrutree.c | 290 do_ioboard_init(picl_nodehdl_t rooth) argument 311 err = ptree_add_node(rooth, iobrdh); 324 do_rscboard_init(picl_nodehdl_t rooth) argument 345 err = ptree_add_node(rooth, rscbrdh); 358 do_fcal_init(picl_nodehdl_t rooth) argument 375 err = ptree_add_node(rooth, fcalsloth); 408 do_power_supplies_init(picl_nodehdl_t rooth) argument 431 err = ptree_add_node(rooth, powerbrdh); 491 do_centerplane_init(picl_nodehdl_t rooth) argument 515 err = ptree_add_node(rooth, sysboard 580 do_cpu_module_init(picl_nodehdl_t rooth, int slot) argument 615 do_dimms_init(picl_nodehdl_t rooth, int slot, int module) argument 790 picl_nodehdl_t rooth; local 859 remove_all_nodes(picl_nodehdl_t rooth) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/ |
H A D | piclfrutree.c | 351 do_ioboard_init(picl_nodehdl_t rooth) argument 372 err = ptree_add_node(rooth, iobrdh); 385 do_rscboard_init(picl_nodehdl_t rooth) argument 406 err = ptree_add_node(rooth, rscbrdh); 419 do_fcal_init(picl_nodehdl_t rooth) argument 443 err = ptree_add_node(rooth, fcalsloth); 489 err = ptree_add_node(rooth, fcalgbich); 502 do_power_supplies_init(picl_nodehdl_t rooth) argument 525 err = ptree_add_node(rooth, powerbrdh); 585 do_motherboard_init(picl_nodehdl_t rooth) argument 674 do_cpu_module_init(picl_nodehdl_t rooth, int slot) argument 709 do_dimms_init(picl_nodehdl_t rooth, int slot, int module) argument 884 picl_nodehdl_t rooth; local 953 remove_all_nodes(picl_nodehdl_t rooth) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | piclenvsetup.c | 789 picl_nodehdl_t rooth; local 832 if (ptree_get_root(&rooth) != PICL_SUCCESS) 834 err = picld_pluginutil_parse_config_file(rooth, fullfilename);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/ |
H A D | piclfrutree.c | 254 do_sysboard_init(picl_nodehdl_t rooth, picl_nodehdl_t *childh) argument 274 err = ptree_add_node(rooth, *childh); 288 do_cpus_init(picl_nodehdl_t rooth) argument 309 err = ptree_add_node(rooth, cpusloth); 342 do_mem_init(picl_nodehdl_t rooth) argument 364 err = ptree_add_node(rooth, memsloth); 397 do_power_supplies_init(picl_nodehdl_t rooth) argument 420 err = ptree_add_node(rooth, powerbrdh); 480 do_fcal_init(picl_nodehdl_t rooth) argument 501 err = ptree_add_node(rooth, fcalbrd 514 do_rscboard_init(picl_nodehdl_t rooth) argument 662 picl_nodehdl_t rooth; local 739 remove_all_nodes(picl_nodehdl_t rooth) argument [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd.c | 382 di_node_t rooth = DI_NODE_NIL; local 401 } else if ((rooth = di_init("/", DINFOPROP)) != DI_NODE_NIL && 403 if (di_prom_prop_lookup_bytes(promh, rooth, "chassis-sn", 411 if (rooth != DI_NODE_NIL) 412 di_fini(rooth);
|
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil.c | 1495 picl_nodehdl_t rooth; local 1503 err = process_path(&commands[index], &rooth); 1507 &rooth, &index); 1509 parent = rooth;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/bsc/ |
H A D | picllom.c | 1363 picl_nodehdl_t rooth; local 1417 if (ptree_get_root(&rooth) != PICL_SUCCESS) { 1422 if (picld_pluginutil_parse_config_file(rooth, fullfilename) !=
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/ |
H A D | piclenvmon.c | 1720 picl_nodehdl_t rooth; local 1734 if ((ptree_get_root(&rooth) != PICL_SUCCESS) || 1735 (picld_pluginutil_parse_config_file(rooth, pathname) !=
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/watchdog/ |
H A D | piclwatchdog.c | 1261 picl_nodehdl_t rooth, sysmgmt_h, platformh; local 1267 if ((rc = ptree_get_root(&rooth)) != PICL_SUCCESS) {
|