Home
last modified time | relevance | path

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

/lib/
Drhashtable.c381 unsigned int nelems = atomic_read(&ht->nelems); in rhashtable_shrink() local
384 if (nelems) in rhashtable_shrink()
385 size = roundup_pow_of_two(nelems * 3 / 2); in rhashtable_shrink()
573 atomic_inc(&ht->nelems); in rhashtable_insert_one()
1060 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()