Searched refs:ht_mask (Results 1 – 2 of 2) sorted by relevance
70 ht->ht_mask = HT_INIT_SIZE - 1; in hash_init()144 idx = (unsigned)(hash & ht->ht_mask); in hash_lookup()171 hi = &ht->ht_array[idx & ht->ht_mask]; in hash_lookup()342 if (ht->ht_filled >= ht->ht_mask + 1) in hash_may_resize()360 oldsize = ht->ht_mask + 1; in hash_may_resize()410 if (ht->ht_filled < ht->ht_mask) in hash_may_resize()451 ht->ht_mask = newmask; in hash_may_resize()
1296 long_u ht_mask; // mask used for hash value (nr of items in member