Searched refs:hp_node_t (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/lib/libhotplug/common/ |
H A D | libhotplug.h | 72 typedef struct hp_node *hp_node_t; typedef 78 void hp_fini(hp_node_t root); 81 int hp_type(hp_node_t node); 82 char *hp_name(hp_node_t node); 83 char *hp_usage(hp_node_t node); 84 int hp_state(hp_node_t node); 85 char *hp_description(hp_node_t node); 87 hp_node_t hp_parent(hp_node_t node); 88 hp_node_t hp_child(hp_node_t node); 89 hp_node_t hp_sibling(hp_node_t node); [all …]
|
H A D | libhotplug.c | 43 static int i_hp_unpack_node(char *, size_t, hp_node_t, hp_node_t *); 44 static int i_hp_unpack_branch(char *, size_t, hp_node_t, hp_node_t *); 60 hp_node_t 126 hp_node_t node; in hp_fini() 127 hp_node_t sibling; in hp_fini() 171 hp_node_t node; in hp_traverse() 366 hp_node_t 390 hp_node_t 414 hp_node_t 712 hp_node_t node; in hp_pack() [all …]
|
H A D | libhotplug_impl.h | 48 hp_node_t hp_parent; 49 hp_node_t hp_child; 50 hp_node_t hp_sibling;
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_info.c | 42 hp_node_t head; 43 hp_node_t prev; 50 hp_node_t *); 51 static int copy_devices(hp_node_t, di_node_t, uint_t, hp_node_t *); 57 static hp_node_t new_device_node(hp_node_t, di_node_t); 58 static hp_node_t new_hotplug_node(hp_node_t, di_hp_t); 71 hp_node_t child; in getinfo() 455 static hp_node_t 458 hp_node_t node; in new_device_node() 490 static hp_node_t [all …]
|
H A D | hotplugd_impl.h | 65 hp_node_t *rootp); 67 uint_t flags, int *old_statep, hp_node_t *resultsp); 70 int copy_usage(hp_node_t root); 71 int rcm_resources(hp_node_t root, char ***rsrcsp); 73 int rcm_offline(char **rsrcs, uint_t flags, hp_node_t root);
|
H A D | hotplugd_rcm.c | 79 static int merge_rcm_info(hp_node_t root, rcm_info_t *info); 84 static int resource_callback(hp_node_t node, void *argp); 85 static int merge_callback(hp_node_t node, void *argp); 96 copy_usage(hp_node_t root) in copy_usage() 139 rcm_resources(hp_node_t root, char ***rsrcsp) in rcm_resources() 186 rcm_offline(char **rsrcs, uint_t flags, hp_node_t root) in rcm_offline() 329 merge_rcm_info(hp_node_t root, rcm_info_t *info) in merge_rcm_info() 377 resource_callback(hp_node_t node, void *argp) in resource_callback() 448 merge_callback(hp_node_t node, void *argp) in merge_callback() 451 hp_node_t usage; in merge_callback() [all …]
|
H A D | hotplugd_impl.c | 51 static boolean_t check_rcm_required(hp_node_t, int); 65 int *old_statep, hp_node_t *resultsp) in changestate() 67 hp_node_t root = NULL; in changestate() 232 check_rcm_required(hp_node_t root, int target_state) in check_rcm_required()
|
H A D | hotplugd_door.c | 292 hp_node_t root; in cmd_getinfo() 365 hp_node_t root = NULL; in cmd_changestate()
|
/illumos-gate/usr/src/cmd/hotplug/ |
H A D | hotplug.c | 245 hp_node_t root; in cmd_list() 296 hp_node_t root; in cmd_online() 356 hp_node_t root; in cmd_offline() 413 hp_node_t root; in cmd_enable() 468 hp_node_t root; in cmd_disable() 534 hp_node_t root; in cmd_poweron() 598 hp_node_t root; in cmd_poweroff() 655 hp_node_t root; in cmd_getpriv() 719 hp_node_t root; in cmd_setpriv() 785 hp_node_t root; in cmd_changestate() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_libhp/ |
H A D | fac_prov_libhp.c | 83 static hp_node_t 90 hp_node_t node; in fac_prov_libhp_find_node() 138 fac_prov_libhp_set_val(topo_mod_t *mod, hp_node_t hp, const char *opt_name, in fac_prov_libhp_set_val() 163 fac_prov_libhp_get_opt(topo_mod_t *mod, hp_node_t hp, const char *opt_name, in fac_prov_libhp_get_opt() 213 hp_node_t hp = NULL; in fac_prov_libhp_opt_set()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 290 hp_node_t node; in physpath2node() 353 error_sizeup_cb(hp_node_t node, void *arg) in error_sizeup_cb() 387 error_sumup_cb(hp_node_t node, void *arg) in error_sumup_cb() 409 pci_rcm_info_table(hp_node_t node, char **table) in pci_rcm_info_table() 550 hp_node_t port; in cfga_get_state() 622 hp_node_t node; in cfga_change_state() 623 hp_node_t results = NULL; in cfga_change_state() 791 hp_node_t node; in prt_led_mode() 890 hp_node_t node; in cfga_private_func() 1346 cfga_get_condition(hp_node_t node, ap_condition_t *cond) in cfga_get_condition() [all …]
|