Searched defs:real_blkdev (Results 1 - 3 of 3) sorted by relevance

/system/vold/
H A DMetadataCrypt.cpp100 static KeyBuffer default_key_params(const std::string& real_blkdev, const KeyBuffer& key) { argument
106 auto res = KeyBuffer() + "AES-256-XTS " + hex_key + " " + real_blkdev.c_str() + " 0";
111 static bool get_number_of_sectors(const std::string& real_blkdev, uint64_t *nr_sec) { argument
113 real_blkdev.c_str(), O_RDONLY | O_CLOEXEC, 0)));
115 PLOG(ERROR) << "Unable to open " << real_blkdev << " to measure size";
122 PLOG(ERROR) << "Unable to measure size of " << real_blkdev;
H A DEncryptInplace.cpp71 char* real_blkdev, * crypto_blkdev; member in struct:encryptGroupsData
163 SLOGE("Error reading real_blkdev %s for inplace encrypt",
164 data->real_blkdev);
272 char *real_blkdev,
290 data.real_blkdev = real_blkdev;
293 if ( (data.realfd = open(real_blkdev, O_RDWR|O_CLOEXEC)) < 0) {
294 SLOGE("Error opening real_blkdev %s for inplace encrypt. err=%d(%s)\n",
295 real_blkdev, errno, strerror(errno));
397 SLOGE("Error reading real_blkdev
271 cryptfs_enable_inplace_ext4(char *crypto_blkdev, char *real_blkdev, off64_t size, off64_t *size_already_done, off64_t tot_size, off64_t previously_encrypted_upto) argument
411 cryptfs_enable_inplace_f2fs(char *crypto_blkdev, char *real_blkdev, off64_t size, off64_t *size_already_done, off64_t tot_size, off64_t previously_encrypted_upto) argument
490 cryptfs_enable_inplace_full(char *crypto_blkdev, char *real_blkdev, off64_t size, off64_t *size_already_done, off64_t tot_size, off64_t previously_encrypted_upto) argument
611 cryptfs_enable_inplace(char *crypto_blkdev, char *real_blkdev, off64_t size, off64_t *size_already_done, off64_t tot_size, off64_t previously_encrypted_upto) argument
[all...]
H A Dcryptfs.cpp295 char real_blkdev[PROPERTY_VALUE_MAX]; local
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]; local
1589 fs_mgr_get_crypt_info(fstab, 0, real_blkdev, sizeof(real_blkdev));
1594 real_blkdev, crypto_blkde
1701 cryptfs_setup_ext_volume(const char* label, const char* real_blkdev, const unsigned char* key, int keysize, char* out_crypto_blkdev) argument
2020 cryptfs_enable_all_volumes(struct crypt_mnt_ftr *crypt_ftr, int how, char *crypto_blkdev, char *real_blkdev, int previously_encrypted_upto) argument
2077 char crypto_blkdev[MAXPATHLEN], real_blkdev[MAXPATHLEN]; local
[all...]

Completed in 64 milliseconds