Lines Matching refs:buckets
73 struct list_head *buckets;
179 * Calculate a suitable number of buckets for our hash
209 rh->buckets = vmalloc(array_size(nr_buckets, sizeof(*rh->buckets)));
210 if (!rh->buckets) {
217 INIT_LIST_HEAD(rh->buckets + i);
231 vfree(rh->buckets);
247 list_for_each_entry_safe(reg, nreg, rh->buckets + h,
258 vfree(rh->buckets);
277 struct list_head *bucket = rh->buckets + rh_hash(rh, region);
288 list_add(®->hash_list, rh->buckets + rh_hash(rh, reg->key));