Lines Matching refs:minor_version
167 __le16 minor_version; member
668 int orig_minor = crypt_ftr->minor_version; in upgrade_crypt_ftr()
670 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 0)) { in upgrade_crypt_ftr()
700 crypt_ftr->minor_version = 1; in upgrade_crypt_ftr()
704 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 1)) { in upgrade_crypt_ftr()
711 crypt_ftr->minor_version = 2; in upgrade_crypt_ftr()
714 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 2)) { in upgrade_crypt_ftr()
717 crypt_ftr->minor_version = 3; in upgrade_crypt_ftr()
720 if ((orig_major != crypt_ftr->major_version) || (orig_minor != crypt_ftr->minor_version)) { in upgrade_crypt_ftr()
791 if (crypt_ftr->minor_version > CURRENT_MINOR_VERSION) { in get_crypt_ftr_and_key()
793 crypt_ftr->minor_version, CURRENT_MINOR_VERSION); in get_crypt_ftr_and_key()
799 if (crypt_ftr->minor_version < CURRENT_MINOR_VERSION) { in get_crypt_ftr_and_key()
865 (crypt_ftr.major_version == 1 && crypt_ftr.minor_version < 1)) { in load_persistent_data()
943 (crypt_ftr.major_version == 1 && crypt_ftr.minor_version < 1)) { in save_persistent_data()
2025 ftr->minor_version = CURRENT_MINOR_VERSION; in cryptfs_init_crypt_mnt_ftr()