Lines Matching refs:blk_device
89 static bool mount_via_fs_mgr(const char* mount_point, const char* blk_device) { in mount_via_fs_mgr() argument
101 const_cast<char*>(blk_device), nullptr, in mount_via_fs_mgr()
183 static bool create_crypto_blk_dev(const std::string& dm_name, const std::string& blk_device, in create_crypto_blk_dev() argument
186 if (!get_number_of_sectors(blk_device, nr_sec)) return false; in create_crypto_blk_dev()
209 hex_key, blk_device, 0); in create_crypto_blk_dev()
271 bool fscrypt_mount_metadata_encrypted(const std::string& blk_device, const std::string& mount_point, in fscrypt_mount_metadata_encrypted() argument
318 if (!create_crypto_blk_dev(kDmNameUserdata, blk_device, key, options, &crypto_blkdev, &nr_sec)) in fscrypt_mount_metadata_encrypted()
325 auto rc = cryptfs_enable_inplace(crypto_blkdev.data(), blk_device.data(), nr_sec, in fscrypt_mount_metadata_encrypted()
360 bool defaultkey_setup_ext_volume(const std::string& label, const std::string& blk_device, in defaultkey_setup_ext_volume() argument
362 LOG(DEBUG) << "defaultkey_setup_ext_volume: " << label << " " << blk_device; in defaultkey_setup_ext_volume()
367 return create_crypto_blk_dev(label, blk_device, key, options, out_crypto_blkdev, &nr_sec); in defaultkey_setup_ext_volume()