/osnet-11/usr/src/lib/libpicltree/ |
H A D | picltree.h | 45 picl_nodehdl_t nodeh; member in struct:__anon2319 51 picl_nodehdl_t nodeh; member in struct:__anon2320 80 extern int ptree_get_root(picl_nodehdl_t *nodeh); 82 picl_nodehdl_t *nodeh); 83 extern int ptree_destroy_node(picl_nodehdl_t nodeh); 85 extern int ptree_delete_node(picl_nodehdl_t nodeh); 91 extern int ptree_add_prop(picl_nodehdl_t nodeh, picl_prophdl_t proph); 95 extern int ptree_update_propval_by_name(picl_nodehdl_t nodeh, 101 extern int ptree_get_propval_by_name(picl_nodehdl_t nodeh, 104 extern int ptree_get_first_prop(picl_nodehdl_t nodeh, [all...] |
H A D | picltree.c | 822 lookup_and_lock_node(int rw, picl_nodehdl_t nodeh, picl_obj_t **nodep) argument 826 nobj = hash_lookup_obj(&ptreetbl, nodeh); 828 return (ptree_hdl_error(nodeh)); 1099 lookup_verify_node_handle(picl_nodehdl_t nodeh, picl_obj_t **ret) argument 1103 nodep = hash_lookup_obj(&ptreetbl, nodeh); 1105 return (ptree_hdl_error(nodeh)); 1428 ptree_add_prop(picl_nodehdl_t nodeh, picl_prophdl_t proph) argument 1456 err = lookup_and_lock_node(WRLOCK_NODE, nodeh, &nodep); 1789 ptree_create_node(const char *name, const char *clname, picl_nodehdl_t *nodeh) argument 1868 *nodeh 1920 ptree_destroy_node(picl_nodehdl_t nodeh) argument 1974 ptree_delete_node(picl_nodehdl_t nodeh) argument 2124 xptree_get_propinfo_by_name(picl_nodehdl_t nodeh, const char *pname, ptree_propinfo_t *pinfo) argument 2270 xptree_get_propval_by_name_with_cred(picl_nodehdl_t nodeh, const char *pname, void *vbuf, size_t size, door_cred_t cred) argument 2312 ptree_get_propval_by_name(picl_nodehdl_t nodeh, const char *pname, void *vbuf, size_t size) argument 2402 xptree_update_propval_by_name_with_cred(picl_nodehdl_t nodeh, const char *pname, const void *vbuf, size_t size, door_cred_t cred) argument 2444 ptree_update_propval_by_name(picl_nodehdl_t nodeh, const char *pname, const void *vbuf, size_t size) argument 2455 ptree_get_prop_by_name(picl_nodehdl_t nodeh, const char *pname, picl_prophdl_t *proph) argument 2490 ptree_get_first_prop(picl_nodehdl_t nodeh, picl_prophdl_t *proph) argument 2746 check_propval(picl_nodehdl_t nodeh, char *pname, char *pval) argument 2780 get_child_by_path(picl_nodehdl_t rooth, char *prl, picl_nodehdl_t *nodeh, char *pname) argument 3003 ptree_create_and_add_prop(picl_nodehdl_t nodeh, ptree_propinfo_t *infop, void *vbuf, picl_prophdl_t *proph) argument 3027 ptree_create_and_add_node(picl_nodehdl_t rooth, const char *name, const char *classname, picl_nodehdl_t *nodeh) argument 3107 compare_propval(picl_nodehdl_t nodeh, char *pname, picl_prop_type_t ptype, void *pval, size_t valsize) argument 3190 ptree_get_frutree_parent(picl_nodehdl_t nodeh, picl_nodehdl_t *fruh) argument [all...] |
/osnet-11/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4v.c | 242 picl_nodehdl_t *nodeh) 265 *nodeh = childh; 241 sun4v_get_node_by_name(picl_nodehdl_t rooth, char *name, picl_nodehdl_t *nodeh) argument
|
H A D | display_sun4v.c | 287 get_bus_type(picl_nodehdl_t nodeh, struct io_card *card) argument 293 if (picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAME, val, 346 get_slot_label(picl_nodehdl_t nodeh, struct io_card *card) argument 358 err = picl_get_propval_by_name(nodeh, PICL_PROP_LABEL, val, 382 if (picl_get_propval_by_name(nodeh, PICL_PROP_INSTANCE, &instance, 391 if (picl_get_propval_by_name(nodeh, PICL_PROP_DEVICE_ID, &devid, 399 if (picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, &pnodeh, 431 get_slot_number(picl_nodehdl_t nodeh, struct io_card *card) argument 444 if (picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, &pnodeh, 455 nodeh 559 picl_nodehdl_t nodeh, pnodeh; local 832 sun4v_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument 990 sun4v_memory_conf_callback(picl_nodehdl_t nodeh, void *args) argument 1324 sun4v_env_print_sensor_callback(picl_nodehdl_t nodeh, void *args) argument 1552 sun4v_env_print_indicator_callback(picl_nodehdl_t nodeh, void *args) argument 1956 sun4v_print_fru_status_callback(picl_nodehdl_t nodeh, void *args) argument 2087 picl_nodehdl_t nodeh; local 2115 sun4v_print_fw_rev_callback(picl_nodehdl_t nodeh, void *args) argument [all...] |
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | huron.c | 136 picl_nodehdl_t nodeh; local 154 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, 158 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, 164 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, 165 &nodeh, sizeof (picl_nodehdl_t)); 170 err = picl_get_propval_by_name(nodeh, PICL_PROP_CHILD, 171 &nodeh, sizeof (picl_nodehdl_t)); 175 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, 185 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, 222 err = picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAM 387 huron_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument [all...] |
H A D | pelton.c | 61 static int pelton_get_first_compatible_value(picl_nodehdl_t nodeh, 140 picl_nodehdl_t nodeh; local 159 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, 163 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, 170 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, 171 &nodeh, sizeof (picl_nodehdl_t)); 175 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, 187 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, 220 err = picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAME, 227 err = pelton_get_first_compatible_value(nodeh, 397 pelton_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument [all...] |
H A D | erie.c | 70 picl_nodehdl_t nodeh; local 88 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, 93 if ((err = erie_get_class(nodeh, piclclass, 100 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, 101 &nodeh, sizeof (picl_nodehdl_t)); 110 if ((err = erie_get_path(nodeh, path, sizeof (path))) 113 if ((err = erie_get_name(nodeh, name, sizeof (name))) 116 if ((err = erie_get_model(nodeh, model, sizeof (model))) 154 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, 257 erie_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument 427 erie_get_path(picl_nodehdl_t nodeh, char path[], int size) argument 443 erie_get_name(picl_nodehdl_t nodeh, char name[], int size) argument 516 erie_get_model(picl_nodehdl_t nodeh, char model[], int size) argument 538 erie_get_class(picl_nodehdl_t nodeh, char piclclass[], int size) argument [all...] |
H A D | ontario.c | 75 static int ontario_get_first_compatible_value(picl_nodehdl_t nodeh, 91 get_slot_number(picl_nodehdl_t nodeh, char *path, struct io_card *card) argument 114 err = picl_get_propval_by_name(nodeh, PICL_PROP_UNIT_ADDRESS, 154 picl_nodehdl_t nodeh; local 173 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, 177 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, 188 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, 189 &nodeh, sizeof (picl_nodehdl_t)); 193 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, 203 get_slot_number(nodeh, parent_pat 603 ontario_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument [all...] |
H A D | stpaul.c | 63 static int stpaul_get_first_compatible_value(picl_nodehdl_t nodeh, 73 picl_nodehdl_t nodeh; local 92 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, 96 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, 102 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, 103 &nodeh, sizeof (picl_nodehdl_t)); 108 err = picl_get_propval_by_name(nodeh, PICL_PROP_CHILD, 109 &nodeh, sizeof (picl_nodehdl_t)); 113 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, 124 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAM 258 picl_nodehdl_t nodeh; local 458 stpaul_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument [all...] |
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 71 static int montoya_get_first_compatible_value(picl_nodehdl_t nodeh, 122 picl_nodehdl_t nodeh; local 141 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, 145 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, 151 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, 152 &nodeh, sizeof (picl_nodehdl_t)); 157 err = picl_get_propval_by_name(nodeh, PICL_PROP_CHILD, 158 &nodeh, sizeof (picl_nodehdl_t)); 162 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, 174 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAM 487 montoya_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument [all...] |
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 73 static int monza_get_first_compatible_value(picl_nodehdl_t nodeh, 149 picl_nodehdl_t nodeh; local 169 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, 173 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, 184 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, 185 &nodeh, sizeof (picl_nodehdl_t)); 189 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, 199 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, 211 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, 244 err = picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAM 532 monza_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument [all...] |
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 63 picl_nodehdl_t *nodeh); 69 static int opl_get_first_compatible_value(picl_nodehdl_t nodeh, 90 picl_nodehdl_t nodeh; local 155 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, 161 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, 168 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, 169 &nodeh, sizeof (picl_nodehdl_t)); 173 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, 193 (nodeh, OBP_PROP_REG, &pinfo, &proph); 202 (nodeh, OBP_PROP_RE 415 opl_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument 514 opl_get_node_by_name(picl_nodehdl_t rooth, char *name, picl_nodehdl_t *nodeh) argument 788 is_66mhz_capable(picl_nodehdl_t nodeh) argument 910 picl_nodehdl_t nodeh; local [all...] |
/osnet-11/usr/src/lib/libpicl/ |
H A D | picl.c | 394 picl_get_propval_by_name(picl_nodehdl_t nodeh, const char *propname, argument 404 req_attrvalbyname.nodeh = nodeh; 468 picl_set_propval_by_name(picl_nodehdl_t nodeh, const char *propname, argument 481 inargs->nodeh = nodeh; 538 picl_get_first_prop(picl_nodehdl_t nodeh, picl_prophdl_t *proph) argument 547 req_firstattr.nodeh = nodeh; 599 picl_get_prop_by_name(picl_nodehdl_t nodeh, cons argument 763 picl_get_propinfo_by_name(picl_nodehdl_t nodeh, const char *prop_name, picl_propinfo_t *pinfo, picl_prophdl_t *proph) argument 784 picl_get_node_by_path(const char *piclpath, picl_nodehdl_t *nodeh) argument [all...] |
H A D | picl2door.h | 64 picl_nodehdl_t nodeh; member in union:__anon2278 69 #define ret_nodeh u.nodeh 143 picl_nodehdl_t nodeh; /* node handle */ member in struct:__anon2289 151 picl_nodehdl_t nodeh; /* node handle */ member in struct:__anon2290 181 picl_nodehdl_t nodeh; /* node handle */ member in struct:__anon2293 186 picl_nodehdl_t nodeh; /* node handle */ member in struct:__anon2294 209 picl_nodehdl_t nodeh; /* node handle */ member in struct:__anon2297 216 picl_nodehdl_t nodeh; /* node handle */ member in struct:__anon2298 270 picl_nodehdl_t nodeh; /* node handle */ member in struct:__anon2305 279 picl_nodehdl_t nodeh; /* nod member in struct:__anon2306 314 picl_nodehdl_t nodeh; /* top node handle */ member in struct:__anon2311 338 picl_nodehdl_t nodeh; /* node handle */ member in struct:__anon2314 [all...] |