/system/core/fs_mgr/libdm/ |
D | dm.cpp | 48 DeviceMapper::DeviceMapper() : fd_(-1) { in DeviceMapper() function in android::dm::DeviceMapper 55 DeviceMapper& DeviceMapper::Instance() { in Instance() 56 static DeviceMapper instance; in Instance() 61 bool DeviceMapper::CreateDevice(const std::string& name, const std::string& uuid) { in CreateDevice() 91 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() 99 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() 103 bool DeviceMapper::DeleteDevice(const std::string& name, in DeleteDevice() 137 bool DeviceMapper::DeleteDevice(const std::string& name) { in DeleteDevice() 141 bool DeviceMapper::DeleteDeviceDeferred(const std::string& name) { in DeleteDeviceDeferred() 153 bool DeviceMapper::DeleteDeviceIfExistsDeferred(const std::string& name) { in DeleteDeviceIfExistsDeferred() [all …]
|
D | dm_test.cpp | 62 auto& dm = DeviceMapper::Instance(); in TearDown() 75 DeviceMapper& dm = DeviceMapper::Instance(); in TEST_F() 108 auto& dm = DeviceMapper::Instance(); in TEST_F() 134 vector<DeviceMapper::TargetInfo> targets; in TEST_F() 147 EXPECT_EQ(DeviceMapper::GetTargetType(targets[0].spec), std::string{"linear"}); in TEST_F() 148 EXPECT_EQ(DeviceMapper::GetTargetType(targets[1].spec), std::string{"linear"}); in TEST_F() 171 auto& dm = DeviceMapper::Instance(); in TEST_F() 174 vector<DeviceMapper::TargetInfo> targets; in TEST_F() 316 DeviceMapper& dm = DeviceMapper::Instance(); in MergeImpl() 320 vector<DeviceMapper::TargetInfo> status; in MergeImpl() [all …]
|
D | test_util.h | 40 : dm_(DeviceMapper::Instance()), name_(name), valid_(false) { in TempDevice() 74 DeviceMapper& dm_;
|
D | dm_target.cpp | 184 DeviceMapper& dm = DeviceMapper::Instance(); in ReportsOverflow()
|
/system/core/fs_mgr/tools/ |
D | dmctl.cpp | 44 using DmBlockDevice = ::android::dm::DeviceMapper::DmBlockDevice; 265 DeviceMapper& dm = DeviceMapper::Instance(); in DmCreateCmdHandler() 288 DeviceMapper& dm = DeviceMapper::Instance(); in DmDeleteCmdHandler() 308 DeviceMapper& dm = DeviceMapper::Instance(); in DmReplaceCmdHandler() 320 static int DmListTargets(DeviceMapper& dm, [[maybe_unused]] int argc, in DmListTargets() 342 static int DmListDevices(DeviceMapper& dm, int argc, char** argv) { in DmListDevices() 359 std::vector<DeviceMapper::TargetInfo> table; in DmListDevices() 384 static const std::map<std::string, std::function<int(DeviceMapper&, int, char**)>> listmap = { 395 DeviceMapper& dm = DeviceMapper::Instance(); in DmListCmdHandler() 415 DeviceMapper& dm = DeviceMapper::Instance(); in GetPathCmdHandler() [all …]
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm.h | 86 class DeviceMapper final : public IDeviceMapper { 256 static DeviceMapper& Instance(); 258 ~DeviceMapper() { in ~DeviceMapper() 319 DeviceMapper(); 323 DeviceMapper(const DeviceMapper&) = delete; 324 DeviceMapper& operator=(const DeviceMapper&) = delete; 325 DeviceMapper& operator=(DeviceMapper&&) = delete; 326 DeviceMapper(DeviceMapper&&) = delete;
|
/system/core/fs_mgr/ |
D | fs_mgr_dm_linear.cpp | 49 using DeviceMapper = android::dm::DeviceMapper; typedef 243 DeviceMapper& dm = DeviceMapper::Instance(); in CreateLogicalPartition() 263 DeviceMapper& dm = DeviceMapper::Instance(); in UnmapDevice()
|
D | fs_mgr.cpp | 106 using android::dm::DeviceMapper; 675 DeviceMapper& dm = DeviceMapper::Instance(); in SetReadAheadSize() 1106 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_update_logical_partition() 1170 DeviceMapper& dm = DeviceMapper::Instance(); in Revert() 1232 DeviceMapper& dm = DeviceMapper::Instance(); in UpdateCheckpointPartition() 1304 DeviceMapper& dm = DeviceMapper::Instance(); in WrapUserdata() 1724 DeviceMapper& dm = DeviceMapper::Instance(); in UnwindDmDeviceStack() 1821 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_remount_userdata_into_checkpointing() 2176 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_is_verity_enabled() 2183 std::vector<DeviceMapper::TargetInfo> table; in fs_mgr_is_verity_enabled() [all …]
|
D | blockdev.cpp | 36 using android::dm::DeviceMapper; 99 auto& dm = DeviceMapper::Instance(); in BlockDeviceQueueDepth()
|
/system/core/fs_mgr/libfs_avb/ |
D | fs_avb_util.cpp | 53 dm::DeviceMapper& dm = dm::DeviceMapper::Instance(); in LoadAndVerifyVbmeta()
|
D | avb_ops.cpp | 160 dm::DeviceMapper& dm = dm::DeviceMapper::Instance(); in GetLogicalPath()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_test.cpp | 74 using android::dm::DeviceMapper; 108 SnapshotTest() : dm_(DeviceMapper::Instance()) {} in SnapshotTest() 250 DeviceMapper::TargetInfo target; in CleanupSnapshotArtifacts() 252 is_dm_user = (DeviceMapper::GetTargetType(target.spec) == "user"); in CleanupSnapshotArtifacts() 528 DeviceMapper& dm_; 660 DeviceMapper::TargetInfo target; in TEST_F() 663 ASSERT_EQ(DeviceMapper::GetTargetType(target.spec), "user"); in TEST_F() 665 ASSERT_EQ(DeviceMapper::GetTargetType(target.spec), "snapshot-merge"); in TEST_F() 714 DeviceMapper::TargetInfo target; in TEST_F() 717 ASSERT_EQ(DeviceMapper::GetTargetType(target.spec), "user"); in TEST_F() [all …]
|
D | utility.cpp | 32 using android::dm::DeviceMapper; 286 auto& dm = DeviceMapper::Instance(); in KernelSupportsCompressedSnapshots()
|
D | device_info.cpp | 143 return android::dm::DeviceMapper::Instance(); in GetDeviceMapper()
|
/system/vold/model/ |
D | PrivateVolume.cpp | 73 auto& dm = dm::DeviceMapper::Instance(); in doCreate() 101 auto& dm = dm::DeviceMapper::Instance(); in doDestroy()
|
/system/core/init/ |
D | mount_handler.cpp | 56 auto& dm = dm::DeviceMapper::Instance(); in ParseMount() 80 auto& dm = dm::DeviceMapper::Instance(); in GetDiskPart()
|
/system/core/fs_mgr/libfiemap/ |
D | image_manager.cpp | 42 using android::dm::DeviceMapper; 122 auto& dm = DeviceMapper::Instance(); in IsImageMapped() 421 auto& dm = DeviceMapper::Instance(); in MapWithLoopDeviceList() 577 auto& dm = DeviceMapper::Instance(); in MapImageWithDeviceMapper() 593 auto& dm = DeviceMapper::Instance(); in UnmapImageDevice() 717 auto& dm = DeviceMapper::Instance(); in GetMappedImageDevice()
|
D | fiemap_writer.cpp | 66 static bool ValidateDmTarget(const DeviceMapper::TargetInfo& target) { in ValidateDmTarget() 73 auto target_type = DeviceMapper::GetTargetType(entry); in ValidateDmTarget() 108 auto& dm = DeviceMapper::Instance(); in DeviceMapperStackPop() 109 std::vector<DeviceMapper::TargetInfo> table; in DeviceMapperStackPop()
|
D | image_test.cpp | 228 auto& dm = DeviceMapper::Instance(); in SetUp() 253 auto& dm = DeviceMapper::Instance(); in TearDown()
|
/system/vold/ |
D | cryptfs.cpp | 135 auto& dm = DeviceMapper::Instance(); in cryptfs_setup_ext_volume()
|
D | MetadataCrypt.cpp | 87 auto& dm = DeviceMapper::Instance(); in defaultkey_precreate_dm_device() 190 auto& dm = DeviceMapper::Instance(); in create_crypto_blk_dev()
|
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
D | test_helpers.h | 106 return android::dm::DeviceMapper::Instance(); in GetDeviceMapper() 136 DeviceMapperWrapper() : impl_(android::dm::DeviceMapper::Instance()) {} in DeviceMapperWrapper()
|
/system/apex/apexd/ |
D | apexd_test_utils.h | 412 using android::dm::DeviceMapper; in ListChildLoopDevices() 414 DeviceMapper& dm = DeviceMapper::Instance(); in ListChildLoopDevices()
|
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/ |
D | cow_snapuserd_test.cpp | 57 : dm_(DeviceMapper::Instance()), name_(name), valid_(false) { in TempDevice() 91 DeviceMapper& dm_; 802 DeviceMapper& dm = DeviceMapper::Instance(); in StartMerge() 808 DeviceMapper& dm = DeviceMapper::Instance(); in MergeImpl() 811 vector<DeviceMapper::TargetInfo> status; in MergeImpl()
|
/system/core/fs_mgr/tests/ |
D | vts_fs_test.cpp | 76 auto& dm = android::dm::DeviceMapper::Instance(); in TEST()
|