Home
last modified time | relevance | path

Searched refs:fmd_serd_hash_t (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dfmd_serd.h63 } fmd_serd_hash_t; typedef
65 extern void fmd_serd_hash_create(fmd_serd_hash_t *);
66 extern void fmd_serd_hash_destroy(fmd_serd_hash_t *);
67 extern void fmd_serd_hash_apply(fmd_serd_hash_t *, fmd_serd_eng_f *, void *);
69 extern fmd_serd_eng_t *fmd_serd_eng_insert(fmd_serd_hash_t *,
72 extern fmd_serd_eng_t *fmd_serd_eng_lookup(fmd_serd_hash_t *, const char *);
73 extern void fmd_serd_eng_delete(fmd_serd_hash_t *, const char *);
H A Dfmd_serd.c130 fmd_serd_hash_create(fmd_serd_hash_t *shp) in fmd_serd_hash_create()
144 fmd_serd_hash_destroy(fmd_serd_hash_t *shp) in fmd_serd_hash_destroy()
157 memset(shp, 0, sizeof (fmd_serd_hash_t)); in fmd_serd_hash_destroy()
161 fmd_serd_hash_apply(fmd_serd_hash_t *shp, fmd_serd_eng_f *func, void *arg) in fmd_serd_hash_apply()
173 fmd_serd_eng_insert(fmd_serd_hash_t *shp, const char *name, in fmd_serd_eng_insert()
190 fmd_serd_eng_lookup(fmd_serd_hash_t *shp, const char *name) in fmd_serd_eng_lookup()
204 fmd_serd_eng_delete(fmd_serd_hash_t *shp, const char *name) in fmd_serd_eng_delete()
H A Dfmd_api.c65 fmd_serd_hash_t mod_serds; /* hash of serd engs owned by module */