Lines Matching defs:fstyp_handle

76 struct fstyp_handle {
90 static int fstyp_ident_all(struct fstyp_handle *h, const char **ident);
91 static int fstyp_ident_one(struct fstyp_handle *h, const char *fsname,
93 static fstyp_module_t *fstyp_find_module_by_name(struct fstyp_handle *h,
95 static int fstyp_init_module(struct fstyp_handle *h,
97 static void fstyp_fini_module(struct fstyp_handle *h,
99 static int fstyp_init_all_modules(struct fstyp_handle *h);
100 static void fstyp_fini_all_modules(struct fstyp_handle *h);
101 static int fstyp_load_module(struct fstyp_handle *h,
103 static void fstyp_unload_module(struct fstyp_handle *h,
113 struct fstyp_handle *h;
116 if ((h = calloc(1, sizeof (struct fstyp_handle))) == NULL) {
149 fstyp_fini(struct fstyp_handle *h)
165 fstyp_ident(struct fstyp_handle *h, const char *fsname, const char **ident)
178 fstyp_ident_all(struct fstyp_handle *h, const char **ident)
208 fstyp_ident_one(struct fstyp_handle *h, const char *fsname, const char **ident)
247 fstyp_get_attr(struct fstyp_handle *h, nvlist_t **attr)
262 fstyp_dump(struct fstyp_handle *h, FILE *fout, FILE *ferr)
279 fstyp_strerror(struct fstyp_handle *h, int error)
342 fstyp_find_module_by_name(struct fstyp_handle *h, const char *fsname)
359 fstyp_init_module(struct fstyp_handle *h, char *mdir, char *fsname,
412 fstyp_fini_module(struct fstyp_handle *h, fstyp_module_t *mp)
428 fstyp_init_all_modules(struct fstyp_handle *h)
463 fstyp_fini_all_modules(struct fstyp_handle *h)
479 fstyp_load_module(struct fstyp_handle *h, fstyp_module_t *mp)
521 fstyp_unload_module(struct fstyp_handle *h, fstyp_module_t *mp)