Home
last modified time | relevance | path

Searched refs:btree_bitmap_shift (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dsb-members.c166 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()
[all …]
Dsb-members.h337 .btree_bitmap_shift = mi->btree_bitmap_shift, in bch2_mi_to_cpu()
351 if (end > 64ULL << ca->mi.btree_bitmap_shift) in bch2_dev_btree_bitmap_marked_sectors()
354 for (unsigned bit = start >> ca->mi.btree_bitmap_shift; in bch2_dev_btree_bitmap_marked_sectors()
355 (u64) bit << ca->mi.btree_bitmap_shift < end; in bch2_dev_btree_bitmap_marked_sectors()
Dsb-members_types.h17 u8 btree_bitmap_shift; member
Dsb-members_format.h48 __u8 btree_bitmap_shift; member
Dalloc_foreground.c426 bucket_to_sector(ca, bucket) > 64ULL << ca->mi.btree_bitmap_shift) in bch2_bucket_alloc_early()
431 1ULL << ca->mi.btree_bitmap_shift)); in bch2_bucket_alloc_early()
510 bucket_to_sector(ca, bucket) > 64ULL << ca->mi.btree_bitmap_shift) in bch2_bucket_alloc_freelist()
515 1ULL << ca->mi.btree_bitmap_shift)); in bch2_bucket_alloc_freelist()