/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_fmri.h | 39 extern nvlist_t *topo_fmri_create(topo_hdl_t *, const char *, const char *,
|
H A D | topo_module.h | 66 topo_hdl_t *tm_hdl; /* Topo handle for this module */ 93 extern topo_modhash_t *topo_modhash_create(topo_hdl_t *); 94 extern void topo_modhash_destroy(topo_hdl_t *); 96 extern topo_mod_t *topo_modhash_load(topo_hdl_t *, const char *, const char *, 99 extern void topo_modhash_unload_all(topo_hdl_t *); 102 extern topo_mod_t *topo_mod_lookup(topo_hdl_t *, const char *, int);
|
H A D | topo_error.h | 93 extern int topo_hdl_seterrno(topo_hdl_t *, int); 94 extern const char *topo_hdl_errmsg(topo_hdl_t *); 95 extern int topo_hdl_errno(topo_hdl_t *);
|
H A D | libtopo.h | 39 typedef struct topo_hdl topo_hdl_t; typedef in typeref:struct:topo_hdl 59 extern topo_hdl_t *topo_open(int, const char *, int *); 60 extern void topo_close(topo_hdl_t *); 61 extern char *topo_snap_hold(topo_hdl_t *, const char *, int *); 62 extern void topo_snap_release(topo_hdl_t *); 67 typedef int (*topo_walk_cb_t)(topo_hdl_t *, tnode_t *, void *); 69 extern topo_walk_t *topo_walk_init(topo_hdl_t *, const char *, topo_walk_cb_t, 73 extern di_node_t topo_hdl_devinfo(topo_hdl_t *); 74 extern di_prom_handle_t topo_hdl_prominfo(topo_hdl_t *); 92 extern int topo_fmri_present(topo_hdl_t *, nvlist_ [all...] |
H A D | topo_builtin.h | 55 extern int topo_builtin_create(topo_hdl_t *, const char *);
|
H A D | topo_subr.h | 118 extern void topo_hdl_lock(topo_hdl_t *); 119 extern void topo_hdl_unlock(topo_hdl_t *); 126 extern void topo_dprintf(topo_hdl_t *, int, const char *, ...); 127 extern void topo_vdprintf(topo_hdl_t *, int, const char *, const char *, 130 extern tnode_t *topo_hdl_root(topo_hdl_t *, const char *); 140 extern char *topo_cleanup_auth_str(topo_hdl_t *, const char *);
|
H A D | topo_nvl.c | 65 topo_hdl_nvalloc(topo_hdl_t *thp, nvlist_t **nvlp, uint_t nvflag) 75 topo_hdl_nvdup(topo_hdl_t *thp, nvlist_t *nvl, nvlist_t **nvlp)
|
H A D | topo_tree.h | 66 topo_hdl_t *tn_hdl; /* topo handle pointer */ 129 extern ttree_t *topo_tree_create(topo_hdl_t *, topo_mod_t *, const char *); 131 extern int topo_tree_enum_all(topo_hdl_t *); 141 extern topo_walk_t *topo_node_walk_init(topo_hdl_t *, topo_mod_t *, tnode_t *,
|
H A D | topo_alloc.c | 58 topo_hdl_alloc(topo_hdl_t *thp, size_t size) 66 topo_hdl_zalloc(topo_hdl_t *thp, size_t size) 74 topo_hdl_free(topo_hdl_t *thp, void *data, size_t size)
|
H A D | topo_fmri.c | 75 set_error(topo_hdl_t *thp, int err, int *errp, char *method, nvlist_t *nvlp) 88 set_nverror(topo_hdl_t *thp, int err, int *errp, char *method, nvlist_t *nvlp) 100 topo_fmri_nvl2str(topo_hdl_t *thp, nvlist_t *fmri, char **fmristr, int *err) 132 topo_fmri_str2nvl(topo_hdl_t *thp, const char *fmristr, nvlist_t **fmri, 175 topo_fmri_present(topo_hdl_t *thp, nvlist_t *fmri, int *err) 203 topo_fmri_replaced(topo_hdl_t *thp, nvlist_t *fmri, int *err) 231 topo_fmri_contains(topo_hdl_t *thp, nvlist_t *fmri, nvlist_t *subfmri, int *err) 267 topo_fmri_unusable(topo_hdl_t *thp, nvlist_t *fmri, int *err) 293 topo_fmri_retire(topo_hdl_t *thp, nvlist_t *fmri, int *err) 321 topo_fmri_unretire(topo_hdl_t *th [all...] |
H A D | topo_snap.c | 36 * system topology. All consumers of the topo_hdl_t argument will be 45 * Once a snapshot has been taken with topo_snap_hold(), topo_hdl_t holders 91 static void topo_snap_destroy(topo_hdl_t *); 93 static topo_hdl_t * 94 set_open_errno(topo_hdl_t *thp, int *errp, int err) 104 topo_hdl_t * 107 topo_hdl_t *thp = NULL; 128 if ((thp = topo_zalloc(sizeof (topo_hdl_t), 0)) == NULL) 218 topo_close(topo_hdl_t *thp) 263 topo_free(thp, sizeof (topo_hdl_t)); [all...] |
H A D | topo_module.c | 165 topo_mod_lookup(topo_hdl_t *thp, const char *name, int bump) 182 topo_hdl_t *thp = mod->tm_hdl; 201 set_create_error(topo_hdl_t *thp, topo_mod_t *mod, const char *path, int err) 219 topo_mod_create(topo_hdl_t *thp, const char *name, const char *path, 256 topo_modhash_create(topo_hdl_t *thp) 278 topo_modhash_destroy(topo_hdl_t *thp) 309 topo_modhash_load(topo_hdl_t *thp, const char *name, const char *path, 339 topo_hdl_t *thp = mod->tm_hdl; 378 topo_modhash_unload_all(topo_hdl_t *thp)
|
H A D | topo_prop.h | 63 topo_hdl_t *tp_hdl; /* handle pointer for allocations */
|
H A D | topo_tree.c | 39 * trees maintained in topo_hdl_t. Builtin scheme-specific enumerators are 70 set_create_error(topo_hdl_t *thp, ttree_t *tp, int err) 82 topo_tree_create(topo_hdl_t *thp, topo_mod_t *mod, const char *scheme) 153 topo_tree_enum(topo_hdl_t *thp, ttree_t *tp) 203 topo_tree_enum_all(topo_hdl_t *thp)
|
H A D | topo_2xml.c | 43 static int txml_print_range(topo_hdl_t *, FILE *, tnode_t *, int); 105 txml_print_prop(topo_hdl_t *thp, FILE *fp, tnode_t *node, const char *pgname, 230 txml_print_pgroup(topo_hdl_t *thp, FILE *fp, tnode_t *node, topo_pgroup_t *pg) 250 txml_print_dependents(topo_hdl_t *thp, FILE *fp, tnode_t *node) 260 txml_print_node(topo_hdl_t *thp, FILE *fp, tnode_t *node) 277 txml_print_range(topo_hdl_t *thp, FILE *fp, tnode_t *node, int dependent) 317 txml_print_topology(topo_hdl_t *thp, FILE *fp, char *scheme, tnode_t *node) 334 topo_xml_print(topo_hdl_t *thp, FILE *fp, const char *scheme, int *err)
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_topo.h | 41 topo_hdl_t *ft_hdl; 51 extern void fmd_topo_rele_hdl(topo_hdl_t *);
|
/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | nvlrender.c | 35 extern topo_hdl_t *fmd_fmri_topo_hold(int); 49 topo_hdl_t *thp = fmd_fmri_topo_hold(TOPO_VERSION);
|
/illumos-gate/usr/src/cmd/fm/schemes/dev/ |
H A D | scheme.c | 52 topo_hdl_t *thp; 78 topo_hdl_t *thp; 93 topo_hdl_t *thp; 109 topo_hdl_t *thp; 132 topo_hdl_t *thp;
|
/illumos-gate/usr/src/cmd/fm/schemes/svc/ |
H A D | scheme.c | 49 topo_hdl_t *thp; 77 topo_hdl_t *thp; 96 topo_hdl_t *thp; 115 topo_hdl_t *thp; 139 topo_hdl_t *thp;
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_fru.c | 66 static topo_hdl_t *(*_topo_open)(int, const char *, int *); 67 static void (*_topo_close)(topo_hdl_t *); 68 static char *(*_topo_snap_hold)(topo_hdl_t *, const char *, int *); 69 static void (*_topo_snap_release)(topo_hdl_t *); 70 static topo_walk_t *(*_topo_walk_init)(topo_hdl_t *, const char *, 74 static void (*_topo_hdl_strfree)(topo_hdl_t *, char *); 79 static int (*_topo_fmri_nvl2str)(topo_hdl_t *, nvlist_t *, char **, int *); 80 static int (*_topo_fmri_strcmp_noauth)(topo_hdl_t *, const char *, 104 libzfs_fru_gather(topo_hdl_t *thp, tnode_t *tn, void *arg) 210 _topo_open = (topo_hdl_t *(*)()) [all...] |
/illumos-gate/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_impl.h | 79 extern topo_hdl_t *fmev_topohdl(fmev_shdl_t);
|
/illumos-gate/usr/src/cmd/fm/schemes/mod/ |
H A D | scheme.c | 35 topo_hdl_t *thp;
|
/illumos-gate/usr/src/cmd/fm/schemes/pkg/ |
H A D | scheme.c | 35 topo_hdl_t *thp;
|
/illumos-gate/usr/src/cmd/fm/schemes/sw/ |
H A D | scheme.c | 48 topo_hdl_t *thp;
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-lights/ |
H A D | disk_lights.c | 57 static void disklights_topo(fmd_hdl_t *, topo_hdl_t *); 103 get_facility_props(topo_hdl_t *hdl, tnode_t *node, char **facname, 137 dl_fault_walk_inner(topo_hdl_t *thp, tnode_t *node, void *arg) 168 dl_fault_walk_outer(topo_hdl_t *thp, tnode_t *node, void *arg) 218 topo_hdl_t *thp = NULL; 280 disklights_topo(fmd_hdl_t *hdl, topo_hdl_t *thp)
|