Searched refs:fmd_serd_eng_t (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | fmd_serd.h | 52 } fmd_serd_eng_t; typedef 57 typedef void fmd_serd_eng_f(fmd_serd_eng_t *, void *); 60 fmd_serd_eng_t **sh_hash; /* hash bucket array for buffers */ 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 *); 75 extern int fmd_serd_eng_record(fmd_serd_eng_t *, hrtime_t); 76 extern int fmd_serd_eng_fired(fmd_serd_eng_t *); 77 extern int fmd_serd_eng_empty(fmd_serd_eng_t *); 79 extern void fmd_serd_eng_reset(fmd_serd_eng_t *); 80 extern void fmd_serd_eng_gc(fmd_serd_eng_t *, void *);
|
H A D | fmd_serd.c | 71 static fmd_serd_eng_t * 74 fmd_serd_eng_t *sgp; in fmd_serd_eng_alloc() 76 sgp = malloc(sizeof (fmd_serd_eng_t)); in fmd_serd_eng_alloc() 81 memset(sgp, 0, sizeof (fmd_serd_eng_t)); in fmd_serd_eng_alloc() 100 fmd_serd_eng_free(fmd_serd_eng_t *sgp) in fmd_serd_eng_free() 146 fmd_serd_eng_t *sgp, *ngp; in fmd_serd_hash_destroy() 163 fmd_serd_eng_t *sgp; in fmd_serd_hash_apply() 172 fmd_serd_eng_t * 177 fmd_serd_eng_t *sgp = fmd_serd_eng_alloc(name, n, t); in fmd_serd_eng_insert() 189 fmd_serd_eng_t * [all …]
|
H A D | fmd_api.c | 521 fmd_serd_eng_t *sgp; in fmd_serd_active() 534 fmd_serd_eng_t *sgp; in fmd_serd_reset() 548 fmd_serd_eng_t *sgp; in fmd_serd_record()
|