Lines Matching refs:nbuckets
620 b < min_t(u64, ca->mi.nbuckets, end); in bch2_alloc_read()
643 if (k.k->p.offset >= ca->mi.nbuckets) { in bch2_alloc_read()
1091 if (bucket->offset < (*ca)->mi.nbuckets) in next_bucket()
1135 if (k.k->p.offset > (*ca)->mi.nbuckets) in bch2_get_key_or_real_bucket_hole()
1136 bch2_key_resize(hole, (*ca)->mi.nbuckets - hole_start.offset); in bch2_get_key_or_real_bucket_hole()
1513 start >= ca->mi.nbuckets, in bch2_check_bucket_gens_key()
1529 for (b = ca->mi.nbuckets; b < end; b++) in bch2_check_bucket_gens_key()
2306 BUG_ON(bucket_end > ca->mi.nbuckets); in bch2_dev_freespace_init()
2318 __func__, iter.pos.offset, ca->mi.nbuckets); in bch2_dev_freespace_init()
2412 ret = bch2_dev_freespace_init(c, ca, 0, ca->mi.nbuckets); in bch2_fs_freespace_init()
2535 dev_reserve += ca->mi.nbuckets >> 6; /* copygc reserve */ in bch2_recalc_capacity()
2543 capacity += bucket_to_sector(ca, ca->mi.nbuckets - in bch2_recalc_capacity()
2574 ret = min(ret, ca->mi.nbuckets * ca->mi.bucket_size); in bch2_min_rw_member_capacity()