Searched refs:priv_dat (Results 1 – 1 of 1) sorted by relevance
2316 struct encryptGroupsData *priv_dat = (struct encryptGroupsData *)data; in encrypt_one_block_f2fs() local2318 priv_dat->blocks_already_done = pos - 1; in encrypt_one_block_f2fs()2319 update_progress(priv_dat, 1); in encrypt_one_block_f2fs()2323 if (pread64(priv_dat->realfd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) { in encrypt_one_block_f2fs()2324 SLOGE("Error reading real_blkdev %s for f2fs inplace encrypt", priv_dat->crypto_blkdev); in encrypt_one_block_f2fs()2328 if (pwrite64(priv_dat->cryptofd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) { in encrypt_one_block_f2fs()2329 SLOGE("Error writing crypto_blkdev %s for f2fs inplace encrypt", priv_dat->crypto_blkdev); in encrypt_one_block_f2fs()