Lines Matching defs:nr_buckets
67 unsigned nr_buckets;
171 unsigned nr_buckets, max_buckets;
180 for (nr_buckets = 128u; nr_buckets < max_buckets; nr_buckets <<= 1)
182 nr_buckets >>= 1;
200 rh->mask = nr_buckets - 1;
201 rh->nr_buckets = nr_buckets;
206 rh->buckets = vmalloc(array_size(nr_buckets, sizeof(*rh->buckets)));
213 for (i = 0; i < nr_buckets; i++)
243 for (h = 0; h < rh->nr_buckets; h++) {