Lines Matching refs:disk_sb
41 le16_to_cpu(c->disk_sb.sb->version), in bch2_sb_clean_validate_late()
42 BCH_SB_BIG_ENDIAN(c->disk_sb.sb), in bch2_sb_clean_validate_late()
150 sb_clean = bch2_sb_field_get(c->disk_sb.sb, clean); in bch2_read_superblock_clean()
155 SET_BCH_SB_CLEAN(c->disk_sb.sb, false); in bch2_read_superblock_clean()
272 SET_BCH_SB_CLEAN(c->disk_sb.sb, false); in bch2_fs_mark_dirty()
273 c->disk_sb.sb->features[0] |= cpu_to_le64(BCH_SB_FEATURES_ALWAYS); in bch2_fs_mark_dirty()
289 if (BCH_SB_CLEAN(c->disk_sb.sb)) in bch2_fs_mark_clean()
292 SET_BCH_SB_CLEAN(c->disk_sb.sb, true); in bch2_fs_mark_clean()
294 c->disk_sb.sb->compat[0] |= cpu_to_le64(1ULL << BCH_COMPAT_alloc_info); in bch2_fs_mark_clean()
295 c->disk_sb.sb->compat[0] |= cpu_to_le64(1ULL << BCH_COMPAT_alloc_metadata); in bch2_fs_mark_clean()
296 c->disk_sb.sb->features[0] &= cpu_to_le64(~(1ULL << BCH_FEATURE_extents_above_btree_updates)); in bch2_fs_mark_clean()
297 c->disk_sb.sb->features[0] &= cpu_to_le64(~(1ULL << BCH_FEATURE_btree_updates_journalled)); in bch2_fs_mark_clean()
301 sb_clean = bch2_sb_field_resize(&c->disk_sb, clean, u64s); in bch2_fs_mark_clean()