Lines Matching defs:n_buckets
183 unsigned n_buckets; /* number of buckets */
281 static unsigned n_buckets(HashmapBase *h) {
282 return h->has_indirect ? h->indirect.n_buckets
325 return (unsigned) (hash % n_buckets(h));
384 (storage_ptr(h) + hashmap_type_info[h->type].entry_size * n_buckets(h));
389 : n_buckets(h) + idx - from;
424 for ( ; idx < n_buckets(h); idx++)
473 return (idx + 1U) % n_buckets(h);
477 return (n_buckets(h) + idx - 1U) % n_buckets(h);
980 assert(idx < n_buckets(h));
991 assert(n_entries(h) < n_buckets(h));
1064 old_n_buckets = n_buckets(h);
1095 h->indirect.n_buckets = (1U << new_shift) /
1115 (n_buckets(h) - old_n_buckets) * hi->entry_size);
1119 (n_buckets(h) - old_n_buckets) * sizeof(dib_raw_t));
1172 assert(idx < n_buckets(h));
1560 return n_buckets(h);