Lines Matching refs:buckets
80 struct list_head *buckets;
175 * Calculate a suitable number of buckets for our hash
191 rh->buckets = vmalloc(nr_buckets * sizeof(*rh->buckets));
192 if (!rh->buckets) {
198 INIT_LIST_HEAD(rh->buckets + i);
210 vfree(rh->buckets);
211 rh->buckets = NULL;
225 list_for_each_entry_safe(reg, nreg, rh->buckets + h, hash_list) {
235 vfree(rh->buckets);
249 list_for_each_entry (reg, rh->buckets + rh_hash(rh, region), hash_list)
259 list_add(®->hash_list, rh->buckets + h);