Lines Matching refs:blk_device
99 static bool mount_via_fs_mgr(const char* mount_point, const char* blk_device, bool needs_encrypt) { in mount_via_fs_mgr() argument
106 auto mount_rc = fs_mgr_do_mount(&fstab_default, mount_point, blk_device, in mount_via_fs_mgr()
155 static bool create_crypto_blk_dev(const std::string& dm_name, const std::string& blk_device, in create_crypto_blk_dev() argument
158 if (!get_number_of_sectors(blk_device, nr_sec)) return false; in create_crypto_blk_dev()
181 hex_key, blk_device, 0); in create_crypto_blk_dev()
290 bool fscrypt_mount_metadata_encrypted(const std::string& blk_device, const std::string& mount_point, in fscrypt_mount_metadata_encrypted() argument
297 << fs_type << " block device: " << blk_device << " with zoned " << is_zoned in fscrypt_mount_metadata_encrypted()
355 if (!create_crypto_blk_dev(kDmNameUserdata, blk_device, key, options, &crypto_blkdev, &nr_sec, in fscrypt_mount_metadata_encrypted()
406 if (!encrypt_inplace(crypto_blkdev, blk_device, nr_sec)) { in fscrypt_mount_metadata_encrypted()
436 bool defaultkey_setup_ext_volume(const std::string& label, const std::string& blk_device, in defaultkey_setup_ext_volume() argument
438 LOG(DEBUG) << "defaultkey_setup_ext_volume: " << label << " " << blk_device; in defaultkey_setup_ext_volume()
443 return create_crypto_blk_dev(label, blk_device, key, options, out_crypto_blkdev, &nr_sec, in defaultkey_setup_ext_volume()