Lines Matching defs:real_blkdev
295 char real_blkdev[PROPERTY_VALUE_MAX];
299 fs_mgr_get_crypt_info(fstab, key_loc, real_blkdev, sizeof(key_loc));
302 if ( (fd = open(real_blkdev, O_RDWR|O_CLOEXEC)) < 0) {
303 SLOGE("Cannot open real block device %s\n", real_blkdev);
314 strlcpy(cached_metadata_fname, real_blkdev, sizeof(cached_metadata_fname));
318 SLOGE("Cannot get size of block device %s\n", real_blkdev);
1565 char real_blkdev[MAXPATHLEN];
1589 fs_mgr_get_crypt_info(fstab, 0, real_blkdev, sizeof(real_blkdev));
1594 real_blkdev, crypto_blkdev, label)) {
1701 int cryptfs_setup_ext_volume(const char* label, const char* real_blkdev,
1703 int fd = open(real_blkdev, O_RDONLY|O_CLOEXEC);
1705 SLOGE("Failed to open %s: %s", real_blkdev, strerror(errno));
1714 SLOGE("Failed to get size of %s: %s", real_blkdev, strerror(errno));
1725 return create_crypto_blk_dev(&ext_crypt_ftr, key, real_blkdev,
2021 char *crypto_blkdev, char *real_blkdev,
2044 rc = cryptfs_enable_inplace(crypto_blkdev, real_blkdev,
2077 char crypto_blkdev[MAXPATHLEN], real_blkdev[MAXPATHLEN];
2137 fs_mgr_get_crypt_info(fstab, 0, real_blkdev, sizeof(real_blkdev));
2140 fd = open(real_blkdev, O_RDONLY|O_CLOEXEC);
2142 SLOGE("Cannot open block device %s\n", real_blkdev);
2148 SLOGE("Cannot get size of block device %s\n", real_blkdev);
2156 fs_size_sec = get_fs_size(real_blkdev);
2158 fs_size_sec = get_f2fs_filesystem_size_sec(real_blkdev);
2301 create_crypto_blk_dev(&crypt_ftr, decrypted_master_key, real_blkdev, crypto_blkdev,
2319 crypto_blkdev, real_blkdev,