Home
last modified time | relevance | path

Searched refs:persist_data_size (Results 1 – 3 of 3) sorted by relevance

/system/vold/
Dcryptfs.c711 crypt_ftr->persist_data_size = CRYPT_PERSIST_DATA_SIZE; in upgrade_crypt_ftr()
817 if (crypt_ftr->persist_data_offset[0] + crypt_ftr->persist_data_size > in validate_persistent_data_storage()
828 if (((crypt_ftr->persist_data_offset[1] + crypt_ftr->persist_data_size) - in validate_persistent_data_storage()
893 pdata = malloc(crypt_ftr.persist_data_size); in load_persistent_data()
905 if (unix_read(fd, pdata, crypt_ftr.persist_data_size) < 0){ in load_persistent_data()
917 init_empty_persist_data(pdata, crypt_ftr.persist_data_size); in load_persistent_data()
973 pdata = malloc(crypt_ftr.persist_data_size); in save_persistent_data()
984 if (unix_read(fd, pdata, crypt_ftr.persist_data_size) < 0) { in save_persistent_data()
1006 if (unix_write(fd, persist_data, crypt_ftr.persist_data_size) == in save_persistent_data()
1007 (int) crypt_ftr.persist_data_size) { in save_persistent_data()
[all …]
Dcryptfs.h110 __le32 persist_data_size; /* The number of bytes allocated to each copy of the member
DExt4Crypt.cpp198 ftr.persist_data_size = 0; in e4crypt_enable()