Searched defs:nodeh (Results 1 - 25 of 52) sorted by relevance

123

/illumos-gate/usr/src/lib/libpicltree/
H A Dpicltree.h49 picl_nodehdl_t nodeh; member in struct:__anon3756
55 picl_nodehdl_t nodeh; member in struct:__anon3757
84 extern int ptree_get_root(picl_nodehdl_t *nodeh);
86 picl_nodehdl_t *nodeh);
87 extern int ptree_destroy_node(picl_nodehdl_t nodeh);
89 extern int ptree_delete_node(picl_nodehdl_t nodeh);
95 extern int ptree_add_prop(picl_nodehdl_t nodeh, picl_prophdl_t proph);
99 extern int ptree_update_propval_by_name(picl_nodehdl_t nodeh,
105 extern int ptree_get_propval_by_name(picl_nodehdl_t nodeh,
108 extern int ptree_get_first_prop(picl_nodehdl_t nodeh,
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_sun4v.c242 picl_nodehdl_t *nodeh)
265 *nodeh = childh;
241 sun4v_get_node_by_name(picl_nodehdl_t rooth, char *name, picl_nodehdl_t *nodeh) argument
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dhuron.c136 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 Dpelton.c61 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 Derie.c70 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 Dontario.c75 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 Dstpaul.c63 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...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/bsc/
H A Dpicllom.h91 picl_nodehdl_t nodeh; member in struct:node_el
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dio_dev_label.c33 const char *pval, picl_nodehdl_t *nodeh);
35 compare_string_propval(picl_nodehdl_t nodeh, const char *pname,
245 compare_string_propval(picl_nodehdl_t nodeh, const char *pname, argument
254 err = ptree_get_prop_by_name(nodeh, pname, &proph);
280 const char *pval, picl_nodehdl_t *nodeh)
293 *nodeh = childh;
279 find_node_by_string_prop(picl_nodehdl_t rooth, const char *pname, const char *pval, picl_nodehdl_t *nodeh) argument
/illumos-gate/usr/src/cmd/locator/
H A Dlocator.c134 locator_walker_func(picl_nodehdl_t nodeh, void *arg) argument
143 err = picl_get_propval_by_name(nodeh, "IsLocator", is_locator,
152 err = picl_get_propval_by_name(nodeh, "LocatorName", name,
156 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, name,
165 err = picl_get_propval_by_name(nodeh, "LocatorOn", locator_on,
176 err = picl_get_propval_by_name(nodeh, "LocatorOff", locator_off,
187 locator_info->err = (locator_info->locator_func)(nodeh,
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c71 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...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c73 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...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/
H A Dpiclenvmon.h107 picl_nodehdl_t nodeh; member in struct:node_el
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclenvmond.c148 picl_nodehdl_t nodeh, picl_prophdl_t *propp, void *vbuf)
154 rc = ptree_get_prop_by_name(nodeh, pname, &proph);
166 rc = ptree_create_and_add_prop(nodeh, &propinfo, vbuf, propp);
191 picl_nodehdl_t nodeh, int cond_wait)
198 if (nodeh == 0) {
216 if (nvlist_add_uint64(nvlp, PICLEVENTARG_NODEHANDLE, nodeh) == -1) {
231 if (ptree_get_propval_by_name(nodeh, PICL_PROP_NAME,
145 env_create_property(int ptype, int pmode, size_t psize, char *pname, int (*readfn)(ptree_rarg_t *, void *), int (*writefn)(ptree_warg_t *, const void *), picl_nodehdl_t nodeh, picl_prophdl_t *propp, void *vbuf) argument
190 post_picl_event(const char *ename, char *envl, size_t elen, picl_nodehdl_t nodeh, int cond_wait) argument
H A Dpicldr.c72 picl_nodehdl_t nodeh, picl_prophdl_t *propp, void *vbuf);
762 picl_nodehdl_t nodeh = 0; local
783 if (nvlist_lookup_uint64(nvlp, PICLEVENTARG_NODEHANDLE, &nodeh) == -1) {
795 if (ptree_get_propval_by_name(nodeh, PICL_PROP_NAME,
807 if (ptree_get_propval_by_name(nodeh, PICL_PROP_NAME,
813 chassis_nodehdl = nodeh;
816 if (nodeh == chassis_nodehdl && state_event) {
H A Dpiclplatmod.c400 picl_nodehdl_t nodeh = 0; local
427 if (nvlist_lookup_uint64(nvlp, PICLEVENTARG_NODEHANDLE, &nodeh) == -1) {
439 if (ptree_get_propval_by_name(nodeh, PICL_PROP_NAME,
451 if (ptree_get_propval_by_name(nodeh, PICL_PROP_NAME,
457 chassis_nodehdl = nodeh;
461 if (nodeh == chassis_nodehdl && state_event) {
479 if ((rc = env_handle_watchdog_expiry(nodeh)) != PICL_SUCCESS) {
495 if (nodeh == cpu_lnodehdl) {
500 if (nodeh != cpu_lnodehdl) {
507 "initialize CPU node handle %llx"), nodeh);
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvsetup.c78 picl_nodehdl_t nodeh; /* sensor node handle */ member in struct:__anon1240
111 picl_nodehdl_t nodeh; /* "fan" node handle */ member in struct:__anon1241
243 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, argument
255 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph);
266 add_volatile_prop(picl_nodehdl_t nodeh, char *name, int type, int access, argument
279 err = ptree_create_and_add_prop(nodeh, &propinfo, NULL, &proph);
289 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_ctrl_blk_t *threshp) argument
293 (void) add_regular_prop(nodeh, PICL_PROP_LOW_POWER_OFF,
298 (void) add_regular_prop(nodeh, PICL_PROP_LOW_SHUTDOWN,
303 (void) add_regular_prop(nodeh, PICL_PROP_LOW_WARNIN
335 picl_nodehdl_t nodeh, cnodeh; local
454 picl_nodehdl_t nodeh, cnodeh; local
611 picl_nodehdl_t nodeh; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddr.c35 picl_nodehdl_t nodeh; member in struct:cpu_lookup
47 add_string_list_prop(picl_nodehdl_t nodeh, char *name, char *strlist, argument
71 err = ptree_create_and_add_prop(nodeh, &propinfo, &tblh, &proph);
114 add_devinfo_props(picl_nodehdl_t nodeh, di_node_t di_node) argument
126 (void) ptree_create_and_add_prop(nodeh, &propinfo, &instance, NULL);
133 (void) ptree_create_and_add_prop(nodeh, &propinfo, di_val,
142 (void) ptree_create_and_add_prop(nodeh, &propinfo, di_val,
151 (void) ptree_create_and_add_prop(nodeh, &propinfo, di_val,
160 (void) ptree_create_and_add_prop(nodeh, &propinfo, di_val,
176 (void) ptree_create_and_add_prop(nodeh,
374 remove_cpu_candidate(picl_nodehdl_t nodeh, void *c_args) argument
448 cpu_exists(picl_nodehdl_t nodeh, void *c_args) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/
H A Dpiclmemcfg_comm.c896 picl_nodehdl_t nodeh; local
904 if (nvlist_lookup_uint64(nvlp, PICLEVENTARG_NODEHANDLE, &nodeh)) {
925 (void) create_physical_tree(nodeh, (void *)fd);
931 (void) del_plugout_mmodgrp(nodeh);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvsetup.c76 picl_nodehdl_t nodeh; /* sensor node handle */ member in struct:__anon1101
114 picl_nodehdl_t nodeh; /* "fan" node handle */ member in struct:__anon1102
142 picl_nodehdl_t nodeh; /* "disk" node handle */ member in struct:__anon1103
301 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, argument
313 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph);
324 add_volatile_prop(picl_nodehdl_t nodeh, char *name, int type, int access, argument
337 err = ptree_create_and_add_prop(nodeh, &propinfo, NULL, &proph);
347 add_sensor_thresh_props(picl_nodehdl_t nodeh, es_sensor_blk_t *sensor_blkp) argument
351 (void) add_regular_prop(nodeh, PICL_PROP_LOW_POWER_OFF,
356 (void) add_regular_prop(nodeh, PICL_PROP_LOW_SHUTDOW
393 picl_nodehdl_t nodeh, cnodeh; local
515 picl_nodehdl_t nodeh, cnodeh; local
659 picl_nodehdl_t nodeh, cnodeh; local
828 picl_nodehdl_t nodeh; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvsetup.c80 picl_nodehdl_t nodeh; /* sensor node handle */ member in struct:__anon1112
120 picl_nodehdl_t nodeh; /* "fan" node handle */ member in struct:__anon1113
154 picl_nodehdl_t nodeh; /* "disk" node handle */ member in struct:__anon1114
311 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, argument
323 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph);
334 add_volatile_prop(picl_nodehdl_t nodeh, char *name, int type, int access, argument
347 err = ptree_create_and_add_prop(nodeh, &propinfo, NULL, &proph);
357 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_ctrl_blk_t *threshp) argument
361 (void) add_regular_prop(nodeh, PICL_PROP_LOW_POWER_OFF,
366 (void) add_regular_prop(nodeh, PICL_PROP_LOW_SHUTDOW
404 picl_nodehdl_t nodeh, cnodeh; local
520 picl_nodehdl_t nodeh, cnodeh; local
658 picl_nodehdl_t nodeh, cnodeh; local
828 picl_nodehdl_t nodeh; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvsetup.c104 picl_nodehdl_t nodeh; /* sensor node handle */ member in struct:__anon1132
138 picl_nodehdl_t nodeh; /* "fan" node handle */ member in struct:__anon1133
158 picl_nodehdl_t nodeh; member in struct:node_list
266 add_node_to_list(picl_nodehdl_t nodeh, node_list_t *listp) argument
274 el->nodeh = nodeh;
295 * Get a list of nodes of the specified classname under nodeh
300 get_node_list_by_class(picl_nodehdl_t nodeh, const char *classname, argument
310 err = ptree_get_propval_by_name(nodeh, PICL_PROP_CHILD, &chdh,
347 get_unit_address_prop(picl_nodehdl_t nodeh, voi argument
374 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, int size, void *valbuf, picl_prophdl_t *prophp) argument
397 add_volatile_prop(picl_nodehdl_t nodeh, char *name, int type, int access, int size, ptree_vol_rdfunc_t *rdfunc, ptree_vol_wrfunc_t *wrfunc, picl_prophdl_t *prophp) argument
420 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_thresh_t *threshp) argument
478 picl_nodehdl_t nodeh, refnodeh, cnodeh; local
666 picl_nodehdl_t nodeh, cnodeh; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfcal_leds.c167 picl_nodehdl_t nodeh = parg->nodeh; local
180 int r = ptree_get_propval_by_name(nodeh, PICL_PROP_UNIT_ADDRESS,
218 find_disk_slot(led_dtls_t *dtls, int disk, picl_nodehdl_t *nodeh) argument
233 r = ptree_get_node_by_path(unitstr, nodeh);
/illumos-gate/usr/src/cmd/picl/prtpicl/
H A Dprtpicl.c378 print_proplist(int lvl, picl_nodehdl_t nodeh) argument
385 for (err = picl_get_first_prop(nodeh, &proph); err == PICL_SUCCESS;
430 print_tree_by_class(int lvl, picl_nodehdl_t nodeh, char *piclclass) argument
442 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, classval,
453 err = picl_get_prop_by_name(nodeh, PICL_PROP_NAME, &proph);
476 NODEINFO_LEFT_MARGIN(lvl), " ", nameval, classval, nodeh);
479 err = print_proplist(lvl, nodeh);
486 for (err = picl_get_propval_by_name(nodeh, PICL_PROP_CHILD, &chdh,
/illumos-gate/usr/src/lib/libpicl/
H A Dpicl.c394 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...]

Completed in 128 milliseconds

123