Lines Matching refs:nbuckets
9404 * nbuckets number of buckets (must be power of 2)
9418 * EINVAL nbuckets is not a power of 2
9423 daplka_hash_create(daplka_hash_table_t *htblp, uint_t nbuckets,
9428 if ((nbuckets & ~(nbuckets - 1)) != nbuckets) {
9429 DERR("hash_create: nbuckets not power of 2\n");
9435 kmem_zalloc(sizeof (daplka_hash_bucket_t) * nbuckets,
9441 for (i = 0; i < nbuckets; i++) {
9452 htblp->ht_nbuckets = nbuckets;
9456 D3("hash_create: done, buckets = %d\n", nbuckets);
9766 D3("hash_destroy: htblp 0x%p, nbuckets %d, freed %d hash entries\n",