Searched refs:ht_capacity (Results 1 – 2 of 2) sorted by relevance
56 ht->ht_capacity = ht->ht_size - (ht->ht_size / 16); /* 93.75% loading factor */ in hash_init()148 if (ht->ht_empty_slots < ht->ht_size - ht->ht_capacity) in hash_insert_at()220 ht->ht_capacity = 0; in hash_free()258 if (ht->ht_fill >= ht->ht_capacity) in hash_rehash()261 ht->ht_capacity = ht->ht_size - (ht->ht_size >> 4); in hash_rehash()
47 unsigned long ht_capacity; /* usable slots, limited by loading-factor */ member