Searched refs:persist_data_size (Results 1 – 2 of 2) sorted by relevance
471 crypt_ftr->persist_data_size = CRYPT_PERSIST_DATA_SIZE; in upgrade_crypt_ftr()577 if (crypt_ftr->persist_data_offset[0] + crypt_ftr->persist_data_size > in validate_persistent_data_storage()588 if (((crypt_ftr->persist_data_offset[1] + crypt_ftr->persist_data_size) - in validate_persistent_data_storage()652 pdata = (crypt_persist_data*)malloc(crypt_ftr.persist_data_size); in load_persistent_data()663 if (unix_read(fd, pdata, crypt_ftr.persist_data_size) < 0){ in load_persistent_data()675 init_empty_persist_data(pdata, crypt_ftr.persist_data_size); in load_persistent_data()731 pdata = (crypt_persist_data*)malloc(crypt_ftr.persist_data_size); in save_persistent_data()742 if (unix_read(fd, pdata, crypt_ftr.persist_data_size) < 0) { in save_persistent_data()764 if (unix_write(fd, persist_data, crypt_ftr.persist_data_size) == in save_persistent_data()765 (int) crypt_ftr.persist_data_size) { in save_persistent_data()[all …]
117 __le32 persist_data_size; /* The number of bytes allocated to each copy of the member