Searched refs:BCH_VERSION_MAJOR (Results 1 – 7 of 7) sorted by relevance
285 if (BCH_VERSION_MAJOR(le16_to_cpu(i->version)) != in bch2_sb_downgrade_validate()286 BCH_VERSION_MAJOR(le16_to_cpu(sb->version))) { in bch2_sb_downgrade_validate()288 BCH_VERSION_MAJOR(le16_to_cpu(i->version)), in bch2_sb_downgrade_validate()289 BCH_VERSION_MAJOR(le16_to_cpu(sb->version))); in bch2_sb_downgrade_validate()343 if (BCH_VERSION_MAJOR(src->version) != BCH_VERSION_MAJOR(le16_to_cpu(c->disk_sb.sb->version))) in bch2_sb_downgrade_update()
15 return BCH_VERSION_MAJOR(version) <= BCH_VERSION_MAJOR(bcachefs_metadata_version_current) && in bch2_version_compatible()
54 prt_printf(out, "%u.%u: %s", BCH_VERSION_MAJOR(v), BCH_VERSION_MINOR(v), str); in bch2_version_to_text()59 if (!BCH_VERSION_MAJOR(v)) in bch2_latest_compatible_version()64 BCH_VERSION_MAJOR(bch2_metadata_versions[i].version) == in bch2_latest_compatible_version()65 BCH_VERSION_MAJOR(v)) in bch2_latest_compatible_version()1164 if (BCH_VERSION_MAJOR(new_version) > in bch2_sb_upgrade()1165 BCH_VERSION_MAJOR(le16_to_cpu(c->disk_sb.sb->version))) in bch2_sb_upgrade()
602 BCH_VERSION_MAJOR(old_version) != BCH_VERSION_MAJOR(new_version) in check_version_upgrade()
696 BCH_VERSION_MAJOR(version), in validate_bset()711 if (btree_err_on(BCH_VERSION_MAJOR(version) > in validate_bset()712 BCH_VERSION_MAJOR(c->sb.version), in validate_bset()
891 BCH_VERSION_MAJOR(version), in jset_validate()944 BCH_VERSION_MAJOR(version), in jset_validate_early()
639 #define BCH_VERSION_MAJOR(_v) ((__u16) ((_v) >> 10)) macro