/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4v.c | 244 picl_nodehdl_t childh; local 252 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, 256 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, 259 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 260 &childh, sizeof (picl_nodehdl_t)); 265 *nodeh = childh; 269 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 270 &childh, sizeof (picl_nodehdl_t));
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | io_dev_label.c | 282 picl_nodehdl_t childh; local 285 for (err = ptree_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, 287 err = ptree_get_propval_by_name(childh, PICL_PROP_PEER, 288 &childh, sizeof (picl_nodehdl_t))) { 292 if (compare_string_propval(childh, pname, pval)) { 293 *nodeh = childh;
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 517 picl_nodehdl_t childh; local 525 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, 529 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, 532 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 533 &childh, sizeof (picl_nodehdl_t)); 538 *nodeh = childh; 542 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 543 &childh, sizeof (picl_nodehdl_t));
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/ |
H A D | snowbird.c | 302 picl_nodehdl_t childh; local 310 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, 314 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, 317 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 318 &childh, sizeof (picl_nodehdl_t)); 323 *nodeh = childh; 327 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 328 &childh, sizeof (picl_nodehdl_t)); 672 picl_nodehdl_t childh; local 740 &childh, sizeo [all...] |
/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 262 err = ptree_create_node("system-board", "fru", childh); 266 err = add_ref_prop(*childh, tmph, SEEPROM_SOURCE); 270 err = add_void_fda_prop(*childh); 274 err = ptree_add_node(rooth, *childh); 278 err = add_ref_prop(tmph, *childh, FRU_PARENT);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/ |
H A D | piclenvmon.c | 87 picl_nodehdl_t *childh); 530 picl_nodehdl_t *childh) 537 err = ptree_get_propval_by_name(nodeh, PICL_PROP_CHILD, childh, 538 sizeof (*childh)); 540 err = ptree_get_propval_by_name(*childh, PICL_PROP_NAME, 545 err = ptree_get_propval_by_name(*childh, PICL_PROP_PEER, 546 childh, sizeof (*childh)); 1534 picl_nodehdl_t childh; local 1626 PICLEVENTARG_FRUHANDLE, &childh); 529 get_child_by_name(picl_nodehdl_t nodeh, const char *name, picl_nodehdl_t *childh) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 238 picl_nodehdl_t childh; local 246 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, 250 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, 253 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 254 &childh, sizeof (picl_nodehdl_t)); 259 *nodeh = childh; 263 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 264 &childh, sizeof (picl_nodehdl_t)); 1777 picl_nodehdl_t childh; local 1899 &childh, sizeo [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 233 picl_nodehdl_t childh; local 241 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, 245 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, 248 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 249 &childh, sizeof (picl_nodehdl_t)); 254 *nodeh = childh; 258 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 259 &childh, sizeof (picl_nodehdl_t)); 1771 picl_nodehdl_t childh; local 1893 &childh, sizeo [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 198 picl_nodehdl_t childh; local 206 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, 210 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, 213 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 214 &childh, sizeof (picl_nodehdl_t)); 219 *nodeh = childh; 223 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, 224 &childh, sizeof (picl_nodehdl_t)); 1684 picl_nodehdl_t childh; local 1806 &childh, sizeo [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 326 static int add_pci_location(picl_nodehdl_t childh, char *parent_addr, 482 picl_nodehdl_t childh; local 494 childh = 0; 495 err = add_picl_node(parh, cp, &childh); 506 if (childh && cp->has_children) { 507 err = add_subtree(childh, cp->handle); 577 picl_nodehdl_t childh; local 580 PICL_CLASS_FRU, &childh); 585 err = add_prop_ull(childh, handle, PICL_PROP_SC_HANDLE); 593 err = create_table(childh, 741 picl_nodehdl_t childh; local 883 picl_nodehdl_t childh; local 1161 add_pci_location(picl_nodehdl_t childh, char *parent_addr, char bus_addr, char *slot_name) argument 3130 picl_nodehdl_t childh; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.c | 655 picl_nodehdl_t nodeh, childh; local 763 &childh, sizeof (childh)) == PICL_SUCCESS) { 765 if (hash_lookup_entry(childh, (void **)&hashptr) == 2775 picl_nodehdl_t childh, peerh, nodeh; local 2821 &childh, sizeof (childh)) != PICL_SUCCESS) { 2826 if ((rc = hash_lookup_entry(childh, (void **)&hashptr)) != 2998 picl_nodehdl_t childh; local 3022 &childh, sizeo 4164 frutree_initialize_children(picl_nodehdl_t childh, void *c_args) argument 4405 post_events(picl_nodehdl_t childh, void *c_args) argument 4831 picl_nodehdl_t parenth, childh; local 5118 picl_nodehdl_t loch, childh; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 743 picl_nodehdl_t childh; local 746 for (err = ptree_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, 748 err = ptree_get_propval_by_name(childh, PICL_PROP_PEER, &childh, 753 if (compare_string_propval(childh, pname, pval)) { 754 *nodeh = childh; 758 if (find_node_by_string_prop(childh, pname, pval, nodeh) ==
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 455 picl_nodehdl_t childh; local 497 &childh, sizeof (picl_nodehdl_t)) != PICL_SUCCESS) 499 post_frudr_event(PICL_FRU_ADDED, locationh, childh); 1076 picl_nodehdl_t childh; local 1115 PICL_PROP_CHILD, &childh, sizeof (picl_nodehdl_t)); 1118 retval = ptree_get_prop_by_name(childh, 1195 if (ptree_delete_node(childh) == PICL_SUCCESS) 1196 (void) ptree_destroy_node(childh); 1483 picl_nodehdl_t childh; local 1600 childh 1968 picl_nodehdl_t childh; local [all...] |