Home
last modified time | relevance | path

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

/system/vold/
DEncryptInplace.cpp59 int realfd; member
151 if (pread64(data->realfd, data->buffer, info.block_size * data->count, data->offset) <= 0) { in flush_outstanding_data()
197 ret = pread64(data->realfd, block_bitmap, info.block_size, offset); in encrypt_groups()
269 if ((data.realfd = open(real_blkdev, O_RDWR | O_CLOEXEC)) < 0) { in cryptfs_enable_inplace_ext4()
296 if (read_ext(data.realfd, 0) != 0) { in cryptfs_enable_inplace_ext4()
333 close(data.realfd); in cryptfs_enable_inplace_ext4()
370 if (pread64(priv_dat->realfd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) { in encrypt_one_block_f2fs()
404 data.realfd = -1; in cryptfs_enable_inplace_f2fs()
406 if ((data.realfd = open64(real_blkdev, O_RDWR | O_CLOEXEC)) < 0) { in cryptfs_enable_inplace_f2fs()
417 f2fs_info = generate_f2fs_info(data.realfd); in cryptfs_enable_inplace_f2fs()
[all …]