Home
last modified time | relevance | path

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

/system/vold/
DEncryptInplace.cpp249 off64_t size, off64_t* size_already_done, off64_t tot_size, in cryptfs_enable_inplace_ext4() argument
258 if (previously_encrypted_upto > *size_already_done) { in cryptfs_enable_inplace_ext4()
304 data.blocks_already_done = *size_already_done / CRYPT_SECTORS_PER_BUFSIZE; in cryptfs_enable_inplace_ext4()
329 *size_already_done += data.completed ? size : data.last_written_sector; in cryptfs_enable_inplace_ext4()
388 off64_t size, off64_t* size_already_done, off64_t tot_size, in cryptfs_enable_inplace_f2fs() argument
396 if (previously_encrypted_upto > *size_already_done) { in cryptfs_enable_inplace_f2fs()
422 data.blocks_already_done = *size_already_done / CRYPT_SECTORS_PER_BUFSIZE; in cryptfs_enable_inplace_f2fs()
453 *size_already_done += size; in cryptfs_enable_inplace_f2fs()
469 off64_t size, off64_t* size_already_done, off64_t tot_size, in cryptfs_enable_inplace_full() argument
498 blocks_already_done = *size_already_done / CRYPT_SECTORS_PER_BUFSIZE; in cryptfs_enable_inplace_full()
[all …]
DEncryptInplace.h33 off64_t* size_already_done, off64_t tot_size,
DMetadataCrypt.cpp324 off64_t size_already_done = 0; in fscrypt_mount_metadata_encrypted() local
326 &size_already_done, nr_sec, 0, false); in fscrypt_mount_metadata_encrypted()
331 if (static_cast<uint64_t>(size_already_done) != nr_sec) { in fscrypt_mount_metadata_encrypted()
332 LOG(ERROR) << "Inplace crypto only got up to sector: " << size_already_done; in fscrypt_mount_metadata_encrypted()