Searched refs:ih_nbuckets (Results 1 – 2 of 2) sorted by relevance
100 ihp->ih_nbuckets = IPMI_HASHMINSIZE; in ipmi_hash_create()107 ihp->ih_nbuckets * sizeof (void *))) == NULL) { in ipmi_hash_create()166 return (ihp->ih_compute(ihp->ih_convert(elem)) % ihp->ih_nbuckets); in ipmi_hash_compute()172 size_t osize = ihp->ih_nbuckets; in ipmi_hash_resize()192 ihp->ih_nbuckets = nsize; in ipmi_hash_resize()219 ulong_t idx = ihp->ih_compute(search) % ihp->ih_nbuckets; in ipmi_hash_lookup()267 if (++ihp->ih_nelements > ihp->ih_nbuckets / 2) in ipmi_hash_insert()268 ipmi_hash_resize(ihp, ipmi_hash_double(ihp->ih_nbuckets)); in ipmi_hash_insert()290 if (--ihp->ih_nelements < ihp->ih_nbuckets / 4) in ipmi_hash_remove()291 ipmi_hash_resize(ihp, ipmi_hash_half(ihp->ih_nbuckets)); in ipmi_hash_remove()
50 size_t ih_nbuckets; /* number of buckets */ member