Lines Matching refs:nbuckets
81 sb->nbuckets = le64_to_cpu(s->nbuckets); in read_super_common()
92 if (sb->nbuckets > LONG_MAX) in read_super_common()
96 if (sb->nbuckets < 1 << 7) in read_super_common()
117 sb->bucket_size * sb->nbuckets) in read_super_common()
136 if (sb->first_bucket + sb->keys > sb->nbuckets) in read_super_common()
621 b < ca->buckets + ca->sb.nbuckets && d < end; in bch_prio_write()
672 b < ca->buckets + ca->sb.nbuckets; in prio_read()
1956 c->nbuckets = ca->sb.nbuckets; in run_cache_set()
2044 ca->sb.keys = clamp_t(int, ca->sb.nbuckets >> 7, in run_cache_set()
2222 free = roundup_pow_of_two(ca->sb.nbuckets) >> 10; in cache_alloc()
2262 ca->sb.nbuckets)); in cache_alloc()