Home
last modified time | relevance | path

Searched defs:thp (Results 1 – 25 of 61) sorted by relevance

123

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_fmri.c215 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()
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()
391 topo_fmri_service_state(topo_hdl_t *thp, nvlist_t *fmri, int *err) in topo_fmri_service_state()
419 topo_fmri_expand(topo_hdl_t *thp, nvlist_t *fmri, int *err) in topo_fmri_expand()
441 fmri_prop(topo_hdl_t *thp, nvlist_t *rsrc, const char *pgname, in fmri_prop()
931 topo_fmri_strhash(topo_hdl_t *thp, const char *fmri) in topo_fmri_strhash()
938 topo_fmri_strhash_noauth(topo_hdl_t *thp, const char *fmri) in topo_fmri_strhash_noauth()
[all …]
H A Dtopo_snap.c96 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()
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()
555 topo_snap_release(topo_hdl_t *thp) in topo_snap_release()
824 topo_hdl_devinfo(topo_hdl_t *thp) in topo_hdl_devinfo()
[all …]
H A Dtopo_module.c168 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 Dtopo_tree.c70 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 Dtopo_subr.c45 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 Dtopo_2xml.c121 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 Dtopo_digraph_xml.c196 serialize_nvpair_nvlist(topo_hdl_t *thp, FILE *fp, uint_t pad, in serialize_nvpair_nvlist()
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()
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()
880 add_edges(topo_hdl_t *thp, topo_mod_t *mod, topo_digraph_t *tdg, in add_edges()
925 add_props(topo_hdl_t *thp, topo_vertex_t *vtx, nvlist_t *pgroups) in add_props()
977 free_nvlist_array(topo_hdl_t *thp, nvlist_t **nvlarr, uint_t nelems) in free_nvlist_array()
987 is_overflow(topo_hdl_t *thp, uint64_t val, uint_t nbits) in is_overflow()
[all …]
H A Dtopo_string.c38 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 Dtopo_alloc.c56 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 Dtopo_prop.c213 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 Dtopo_digraph.c132 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 Dtopo_nvl.c63 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 Dtopo_mod.c124 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 Dscheme.c50 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 Dscheme.c49 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 Dfmtopo.c130 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()
534 print_all_props(topo_hdl_t *thp, tnode_t *node, nvlist_t *p_nv, in print_all_props()
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()
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()
1076 print_fmri_props(topo_hdl_t *thp, nvlist_t *nvl) in print_fmri_props()
1133 print_fmri(topo_hdl_t *thp, char *uuid) in print_fmri()
1214 fmtopo_exit(topo_hdl_t *thp, char *uuid, int err) in fmtopo_exit()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/libtopo/
H A Ddigraph-test.c77 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 Dscheme.c47 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 Dcpu.c46 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 Dmem.c153 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 Ddisk_lights.c137 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 Dtopo_gather.c194 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 Ddisk_transport.c109 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 Dsmbios.c173 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 Dfmd_fmri.c244 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

123