Home
last modified time | relevance | path

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

/system/vold/
DEncryptInplace.cpp363 struct encryptGroupsData* priv_dat = (struct encryptGroupsData*)data; in encrypt_one_block_f2fs() local
365 priv_dat->blocks_already_done = pos - 1; in encrypt_one_block_f2fs()
366 update_progress(priv_dat, 1); in encrypt_one_block_f2fs()
370 if (pread64(priv_dat->realfd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) { in encrypt_one_block_f2fs()
371 LOG(ERROR) << "Error reading real_blkdev " << priv_dat->crypto_blkdev in encrypt_one_block_f2fs()
376 if (pwrite64(priv_dat->cryptofd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) { in encrypt_one_block_f2fs()
377 LOG(ERROR) << "Error writing crypto_blkdev " << priv_dat->crypto_blkdev in encrypt_one_block_f2fs()