Lines Matching refs:nbuckets
624 b < min_t(u64, ca->mi.nbuckets, end); in bch2_alloc_read()
647 if (k.k->p.offset >= ca->mi.nbuckets) { in bch2_alloc_read()
1071 if (bucket->offset < (*ca)->mi.nbuckets) in next_bucket()
1114 if (k.k->p.offset > (*ca)->mi.nbuckets) in bch2_get_key_or_real_bucket_hole()
1115 bch2_key_resize(hole, (*ca)->mi.nbuckets - hole_start.offset); in bch2_get_key_or_real_bucket_hole()
1462 start >= ca->mi.nbuckets, in bch2_check_bucket_gens_key()
1478 for (b = ca->mi.nbuckets; b < end; b++) in bch2_check_bucket_gens_key()
2198 BUG_ON(bucket_end > ca->mi.nbuckets); in bch2_dev_freespace_init()
2210 __func__, iter.pos.offset, ca->mi.nbuckets); in bch2_dev_freespace_init()
2304 ret = bch2_dev_freespace_init(c, ca, 0, ca->mi.nbuckets); in bch2_fs_freespace_init()
2427 dev_reserve += ca->mi.nbuckets >> 6; /* copygc reserve */ in bch2_recalc_capacity()
2435 capacity += bucket_to_sector(ca, ca->mi.nbuckets - in bch2_recalc_capacity()
2466 ret = min(ret, ca->mi.nbuckets * ca->mi.bucket_size); in bch2_min_rw_member_capacity()