Lines Matching refs:major_version
166 __le16 major_version; member
667 int orig_major = crypt_ftr->major_version; in upgrade_crypt_ftr()
670 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 0)) { in upgrade_crypt_ftr()
704 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 1)) { in upgrade_crypt_ftr()
714 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 2)) { in upgrade_crypt_ftr()
720 if ((orig_major != crypt_ftr->major_version) || (orig_minor != crypt_ftr->minor_version)) { in upgrade_crypt_ftr()
773 if (crypt_ftr->major_version != CURRENT_MAJOR_VERSION) { in get_crypt_ftr_and_key()
775 crypt_ftr->major_version, CURRENT_MAJOR_VERSION); in get_crypt_ftr_and_key()
864 if ((crypt_ftr.major_version < 1) || in load_persistent_data()
865 (crypt_ftr.major_version == 1 && crypt_ftr.minor_version < 1)) { in load_persistent_data()
942 if ((crypt_ftr.major_version < 1) || in save_persistent_data()
943 (crypt_ftr.major_version == 1 && crypt_ftr.minor_version < 1)) { in save_persistent_data()
2024 ftr->major_version = CURRENT_MAJOR_VERSION; in cryptfs_init_crypt_mnt_ftr()