Lines Matching refs:ht_used
96 todo = (long)ht->ht_used; in hash_clear_all()
238 ++ht->ht_used; in hash_add_item()
274 --ht->ht_used; in hash_remove()
340 if (ht->ht_used > ht->ht_filled) in hash_may_resize()
361 if (ht->ht_filled * 3 < oldsize * 2 && ht->ht_used > oldsize / 5) in hash_may_resize()
364 if (ht->ht_used > 1000) in hash_may_resize()
365 minsize = ht->ht_used * 2; // it's big, don't make too much room in hash_may_resize()
367 minsize = ht->ht_used * 4; // make plenty of room in hash_may_resize()
372 if ((long_u)minitems < ht->ht_used) // just in case... in hash_may_resize()
373 minitems = (int)ht->ht_used; in hash_may_resize()
424 todo = (int)ht->ht_used; in hash_may_resize()
452 ht->ht_filled = ht->ht_used; in hash_may_resize()