/system/core/fs_mgr/libdm/ |
D | dm.cpp | 47 DeviceMapper::DeviceMapper() : fd_(-1) { in DeviceMapper() function in android::dm::DeviceMapper 54 DeviceMapper& DeviceMapper::Instance() { in Instance() 55 static DeviceMapper instance; in Instance() 60 bool DeviceMapper::CreateDevice(const std::string& name, const std::string& uuid) { in CreateDevice() 90 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() 98 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() 102 bool DeviceMapper::DeleteDevice(const std::string& name, in DeleteDevice() 136 bool DeviceMapper::DeleteDevice(const std::string& name) { in DeleteDevice() 140 bool DeviceMapper::DeleteDeviceDeferred(const std::string& name) { in DeleteDeviceDeferred() 152 bool DeviceMapper::DeleteDeviceIfExistsDeferred(const std::string& name) { in DeleteDeviceIfExistsDeferred() [all …]
|
D | dm_test.cpp | 49 DeviceMapper& dm = DeviceMapper::Instance(); in TEST() 82 auto& dm = DeviceMapper::Instance(); in TEST() 108 vector<DeviceMapper::TargetInfo> targets; in TEST() 121 EXPECT_EQ(DeviceMapper::GetTargetType(targets[0].spec), std::string{"linear"}); in TEST() 122 EXPECT_EQ(DeviceMapper::GetTargetType(targets[1].spec), std::string{"linear"}); in TEST() 145 auto& dm = DeviceMapper::Instance(); in TEST() 148 vector<DeviceMapper::TargetInfo> targets; in TEST() 290 DeviceMapper& dm = DeviceMapper::Instance(); in MergeImpl() 294 vector<DeviceMapper::TargetInfo> status; in MergeImpl() 316 DeviceMapper& dm = DeviceMapper::Instance(); in CheckSnapshotAvailability() [all …]
|
D | dm_linear_fuzzer.cpp | 107 auto& dm = DeviceMapper::Instance(); in LLVMFuzzerTestOneInput() 118 vector<DeviceMapper::TargetInfo> targets; in LLVMFuzzerTestOneInput() 131 EXPECT_EQ(DeviceMapper::GetTargetType(targets[0].spec), std::string{"linear"}); in LLVMFuzzerTestOneInput() 132 EXPECT_EQ(DeviceMapper::GetTargetType(targets[1].spec), std::string{"linear"}); in LLVMFuzzerTestOneInput()
|
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/libdm/include/libdm/ |
D | dm.h | 85 class DeviceMapper final : public IDeviceMapper { 249 static DeviceMapper& Instance(); 251 ~DeviceMapper() { in ~DeviceMapper() 304 DeviceMapper(); 308 DeviceMapper(const DeviceMapper&) = delete; 309 DeviceMapper& operator=(const DeviceMapper&) = delete; 310 DeviceMapper& operator=(DeviceMapper&&) = delete; 311 DeviceMapper(DeviceMapper&&) = delete;
|
/system/core/fs_mgr/tools/ |
D | dmctl.cpp | 43 using DmBlockDevice = ::android::dm::DeviceMapper::DmBlockDevice; 252 DeviceMapper& dm = DeviceMapper::Instance(); in DmCreateCmdHandler() 267 DeviceMapper& dm = DeviceMapper::Instance(); in DmDeleteCmdHandler() 289 DeviceMapper& dm = DeviceMapper::Instance(); in DmReplaceCmdHandler() 297 static int DmListTargets(DeviceMapper& dm, [[maybe_unused]] int argc, in DmListTargets() 319 static int DmListDevices(DeviceMapper& dm, int argc, char** argv) { in DmListDevices() 336 std::vector<DeviceMapper::TargetInfo> table; in DmListDevices() 361 static const std::map<std::string, std::function<int(DeviceMapper&, int, char**)>> listmap = { 372 DeviceMapper& dm = DeviceMapper::Instance(); in DmListCmdHandler() 392 DeviceMapper& dm = DeviceMapper::Instance(); in GetPathCmdHandler() [all …]
|
/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 | 107 using android::dm::DeviceMapper; 667 DeviceMapper& dm = DeviceMapper::Instance(); in SetReadAheadSize() 1065 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_update_logical_partition() 1129 DeviceMapper& dm = DeviceMapper::Instance(); in Revert() 1187 DeviceMapper& dm = DeviceMapper::Instance(); in UpdateCheckpointPartition() 1259 DeviceMapper& dm = DeviceMapper::Instance(); in WrapUserdata() 1679 DeviceMapper& dm = DeviceMapper::Instance(); in UnwindDmDeviceStack() 1776 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_remount_userdata_into_checkpointing() 2130 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_is_verity_enabled() 2137 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/libsnapshot/ |
D | snapshot_fuzz_utils.cpp | 55 using android::dm::DeviceMapper; 113 std::string GetLinearBaseDeviceString(const DeviceMapper::TargetInfo& target) { in GetLinearBaseDeviceString() 120 std::vector<std::string> GetSnapshotBaseDeviceStrings(const DeviceMapper::TargetInfo& target) { in GetSnapshotBaseDeviceStrings() 138 std::vector<DeviceMapper::TargetInfo> GetTableInfoIfExists(const std::string& dev_name) { in GetTableInfoIfExists() 139 auto& dm = DeviceMapper::Instance(); in GetTableInfoIfExists() 140 std::vector<DeviceMapper::TargetInfo> table; in GetTableInfoIfExists() 173 auto& dm = DeviceMapper::Instance(); in CheckDeleteDeviceMapperTree() 198 std::vector<DeviceMapper::DmBlockDevice> devices; in CheckDeleteDeviceMapperTree() 212 auto& dm = DeviceMapper::Instance(); in CheckCleanupDeviceMapperDevices() 213 std::vector<DeviceMapper::DmBlockDevice> devices; in CheckCleanupDeviceMapperDevices()
|
D | snapshot_test.cpp | 62 using android::dm::DeviceMapper; 98 SnapshotTest() : dm_(DeviceMapper::Instance()) {} in SnapshotTest() 173 DeviceMapper::TargetInfo target; in CleanupSnapshotArtifacts() 175 is_dm_user = (DeviceMapper::GetTargetType(target.spec) == "user"); in CleanupSnapshotArtifacts() 448 DeviceMapper& dm_; 578 DeviceMapper::TargetInfo target; in TEST_F() 581 ASSERT_EQ(DeviceMapper::GetTargetType(target.spec), "user"); in TEST_F() 583 ASSERT_EQ(DeviceMapper::GetTargetType(target.spec), "snapshot-merge"); in TEST_F() 632 DeviceMapper::TargetInfo target; in TEST_F() 635 ASSERT_EQ(DeviceMapper::GetTargetType(target.spec), "user"); in TEST_F() [all …]
|
D | power_test.cpp | 43 using android::dm::DeviceMapper; 100 DeviceMapper& dm_; 107 PowerTest::PowerTest() : dm_(DeviceMapper::Instance()) {} in PowerTest() 362 std::vector<DeviceMapper::TargetInfo> targets; in GetMergeStatus()
|
D | snapshot_fuzz_utils.h | 105 dm_(android::dm::DeviceMapper::Instance()) {} in SnapshotFuzzDeviceInfo() 142 android::dm::DeviceMapper& dm_;
|
D | device_info.cpp | 143 return android::dm::DeviceMapper::Instance(); in GetDeviceMapper()
|
/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/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()
|
/system/core/fs_mgr/tests/ |
D | vts_fs_test.cpp | 58 auto& dm = android::dm::DeviceMapper::Instance(); in TEST()
|
/system/vold/ |
D | cryptfs.cpp | 148 auto& dm = DeviceMapper::Instance(); in cryptfs_setup_ext_volume()
|
D | MetadataCrypt.cpp | 86 auto& dm = DeviceMapper::Instance(); in defaultkey_precreate_dm_device() 187 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()
|