Lines Matching refs:nbuckets
159 sb->nbuckets = le64_to_cpu(s->nbuckets); in read_super()
167 if (sb->nbuckets > LONG_MAX) in read_super()
171 if (sb->nbuckets < 1 << 7) in read_super()
182 if (get_capacity(bdev->bd_disk) < sb->bucket_size * sb->nbuckets) in read_super()
201 if (sb->first_bucket + sb->keys > sb->nbuckets) in read_super()
569 b < ca->buckets + ca->sb.nbuckets && d < end; in bch_prio_write()
618 b < ca->buckets + ca->sb.nbuckets; in prio_read()
1580 c->nbuckets += ca->sb.nbuckets; in run_cache_set()
1667 ca->sb.keys = clamp_t(int, ca->sb.nbuckets >> 7, in run_cache_set()
1851 free = roundup_pow_of_two(ca->sb.nbuckets) >> 10; in cache_alloc()
1860 ca->sb.nbuckets)) || in cache_alloc()