/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_fmri.c | 79 set_error(topo_hdl_t *thp, int err, int *errp, char *method, nvlist_t *nvlp) in set_error() 92 set_nverror(topo_hdl_t *thp, int err, int *errp, char *method, nvlist_t *nvlp) in set_nverror() 104 topo_fmri_nvl2str(topo_hdl_t *thp, nvlist_t *fmri, char **fmristr, int *err) in topo_fmri_nvl2str() 136 topo_fmri_str2nvl(topo_hdl_t *thp, const char *fmristr, nvlist_t **fmri, in topo_fmri_str2nvl() 215 topo_fmri_present(topo_hdl_t *thp, nvlist_t *fmri, int *err) in topo_fmri_present() 243 topo_fmri_replaced(topo_hdl_t *thp, nvlist_t *fmri, int *err) in topo_fmri_replaced() 271 topo_fmri_contains(topo_hdl_t *thp, nvlist_t *fmri, nvlist_t *subfmri, int *err) in topo_fmri_contains() 307 topo_fmri_unusable(topo_hdl_t *thp, nvlist_t *fmri, int *err) in topo_fmri_unusable() 333 topo_fmri_retire(topo_hdl_t *thp, nvlist_t *fmri, int *err) in topo_fmri_retire() 361 topo_fmri_unretire(topo_hdl_t *thp, nvlist_t *fmri, int *err) in topo_fmri_unretire() [all …]
|
H A D | topo_snap.c | 96 set_open_errno(topo_hdl_t *thp, int *errp, int err) in set_open_errno() 119 topo_hdl_set_product(topo_hdl_t *thp) in topo_hdl_set_product() 160 topo_hdl_t *thp = NULL; in topo_open() local 254 topo_close(topo_hdl_t *thp) in topo_close() 314 topo_snap_create(topo_hdl_t *thp, int *errp, boolean_t need_force) in topo_snap_create() 388 topo_snap_log_create(topo_hdl_t *thp, const char *uuid, int *errp) in topo_snap_log_create() 395 fac_walker(topo_hdl_t *thp, tnode_t *node, void *arg) in fac_walker() 420 topo_snap_hold(topo_hdl_t *thp, const char *uuid, int *errp) in topo_snap_hold() 454 topo_walk_destroy(topo_hdl_t *thp, tnode_t *node, void *notused) in topo_walk_destroy() 469 topo_snap_destroy(topo_hdl_t *thp) in topo_snap_destroy() [all …]
|
H A D | topo_module.c | 168 topo_mod_lookup(topo_hdl_t *thp, const char *name, int bump) in topo_mod_lookup() 185 topo_hdl_t *thp; in topo_mod_destroy() local 206 set_create_error(topo_hdl_t *thp, topo_mod_t *mod, const char *path, int err) in set_create_error() 224 topo_mod_create(topo_hdl_t *thp, const char *name, const char *path, in topo_mod_create() 261 topo_modhash_create(topo_hdl_t *thp) in topo_modhash_create() 283 topo_modhash_destroy(topo_hdl_t *thp) in topo_modhash_destroy() 314 topo_modhash_load(topo_hdl_t *thp, const char *name, const char *path, in topo_modhash_load() 344 topo_hdl_t *thp = mod->tm_hdl; in topo_modhash_unload() local 383 topo_modhash_unload_all(topo_hdl_t *thp) in topo_modhash_unload_all()
|
H A D | topo_tree.c | 70 set_create_error(topo_hdl_t *thp, ttree_t *tp, int err) in set_create_error() 82 topo_tree_create(topo_hdl_t *thp, topo_mod_t *mod, const char *scheme) in topo_tree_create() 153 topo_tree_enum(topo_hdl_t *thp, ttree_t *tp) in topo_tree_enum() 202 topo_tree_enum_all(topo_hdl_t *thp) in topo_tree_enum_all()
|
H A D | topo_subr.c | 45 topo_hdl_lock(topo_hdl_t *thp) in topo_hdl_lock() 51 topo_hdl_unlock(topo_hdl_t *thp) in topo_hdl_unlock() 114 env_process_value(topo_hdl_t *thp, const char *begin, const char *end) in env_process_value() 145 topo_debug_set(topo_hdl_t *thp, const char *dbmode, const char *dout) in topo_debug_set() 177 topo_vdprintf(topo_hdl_t *thp, const char *mod, const char *format, va_list ap) in topo_vdprintf() 209 topo_dprintf(topo_hdl_t *thp, int mask, const char *format, ...) in topo_dprintf() 222 topo_hdl_root(topo_hdl_t *thp, const char *scheme) in topo_hdl_root() 279 topo_hdl_t *thp = mod->tm_hdl; in topo_search_path() local 312 topo_cleanup_strn(topo_hdl_t *thp, const char *begin, size_t max) in topo_cleanup_strn() 349 topo_cleanup_auth_str(topo_hdl_t *thp, const char *begin) in topo_cleanup_auth_str()
|
H A D | topo_2xml.c | 121 txml_print_prop(topo_hdl_t *thp, FILE *fp, tnode_t *node, const char *pgname, in txml_print_prop() 359 txml_print_pgroup(topo_hdl_t *thp, FILE *fp, tnode_t *node, topo_pgroup_t *pg) in txml_print_pgroup() 379 txml_print_dependents(topo_hdl_t *thp, FILE *fp, tnode_t *node) in txml_print_dependents() 389 txml_print_node(topo_hdl_t *thp, FILE *fp, tnode_t *node) in txml_print_node() 418 txml_print_range(topo_hdl_t *thp, FILE *fp, tnode_t *node, int dependent) in txml_print_range() 458 txml_print_topology(topo_hdl_t *thp, FILE *fp, char *scheme, tnode_t *node) in txml_print_topology() 469 topo_xml_print(topo_hdl_t *thp, FILE *fp, const char *scheme, int *err) in topo_xml_print()
|
H A D | topo_digraph_xml.c | 196 serialize_nvpair_nvlist(topo_hdl_t *thp, FILE *fp, uint_t pad, in serialize_nvpair_nvlist() 222 serialize_nvpair(topo_hdl_t *thp, FILE *fp, uint_t pad, const char *pname, in serialize_nvpair() 435 serialize_edge(topo_hdl_t *thp, topo_edge_t *edge, boolean_t last_edge, in serialize_edge() 467 serialize_property(topo_hdl_t *thp, FILE *fp, uint_t pad, tnode_t *tn, in serialize_property() 602 serialize_pgroups(topo_hdl_t *thp, FILE *fp, tnode_t *tn) in serialize_pgroups() 662 serialize_vertex(topo_hdl_t *thp, topo_vertex_t *vtx, boolean_t last_vtx, in serialize_vertex() 721 topo_digraph_serialize(topo_hdl_t *thp, topo_digraph_t *tdg, FILE *fp) in topo_digraph_serialize() 788 dump_xml_node(topo_hdl_t *thp, xmlNodePtr xn) in dump_xml_node() 808 edge_cb(topo_hdl_t *thp, topo_vertex_t *vtx, boolean_t last_vtx, void *arg) in edge_cb() 842 deserialize_edges(topo_hdl_t *thp, topo_mod_t *mod, topo_digraph_t *tdg, in deserialize_edges() [all …]
|
H A D | topo_string.c | 38 topo_hdl_strdup(topo_hdl_t *thp, const char *s) in topo_hdl_strdup() 54 topo_hdl_strfree(topo_hdl_t *thp, char *s) in topo_hdl_strfree() 61 topo_hdl_strfreev(topo_hdl_t *thp, char **strarr, uint_t nelem) in topo_hdl_strfreev() 76 topo_hdl_vasprintf(topo_hdl_t *thp, char **str, const char *fmt, va_list ap) in topo_hdl_vasprintf() 114 topo_hdl_asprintf(topo_hdl_t *thp, char **str, const char *fmt, ...) in topo_hdl_asprintf()
|
H A D | topo_alloc.c | 56 topo_hdl_alloc(topo_hdl_t *thp, size_t size) in topo_hdl_alloc() 64 topo_hdl_zalloc(topo_hdl_t *thp, size_t size) in topo_hdl_zalloc() 72 topo_hdl_free(topo_hdl_t *thp, void *data, size_t size) in topo_hdl_free()
|
H A D | topo_prop.c | 213 topo_hdl_t *thp = node->tn_hdl; in prop_getval() local 505 topo_hdl_t *thp = node->tn_hdl; in set_seterror() local 524 topo_hdl_t *thp = node->tn_hdl; in prop_create() local 575 topo_hdl_t *thp = node->tn_hdl; in topo_prop_set() local 774 topo_hdl_t *thp = node->tn_hdl; in topo_prop_setprop() local 857 topo_hdl_t *thp = node->tn_hdl; in register_methoderror() local 879 topo_hdl_t *thp = node->tn_hdl; in prop_method_register() local 985 topo_hdl_t *thp = node->tn_hdl; in topo_prop_method_unregister() local 1078 topo_hdl_t *thp = node->tn_hdl; in topo_prop_inherit() local 1131 topo_hdl_t *thp = node->tn_hdl; in topo_pgroup_info() local [all …]
|
H A D | topo_digraph.c | 132 topo_digraph_get(topo_hdl_t *thp, const char *scheme) in topo_digraph_get() 158 topo_digraph_new(topo_hdl_t *thp, topo_mod_t *mod, const char *scheme) in topo_digraph_new() 370 topo_vertex_iter(topo_hdl_t *thp, topo_digraph_t *tdg, in topo_vertex_iter() 457 topo_edge_iter(topo_hdl_t *thp, topo_vertex_t *vtx, in topo_edge_iter() 490 topo_path_destroy(topo_hdl_t *thp, topo_path_t *path) in topo_path_destroy() 534 visit_vertex(topo_hdl_t *thp, topo_vertex_t *vtx, topo_vertex_t *to, in visit_vertex() 635 topo_digraph_paths(topo_hdl_t *thp, topo_digraph_t *tdg, topo_vertex_t *from, in topo_digraph_paths()
|
H A D | topo_nvl.c | 63 topo_hdl_nvalloc(topo_hdl_t *thp, nvlist_t **nvlp, uint_t nvflag) in topo_hdl_nvalloc() 73 topo_hdl_nvdup(topo_hdl_t *thp, nvlist_t *nvl, nvlist_t **nvlp) in topo_hdl_nvdup()
|
H A D | topo_mod.c | 124 topo_hdl_t *thp; in topo_mod_load() local 690 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_ipmi_hold() local 712 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_ipmi_rele() local 726 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_smbios() local 743 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_pcidb() local 761 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_dprintf() local 907 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_walk_init() local 939 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_file_search() local
|
/illumos-gate/usr/src/cmd/fm/schemes/dev/ |
H A D | scheme.c | 50 topo_hdl_t *thp; in fmd_fmri_nvl2str() local 76 topo_hdl_t *thp; in fmd_fmri_present() local 91 topo_hdl_t *thp; in fmd_fmri_replaced() local 107 topo_hdl_t *thp; in fmd_fmri_unusable() local 130 topo_hdl_t *thp; in fmd_fmri_service_state() local
|
/illumos-gate/usr/src/cmd/fm/schemes/svc/ |
H A D | scheme.c | 49 topo_hdl_t *thp; in fmd_fmri_nvl2str() local 77 topo_hdl_t *thp; in fmd_fmri_present() local 96 topo_hdl_t *thp; in fmd_fmri_replaced() local 115 topo_hdl_t *thp; in fmd_fmri_service_state() local 139 topo_hdl_t *thp; in fmd_fmri_unusable() local
|
/illumos-gate/usr/src/cmd/fm/fmtopo/common/ |
H A D | fmtopo.c | 130 print_node(topo_hdl_t *thp, tnode_t *node, nvlist_t *nvl, const char *fmri) in print_node() 249 print_prop_nameval(topo_hdl_t *thp, tnode_t *node, nvlist_t *nvl) in print_prop_nameval() 502 print_pgroup(topo_hdl_t *thp, tnode_t *node, const char *pgn, char *dstab, in print_pgroup() 534 print_all_props(topo_hdl_t *thp, tnode_t *node, nvlist_t *p_nv, in print_all_props() 612 set_prop(topo_hdl_t *thp, tnode_t *node, nvlist_t *fmri, struct prop_args *pp) in set_prop() 770 print_props(topo_hdl_t *thp, tnode_t *node) in print_props() 831 walk_node(topo_hdl_t *thp, tnode_t *node, void *arg) in walk_node() 971 walk_schemes_cb(topo_hdl_t *thp, const topo_scheme_info_t *info, void *arg) in walk_schemes_cb() 999 walk_topo(topo_hdl_t *thp, char *uuid) in walk_topo() 1046 print_fmri_pgroup(topo_hdl_t *thp, const char *pgn, nvlist_t *nvl) in print_fmri_pgroup() [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/libtopo/ |
H A D | digraph-test.c | 77 test_deserialize(topo_hdl_t *thp, const char *path) in test_deserialize() 122 test_paths_cb(topo_hdl_t *thp, topo_vertex_t *vtx, boolean_t last_vtx, in test_paths_cb() 134 test_paths(topo_hdl_t *thp, topo_digraph_t *tdg) in test_paths() 201 test_serialize(topo_hdl_t *thp, topo_digraph_t *tdg, const char *path) in test_serialize() 223 topo_hdl_t *thp = NULL; in main() local
|
/illumos-gate/usr/src/cmd/fm/schemes/hc/ |
H A D | scheme.c | 47 topo_hdl_t *thp; in fmd_fmri_nvl2str() local 76 topo_hdl_t *thp; in fmd_fmri_present() local 100 topo_hdl_t *thp; in fmd_fmri_replaced() local 124 topo_hdl_t *thp; in fmd_fmri_unusable() local 209 topo_hdl_t *thp; in fru_compare() local 283 topo_hdl_t *thp; in fmd_fmri_service_state() local
|
/illumos-gate/usr/src/cmd/fm/schemes/cpu/ |
H A D | cpu.c | 46 topo_hdl_t *thp; in fmd_fmri_nvl2str() local 151 topo_hdl_t *thp; in fmd_fmri_expand() local 209 topo_hdl_t *thp; in fmd_fmri_present() local 262 topo_hdl_t *thp; in fmd_fmri_replaced() local 319 topo_hdl_t *thp; in fmd_fmri_unusable() local
|
/illumos-gate/usr/src/cmd/fm/schemes/mem/ |
H A D | mem.c | 153 topo_hdl_t *thp; in fmd_fmri_expand() local 216 struct topo_hdl *thp; in fmd_fmri_present() local 316 struct topo_hdl *thp; in fmd_fmri_replaced() local 418 struct topo_hdl *thp; in fmd_fmri_contains() local 465 topo_hdl_t *thp; in fmd_fmri_unusable() local
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-lights/ |
H A D | disk_lights.c | 137 dl_fault_walk_inner(topo_hdl_t *thp, tnode_t *node, void *arg) in dl_fault_walk_inner() 168 dl_fault_walk_outer(topo_hdl_t *thp, tnode_t *node, void *arg) in dl_fault_walk_outer() 218 topo_hdl_t *thp = NULL; in dl_examine_topo() local 280 disklights_topo(fmd_hdl_t *hdl, topo_hdl_t *thp) in disklights_topo()
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | topo_gather.c | 194 fmri2ptr(topo_hdl_t *thp, tnode_t *node, char **str, int *err) in fmri2ptr() 227 topo_add_disk(topo_hdl_t *thp, tnode_t *node, walk_diskmon_t *wdp) in topo_add_disk() 462 topo_add_bay(topo_hdl_t *thp, tnode_t *node, walk_diskmon_t *wdp) in topo_add_bay() 727 gather_topo_cfg(topo_hdl_t *thp, tnode_t *node, void *arg) in gather_topo_cfg() 746 topo_hdl_t *thp; in update_configuration_from_topo() local
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-transport/ |
H A D | disk_transport.c | 109 dt_analyze_disk(topo_hdl_t *thp, tnode_t *node, void *arg) in dt_analyze_disk() 196 topo_hdl_t *thp; in dt_timeout() local 238 dt_topo_change(fmd_hdl_t *hdl, topo_hdl_t *thp) in dt_topo_change()
|
/illumos-gate/usr/src/cmd/prtdiag/i386/ |
H A D | smbios.c | 173 do_slot_mapping_cb(topo_hdl_t *thp, tnode_t *node, void *arg) in do_slot_mapping_cb() 243 do_slot_mapping(smbios_slot_t *s, topo_hdl_t *thp) in do_slot_mapping() 309 topo_hdl_t *thp; in do_prominfo() local
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_fmri.c | 244 fmd_fmri_topo_rele(struct topo_hdl *thp) in fmd_fmri_topo_rele() 383 topo_hdl_t *thp; in fmd_fmri_retire() local 398 topo_hdl_t *thp; in fmd_fmri_unretire() local
|