Home
last modified time | relevance | path

Searched refs:nelems (Results 1 – 2 of 2) sorted by relevance

/lib/
Drhashtable.c390 unsigned int nelems = atomic_read(&ht->nelems); in rhashtable_shrink() local
393 if (nelems) in rhashtable_shrink()
394 size = roundup_pow_of_two(nelems * 3 / 2); in rhashtable_shrink()
580 atomic_inc(&ht->nelems); in rhashtable_insert_one()
1067 atomic_set(&ht->nelems, 0); in rhashtable_init()
Dtest_rhashtable.c202 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats()
204 if (total != atomic_read(&ht->nelems) || total != entries) in test_bucket_stats()