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.c134 shp->sh_hash = calloc(shp->sh_hashlen, sizeof (void *)); in fmd_serd_hash_create()
137 if (shp->sh_hash == NULL) { in fmd_serd_hash_create()
151 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = ngp) { in fmd_serd_hash_destroy()
157 free(shp->sh_hash); in fmd_serd_hash_destroy()
168 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = sgp->sg_next) in fmd_serd_hash_apply()
183 sgp->sg_next = shp->sh_hash[h]; in fmd_serd_eng_insert()
184 shp->sh_hash[h] = sgp; in fmd_serd_eng_insert()
196 for (sgp = shp->sh_hash[h]; sgp != NULL; sgp = sgp->sg_next) { in fmd_serd_eng_lookup()
208 fmd_serd_eng_t *sgp, **pp = &shp->sh_hash[h]; in fmd_serd_eng_delete()
H A Dfmd_serd.h61 fmd_serd_eng_t **sh_hash; /* hash bucket array for buffers */ member