Lines Matching full:ext

48 		bch2_sb_field_get(c->disk_sb.sb, ext)->btrees_lost_data |= cpu_to_le64(b);  in bch2_btree_lost_data()
61 struct bch_sb_field_ext *ext = bch2_sb_field_get(c->disk_sb.sb, ext); in bch2_reconstruct_alloc() local
63 __set_bit_le64(BCH_RECOVERY_PASS_STABLE_check_allocations, ext->recovery_passes_required); in bch2_reconstruct_alloc()
64 __set_bit_le64(BCH_RECOVERY_PASS_STABLE_check_alloc_info, ext->recovery_passes_required); in bch2_reconstruct_alloc()
65 __set_bit_le64(BCH_RECOVERY_PASS_STABLE_check_lrus, ext->recovery_passes_required); in bch2_reconstruct_alloc()
66 …__set_bit_le64(BCH_RECOVERY_PASS_STABLE_check_extents_to_backpointers, ext->recovery_passes_requir… in bch2_reconstruct_alloc()
67 __set_bit_le64(BCH_RECOVERY_PASS_STABLE_check_alloc_to_lru_refs, ext->recovery_passes_required); in bch2_reconstruct_alloc()
69 __set_bit_le64(BCH_FSCK_ERR_ptr_to_missing_alloc_key, ext->errors_silent); in bch2_reconstruct_alloc()
70 __set_bit_le64(BCH_FSCK_ERR_ptr_gen_newer_than_bucket_gen, ext->errors_silent); in bch2_reconstruct_alloc()
71 __set_bit_le64(BCH_FSCK_ERR_stale_dirty_ptr, ext->errors_silent); in bch2_reconstruct_alloc()
73 __set_bit_le64(BCH_FSCK_ERR_dev_usage_buckets_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
74 __set_bit_le64(BCH_FSCK_ERR_dev_usage_sectors_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
75 __set_bit_le64(BCH_FSCK_ERR_dev_usage_fragmented_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
77 __set_bit_le64(BCH_FSCK_ERR_fs_usage_btree_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
78 __set_bit_le64(BCH_FSCK_ERR_fs_usage_cached_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
79 __set_bit_le64(BCH_FSCK_ERR_fs_usage_persistent_reserved_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
80 __set_bit_le64(BCH_FSCK_ERR_fs_usage_replicas_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
82 __set_bit_le64(BCH_FSCK_ERR_alloc_key_data_type_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
83 __set_bit_le64(BCH_FSCK_ERR_alloc_key_gen_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
84 __set_bit_le64(BCH_FSCK_ERR_alloc_key_dirty_sectors_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
85 __set_bit_le64(BCH_FSCK_ERR_alloc_key_cached_sectors_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
86 __set_bit_le64(BCH_FSCK_ERR_alloc_key_stripe_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
87 __set_bit_le64(BCH_FSCK_ERR_alloc_key_stripe_redundancy_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
88 __set_bit_le64(BCH_FSCK_ERR_need_discard_key_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
89 __set_bit_le64(BCH_FSCK_ERR_freespace_key_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
90 __set_bit_le64(BCH_FSCK_ERR_bucket_gens_key_wrong, ext->errors_silent); in bch2_reconstruct_alloc()
91 __set_bit_le64(BCH_FSCK_ERR_freespace_hole_missing, ext->errors_silent); in bch2_reconstruct_alloc()
92 __set_bit_le64(BCH_FSCK_ERR_ptr_to_missing_backpointer, ext->errors_silent); in bch2_reconstruct_alloc()
93 __set_bit_le64(BCH_FSCK_ERR_lru_entry_bad, ext->errors_silent); in bch2_reconstruct_alloc()
94 __set_bit_le64(BCH_FSCK_ERR_accounting_mismatch, ext->errors_silent); in bch2_reconstruct_alloc()
97 …c->opts.recovery_passes |= bch2_recovery_passes_from_stable(le64_to_cpu(ext->recovery_passes_requi… in bch2_reconstruct_alloc()
609 struct bch_sb_field_ext *ext = bch2_sb_field_get(c->disk_sb.sb, ext); in check_version_upgrade() local
610 __le64 passes = ext->recovery_passes_required[0]; in check_version_upgrade()
612 passes = ext->recovery_passes_required[0] & ~passes; in check_version_upgrade()
667 struct bch_sb_field_ext *ext = bch2_sb_field_get(c->disk_sb.sb, ext); in bch2_fs_recovery() local
671 ext->recovery_passes_required[0] |= in bch2_fs_recovery()
676 u64 sb_passes = bch2_recovery_passes_from_stable(le64_to_cpu(ext->recovery_passes_required[0])); in bch2_fs_recovery()
690 __le64 passes = ext->recovery_passes_required[0]; in bch2_fs_recovery()
694 passes = ext->recovery_passes_required[0] & ~passes; in bch2_fs_recovery()
709 …c->opts.recovery_passes |= bch2_recovery_passes_from_stable(le64_to_cpu(ext->recovery_passes_requi… in bch2_fs_recovery()
919 ext = bch2_sb_field_get(c->disk_sb.sb, ext); in bch2_fs_recovery()
934 !bch2_is_zero(ext->errors_silent, sizeof(ext->errors_silent))) { in bch2_fs_recovery()
935 memset(ext->errors_silent, 0, sizeof(ext->errors_silent)); in bch2_fs_recovery()
942 ext->btrees_lost_data) { in bch2_fs_recovery()
943 ext->btrees_lost_data = 0; in bch2_fs_recovery()