Lines Matching refs:n_entries
162 unsigned n_entries; /* number of stored entries */ member
307 static unsigned n_entries(HashmapBase *h) { in n_entries() function
308 return h->has_indirect ? h->indirect.n_entries in n_entries()
314 h->indirect.n_entries++; in n_entries_inc()
321 h->indirect.n_entries--; in n_entries_dec()
1025 assert(n_entries(h) < n_buckets(h)); in hashmap_base_put_boldly()
1050 h->debug.max_entries = MAX(h->debug.max_entries, n_entries(h)); in hashmap_base_put_boldly()
1078 new_n_entries = n_entries(h) + entries_add; in resize_buckets()
1119 h->indirect.n_entries = h->n_direct_entries; in resize_buckets()
1194 assert(n_rehashed == n_entries(h)); in resize_buckets()
1551 if (!h || !n_entries(h)) in find_first_entry()
1586 return n_entries(h); in _hashmap_size()
1670 r = resize_buckets(h, n_entries(other)); in _hashmap_move()
1768 sv = new(char*, n_entries(h)+1); in _hashmap_get_strv()
1927 size = n_entries(cache->hashmap); in iterated_cache_get()