Lines Matching refs:sh_nbuckets
95 shp->sh_nbuckets = SHADOW_HASHMINSIZE;
102 shp->sh_nbuckets * sizeof (void *))) == NULL) {
147 return (shp->sh_compute(shp->sh_convert(elem)) % shp->sh_nbuckets);
153 size_t osize = shp->sh_nbuckets;
172 shp->sh_nbuckets = nsize;
199 ulong_t idx = shp->sh_compute(search) % shp->sh_nbuckets;
247 if (++shp->sh_nelements > shp->sh_nbuckets / 2)
248 shadow_hash_resize(shp, shadow_hash_double(shp->sh_nbuckets));
270 if (--shp->sh_nelements < shp->sh_nbuckets / 4)
271 shadow_hash_resize(shp, shadow_hash_half(shp->sh_nbuckets));