Lines Matching refs:newbits
193 hashtable_rehash(dns_rbt_t *rbt, uint32_t newbits);
1480 uint32_t newbits = rbt->hashbits[rbt->hindex];
1482 while (newcount >= ISC_HASHSIZE(newbits) && newbits < ISC_HASH_MAX_BITS)
1484 newbits += 1;
1487 return newbits;
1494 hashtable_rehash(dns_rbt_t *rbt, uint32_t newbits) {
1503 REQUIRE(newbits <= ISC_HASH_MAX_BITS);
1507 REQUIRE(newbits > oldbits);
1509 hashtable_new(rbt, newindex, newbits);
1554 uint32_t newbits = rehash_bits(rbt, newcount);
1556 if (rbt->hashbits[rbt->hindex] < newbits &&
1557 newbits <= ISC_HASH_MAX_BITS)
1559 hashtable_rehash(rbt, newbits);