Searched refs:bch2_metadata_versions (Results 1 – 1 of 1) sorted by relevance
35 static const struct bch2_metadata_version bch2_metadata_versions[] = { variable48 for (unsigned i = 0; i < ARRAY_SIZE(bch2_metadata_versions); i++) in bch2_version_to_text()49 if (bch2_metadata_versions[i].version == v) { in bch2_version_to_text()50 str = bch2_metadata_versions[i].name; in bch2_version_to_text()62 for (unsigned i = 0; i < ARRAY_SIZE(bch2_metadata_versions); i++) in bch2_latest_compatible_version()63 if (bch2_metadata_versions[i].version > v && in bch2_latest_compatible_version()64 BCH_VERSION_MAJOR(bch2_metadata_versions[i].version) == in bch2_latest_compatible_version()66 v = bch2_metadata_versions[i].version; in bch2_latest_compatible_version()