Lines Matching refs:buckets
70 struct list_head *buckets;
176 * Calculate a suitable number of buckets for our hash
206 rh->buckets = vmalloc(array_size(nr_buckets, sizeof(*rh->buckets)));
207 if (!rh->buckets) {
214 INIT_LIST_HEAD(rh->buckets + i);
228 vfree(rh->buckets);
244 list_for_each_entry_safe(reg, nreg, rh->buckets + h,
255 vfree(rh->buckets);
274 struct list_head *bucket = rh->buckets + rh_hash(rh, region);
285 list_add(®->hash_list, rh->buckets + rh_hash(rh, reg->key));