Home
last modified time | relevance | path

Searched refs:sh_hash (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dfmd_serd.c133 shp->sh_hash = calloc(shp->sh_hashlen, sizeof (void *)); in fmd_serd_hash_create()
136 if (shp->sh_hash == NULL) { in fmd_serd_hash_create()
150 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = ngp) { in fmd_serd_hash_destroy()
156 free(shp->sh_hash); in fmd_serd_hash_destroy()
167 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = sgp->sg_next) in fmd_serd_hash_apply()
182 sgp->sg_next = shp->sh_hash[h]; in fmd_serd_eng_insert()
183 shp->sh_hash[h] = sgp; in fmd_serd_eng_insert()
195 for (sgp = shp->sh_hash[h]; sgp != NULL; sgp = sgp->sg_next) { in fmd_serd_eng_lookup()
207 fmd_serd_eng_t *sgp, **pp = &shp->sh_hash[h]; in fmd_serd_eng_delete()
H A Dfmd_serd.h60 fmd_serd_eng_t **sh_hash; /* hash bucket array for buffers */ member