Home
last modified time | relevance | path

Searched defs:thp (Results 1 – 25 of 68) 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.c95 set_open_errno(topo_hdl_t *thp, int *errp, int err) in set_open_errno()
108 topo_hdl_t *thp = NULL; in topo_open() local
219 topo_close(topo_hdl_t *thp) in topo_close()
279 topo_snap_create(topo_hdl_t *thp, int *errp, boolean_t need_force) in topo_snap_create()
360 fac_walker(topo_hdl_t *thp, tnode_t *node, void *arg) in fac_walker()
385 topo_snap_hold(topo_hdl_t *thp, const char *uuid, int *errp) in topo_snap_hold()
419 topo_walk_destroy(topo_hdl_t *thp, tnode_t *node, void *notused) in topo_walk_destroy()
434 topo_snap_destroy(topo_hdl_t *thp) in topo_snap_destroy()
520 topo_snap_release(topo_hdl_t *thp) in topo_snap_release()
789 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()
203 topo_tree_enum_all(topo_hdl_t *thp) in topo_tree_enum_all()
H A Dtopo_subr.c44 topo_hdl_lock(topo_hdl_t *thp) in topo_hdl_lock()
50 topo_hdl_unlock(topo_hdl_t *thp) in topo_hdl_unlock()
113 env_process_value(topo_hdl_t *thp, const char *begin, const char *end) in env_process_value()
144 topo_debug_set(topo_hdl_t *thp, const char *dbmode, const char *dout) in topo_debug_set()
176 topo_vdprintf(topo_hdl_t *thp, const char *mod, const char *format, va_list ap) in topo_vdprintf()
208 topo_dprintf(topo_hdl_t *thp, int mask, const char *format, ...) in topo_dprintf()
221 topo_hdl_root(topo_hdl_t *thp, const char *scheme) in topo_hdl_root()
278 topo_hdl_t *thp = mod->tm_hdl; in topo_search_path() local
311 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()
475 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_alloc.c58 topo_hdl_alloc(topo_hdl_t *thp, size_t size) in topo_hdl_alloc()
66 topo_hdl_zalloc(topo_hdl_t *thp, size_t size) in topo_hdl_zalloc()
74 topo_hdl_free(topo_hdl_t *thp, void *data, size_t size) in topo_hdl_free()
H A Dtopo_prop.c208 topo_hdl_t *thp = node->tn_hdl; in prop_getval() local
499 topo_hdl_t *thp = node->tn_hdl; in set_seterror() local
518 topo_hdl_t *thp = node->tn_hdl; in prop_create() local
569 topo_hdl_t *thp = node->tn_hdl; in topo_prop_set() local
768 topo_hdl_t *thp = node->tn_hdl; in topo_prop_setprop() local
851 topo_hdl_t *thp = node->tn_hdl; in register_methoderror() local
873 topo_hdl_t *thp = node->tn_hdl; in prop_method_register() local
979 topo_hdl_t *thp = node->tn_hdl; in topo_prop_method_unregister() local
1072 topo_hdl_t *thp = node->tn_hdl; in topo_prop_inherit() local
1125 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_string.c37 topo_hdl_strdup(topo_hdl_t *thp, const char *s) in topo_hdl_strdup()
53 topo_hdl_strfree(topo_hdl_t *thp, char *s) in topo_hdl_strfree()
60 topo_hdl_strfreev(topo_hdl_t *thp, char **strarr, uint_t nelem) in topo_hdl_strfreev()
H A Dtopo_nvl.c65 topo_hdl_nvalloc(topo_hdl_t *thp, nvlist_t **nvlp, uint_t nvflag) in topo_hdl_nvalloc()
75 topo_hdl_nvdup(topo_hdl_t *thp, nvlist_t *nvl, nvlist_t **nvlp) in topo_hdl_nvdup()
H A Dtopo_mod.c123 topo_hdl_t *thp; in topo_mod_load() local
689 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_ipmi_hold() local
711 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_ipmi_rele() local
725 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_smbios() local
742 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_pcidb() local
760 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_dprintf() local
906 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_walk_init() local
929 topo_hdl_t *thp = mod->tm_hdl; in topo_mod_file_search() local
/illumos-gate/usr/src/cmd/fm/schemes/dev/
H A Dscheme.c52 topo_hdl_t *thp; in fmd_fmri_nvl2str() local
78 topo_hdl_t *thp; in fmd_fmri_present() local
93 topo_hdl_t *thp; in fmd_fmri_replaced() local
109 topo_hdl_t *thp; in fmd_fmri_unusable() local
132 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.c127 print_node(topo_hdl_t *thp, tnode_t *node, nvlist_t *nvl, const char *fmri) in print_node()
246 print_prop_nameval(topo_hdl_t *thp, tnode_t *node, nvlist_t *nvl) in print_prop_nameval()
531 print_all_props(topo_hdl_t *thp, tnode_t *node, nvlist_t *p_nv, in print_all_props()
767 print_props(topo_hdl_t *thp, tnode_t *node) in print_props()
828 walk_node(topo_hdl_t *thp, tnode_t *node, void *arg) in walk_node()
967 walk_topo(topo_hdl_t *thp, char *uuid) in walk_topo()
1014 print_fmri_pgroup(topo_hdl_t *thp, const char *pgn, nvlist_t *nvl) in print_fmri_pgroup()
1044 print_fmri_props(topo_hdl_t *thp, nvlist_t *nvl) in print_fmri_props()
1101 print_fmri(topo_hdl_t *thp, char *uuid) in print_fmri()
1182 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/modules/sun4v/cpumem-diagnosis/
H A Dcmd_hc_sun4v.c279 find_mb(topo_hdl_t *thp, tnode_t *node, void *arg) in find_mb()
316 topo_hdl_t *thp; in init_mb() local
336 find_dimm_sn_mem(topo_hdl_t *thp, tnode_t *node, void *arg) in find_dimm_sn_mem()
362 find_dimm_sn_hc(topo_hdl_t *thp, tnode_t *node, void *arg) in find_dimm_sn_hc()
389 topo_hdl_t *thp; in cmd_find_dimm_by_sn() local
423 find_cpu_rsc_by_sn(topo_hdl_t *thp, tnode_t *node, void *arg) in find_cpu_rsc_by_sn()
470 topo_hdl_t *thp; in cmd_find_cpu_rsc_by_sn() local
514 find_mem_rsc_hc(topo_hdl_t *thp, tnode_t *node, void *arg) in find_mem_rsc_hc()
539 topo_hdl_t *thp; in cmd_find_mem_rsc_by_sn() local
H A Dcmd_branch.c139 branch_dimm_cb(topo_hdl_t *thp, tnode_t *node, void *arg) in branch_dimm_cb()
211 topo_hdl_t *thp; in branch_dimmlist_create() local
237 fru_by_label_cb(topo_hdl_t *thp, tnode_t *node, void *arg) in fru_by_label_cb()
258 topo_hdl_t *thp; in fru_by_label() local
603 branch_exist_cb(topo_hdl_t *thp, tnode_t *node, void *arg) in branch_exist_cb()
643 topo_hdl_t *thp; in branch_exist() 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()

123