Lines Matching refs:crypto_blkdev
1555 char crypto_blkdev[MAXPATHLEN]; in cryptfs_restart_internal() local
1614 property_get("ro.crypto.fs_crypto_blkdev", crypto_blkdev, ""); in cryptfs_restart_internal()
1615 if (strlen(crypto_blkdev) == 0) { in cryptfs_restart_internal()
1647 while ((mount_rc = fs_mgr_do_mount(&fstab_default, DATA_MNT_POINT, crypto_blkdev, 0, in cryptfs_restart_internal()
1653 SLOGI("Failed to mount %s because it is busy - waiting", crypto_blkdev); in cryptfs_restart_internal()
1765 char crypto_blkdev[MAXPATHLEN]; in test_mount_encrypted_fs() local
1794 if (create_crypto_blk_dev(crypt_ftr, decrypted_master_key, real_blkdev.c_str(), crypto_blkdev, in test_mount_encrypted_fs()
1818 if (fs_mgr_do_mount(&fstab_default, DATA_MNT_POINT, crypto_blkdev, tmp_mount_point)) { in test_mount_encrypted_fs()
1840 property_set("ro.crypto.fs_crypto_blkdev", crypto_blkdev); in test_mount_encrypted_fs()
2119 static int cryptfs_enable_all_volumes(struct crypt_mnt_ftr* crypt_ftr, char* crypto_blkdev, in cryptfs_enable_all_volumes() argument
2127 … rc = cryptfs_enable_inplace(crypto_blkdev, real_blkdev, crypt_ftr->fs_size, &cur_encryption_done, in cryptfs_enable_all_volumes()
2155 char crypto_blkdev[MAXPATHLEN]; in cryptfs_enable_internal() local
2362 create_crypto_blk_dev(&crypt_ftr, decrypted_master_key, real_blkdev.c_str(), crypto_blkdev, in cryptfs_enable_internal()
2369 rc = cryptfs_SHA256_fileblock(crypto_blkdev, hash_first_block); in cryptfs_enable_internal()
2379 rc = cryptfs_enable_all_volumes(&crypt_ftr, crypto_blkdev, real_blkdev.data(), in cryptfs_enable_internal()
2385 rc = cryptfs_SHA256_fileblock(crypto_blkdev, crypt_ftr.hash_first_block); in cryptfs_enable_internal()