Home
last modified time | relevance | path

Searched refs:CRYPT_PERSIST_DATA_SIZE (Results 1 – 2 of 2) sorted by relevance

/system/vold/
Dcryptfs.h38 #define CRYPT_PERSIST_DATA_SIZE 0x1000 macro
Dcryptfs.cpp450 pdata = (crypt_persist_data *)malloc(CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
455 memset(pdata, 0, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
464 unix_write(fd, pdata, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
467 init_empty_persist_data(pdata, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
468 unix_write(fd, pdata, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
471 crypt_ftr->persist_data_size = CRYPT_PERSIST_DATA_SIZE; in upgrade_crypt_ftr()
473 crypt_ftr->persist_data_offset[1] = pdata_offset + CRYPT_PERSIST_DATA_SIZE; in upgrade_crypt_ftr()
618 pdata = (crypt_persist_data*)malloc(CRYPT_PERSIST_DATA_SIZE); in load_persistent_data()
620 init_empty_persist_data(pdata, CRYPT_PERSIST_DATA_SIZE); in load_persistent_data()
1901 ftr->persist_data_size = CRYPT_PERSIST_DATA_SIZE; in cryptfs_init_crypt_mnt_ftr()
[all …]