Lines Matching refs:bucket_size
67 unsigned int bucket_size = le16_to_cpu(s->bucket_size); in get_bucket_size() local
74 order = le16_to_cpu(s->bucket_size); in get_bucket_size()
82 bucket_size = 1 << order; in get_bucket_size()
84 bucket_size += in get_bucket_size()
89 return bucket_size; in get_bucket_size()
100 sb->bucket_size = get_bucket_size(sb, s); in read_super_common()
126 if (!is_power_of_2(sb->bucket_size)) in read_super_common()
130 if (sb->bucket_size < PAGE_SECTORS) in read_super_common()
135 sb->bucket_size * sb->nbuckets) in read_super_common()
158 if (sb->first_bucket * sb->bucket_size < 16) in read_super_common()
521 atomic_long_add(ca->sb.bucket_size, &ca->meta_sectors_written); in __uuid_write()
601 bio->bi_iter.bi_sector = bucket * ca->sb.bucket_size; in prio_io()
643 atomic_long_add(ca->sb.bucket_size * prio_buckets(ca), in bch_prio_write()
1892 c->bucket_bits = ilog2(sb->bucket_size); in bch_cache_set_alloc()