Searched refs:ih_nbuckets (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_hash.c100 ihp->ih_nbuckets = IPMI_HASHMINSIZE;
107 ihp->ih_nbuckets * sizeof (void *))) == NULL) {
166 return (ihp->ih_compute(ihp->ih_convert(elem)) % ihp->ih_nbuckets);
172 size_t osize = ihp->ih_nbuckets;
192 ihp->ih_nbuckets = nsize;
219 ulong_t idx = ihp->ih_compute(search) % ihp->ih_nbuckets;
267 if (++ihp->ih_nelements > ihp->ih_nbuckets / 2)
268 ipmi_hash_resize(ihp, ipmi_hash_double(ihp->ih_nbuckets));
290 if (--ihp->ih_nelements < ihp->ih_nbuckets / 4)
291 ipmi_hash_resize(ihp, ipmi_hash_half(ihp->ih_nbuckets));
[all...]
H A Dipmi_impl.h50 size_t ih_nbuckets; /* number of buckets */ member in struct:ipmi_hash

Completed in 58 milliseconds