Lines Matching refs:hashbits
58 uint8_t hashbits[2]; member
167 uint32_t newbits = ht->hashbits[ht->hindex]; in rehash_bits()
182 uint32_t oldbits = ht->hashbits[oldindex]; in hashtable_rehash()
185 REQUIRE(ht->hashbits[oldindex] >= HT_MIN_BITS); in hashtable_rehash()
186 REQUIRE(ht->hashbits[oldindex] <= HT_MAX_BITS); in hashtable_rehash()
190 REQUIRE(ht->hashbits[newindex] == HT_NO_BITS); in hashtable_rehash()
225 ht->hashbits[ht->hindex]); in hashtable_rehash_one()
240 if (ht->hashbits[ht->hindex] < newbits && newbits <= HT_MAX_BITS) { in maybe_rehash()
248 REQUIRE(ht->hashbits[idx] == HT_NO_BITS); in hashtable_new()
253 ht->hashbits[idx] = bits; in hashtable_new()
254 ht->size[idx] = HASHSIZE(ht->hashbits[idx]); in hashtable_new()
278 ht->hashbits[idx] = HT_NO_BITS; in hashtable_free()
334 hash = hash_32(hashval, ht->hashbits[idx]); in isc__ht_add()
385 hash = hash_32(hashval, ht->hashbits[findex]); in isc__ht_find()
435 hash = hash_32(hashval, ht->hashbits[idx]); in isc__ht_delete()