Lines Matching refs:buckets
49 * 64 buckets is a good default. There is likely no reasonable
70 struct nfs4_xattr_bucket buckets[NFS4_XATTR_HASH_SIZE];
111 INIT_HLIST_HEAD(&cache->buckets[i].hlist);
112 spin_lock_init(&cache->buckets[i].lock);
113 cache->buckets[i].cache = cache;
114 cache->buckets[i].draining = false;
276 if (WARN_ON(!hlist_empty(&cache->buckets[i].hlist)))
278 cache->buckets[i].draining = false;
369 * Mark all buckets as draining, so that no new entries are added. This
394 bucket = &cache->buckets[i];
506 return &cache->buckets[jhash(name, strlen(name), 0) &
507 (ARRAY_SIZE(cache->buckets) - 1)];
755 * which is obviously the same for all buckets, so just
758 entry->bucket = &cache->buckets[0];