Searched refs:persist_data_offset (Results 1 – 2 of 2) sorted by relevance
718 crypt_ftr->persist_data_offset[0] = pdata_offset; in upgrade_crypt_ftr()719 crypt_ftr->persist_data_offset[1] = pdata_offset + CRYPT_PERSIST_DATA_SIZE; in upgrade_crypt_ftr()823 if (crypt_ftr->persist_data_offset[0] + crypt_ftr->persist_data_size > in validate_persistent_data_storage()824 crypt_ftr->persist_data_offset[1]) { in validate_persistent_data_storage()829 if (crypt_ftr->persist_data_offset[0] >= crypt_ftr->persist_data_offset[1]) { in validate_persistent_data_storage()834 if (((crypt_ftr->persist_data_offset[1] + crypt_ftr->persist_data_size) - in validate_persistent_data_storage()835 (crypt_ftr->persist_data_offset[0] - CRYPT_FOOTER_TO_PERSIST_OFFSET)) > in validate_persistent_data_storage()905 if (lseek64(fd, crypt_ftr.persist_data_offset[i], SEEK_SET) < 0) { in load_persistent_data()983 if (lseek64(fd, crypt_ftr.persist_data_offset[0], SEEK_SET) < 0) { in save_persistent_data()996 write_offset = crypt_ftr.persist_data_offset[1]; in save_persistent_data()[all …]
113 __le64 persist_data_offset[2]; /* Absolute offset to both copies of crypt_persist_data member