Lines Matching refs:nbuckets
98 sb->nbuckets = le64_to_cpu(s->nbuckets); in read_super_common()
109 if (sb->nbuckets > LONG_MAX) in read_super_common()
113 if (sb->nbuckets < 1 << 7) in read_super_common()
134 sb->bucket_size * sb->nbuckets) in read_super_common()
153 if (sb->first_bucket + sb->keys > sb->nbuckets) in read_super_common()
649 b < ca->buckets + ca->sb.nbuckets && d < end; in bch_prio_write()
700 b < ca->buckets + ca->sb.nbuckets; in prio_read()
1975 c->nbuckets = ca->sb.nbuckets; in run_cache_set()
2063 ca->sb.keys = clamp_t(int, ca->sb.nbuckets >> 7, in run_cache_set()
2245 free = roundup_pow_of_two(ca->sb.nbuckets) >> 10; in cache_alloc()
2285 ca->sb.nbuckets)); in cache_alloc()