Lines Matching refs:nbuckets
136 sb->nbuckets = le64_to_cpu(s->nbuckets); in read_super()
144 if (sb->nbuckets > LONG_MAX) in read_super()
148 if (sb->nbuckets < 1 << 7) in read_super()
159 if (get_capacity(bdev->bd_disk) < sb->bucket_size * sb->nbuckets) in read_super()
178 if (sb->first_bucket + sb->keys > sb->nbuckets) in read_super()
546 b < ca->buckets + ca->sb.nbuckets && d < end; in bch_prio_write()
595 b < ca->buckets + ca->sb.nbuckets; in prio_read()
1549 c->nbuckets += ca->sb.nbuckets; in run_cache_set()
1636 ca->sb.keys = clamp_t(int, ca->sb.nbuckets >> 7, in run_cache_set()
1818 free = roundup_pow_of_two(ca->sb.nbuckets) >> 10; in cache_alloc()
1827 ca->sb.nbuckets)) || in cache_alloc()