Lines Matching refs:btree_bitmap_shift
166 if (m.btree_bitmap_shift >= BCH_MI_BTREE_BITMAP_SHIFT_MAX) { in validate_member()
167 prt_printf(err, "device %u: invalid btree_bitmap_shift %u", i, m.btree_bitmap_shift); in validate_member()
255 if (m.btree_bitmap_shift < 64) in member_to_text()
256 prt_units_u64(out, 1ULL << m.btree_bitmap_shift); in member_to_text()
258 prt_printf(out, "(invalid shift %u)", m.btree_bitmap_shift); in member_to_text()
442 int resize = ilog2(roundup_pow_of_two(end)) - (m->btree_bitmap_shift + 6); in __bch2_dev_btree_bitmap_mark()
450 m->btree_bitmap_shift += resize; in __bch2_dev_btree_bitmap_mark()
453 BUG_ON(m->btree_bitmap_shift >= BCH_MI_BTREE_BITMAP_SHIFT_MAX); in __bch2_dev_btree_bitmap_mark()
454 BUG_ON(end > 64ULL << m->btree_bitmap_shift); in __bch2_dev_btree_bitmap_mark()
456 for (unsigned bit = start >> m->btree_bitmap_shift; in __bch2_dev_btree_bitmap_mark()
457 (u64) bit << m->btree_bitmap_shift < end; in __bch2_dev_btree_bitmap_mark()