/aosp14/system/core/fs_mgr/libdm/ |
H A 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() 91 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() 174 bool DeviceMapper::CreateEmptyDevice(const std::string& name) { in CreateEmptyDevice() 179 bool DeviceMapper::WaitForDevice(const std::string& name, in WaitForDevice() 265 std::optional<DeviceMapper::Info> DeviceMapper::GetDetailedInfo(const std::string& name) const { in GetDetailedInfo() 617 bool DeviceMapper::IsDmBlockDevice(const std::string& path) { in IsDmBlockDevice() [all …]
|
H A D | dm_test.cpp | 75 DeviceMapper& dm = DeviceMapper::Instance(); in TEST_F() 316 DeviceMapper& dm = DeviceMapper::Instance(); in MergeImpl() 342 DeviceMapper& dm = DeviceMapper::Instance(); in CheckSnapshotAvailability() 433 DeviceMapper& dm = DeviceMapper::Instance(); in TEST_F() 577 DeviceMapper& dm = DeviceMapper::Instance(); in TEST_F() 603 DeviceMapper& dm = DeviceMapper::Instance(); in TEST_F() 622 DeviceMapper& dm = DeviceMapper::Instance(); in TEST_F() 643 DeviceMapper& dm = DeviceMapper::Instance(); in TEST_F() 661 DeviceMapper& dm = DeviceMapper::Instance(); in TEST_F() 687 DeviceMapper& dm = DeviceMapper::Instance(); in TEST_F() [all …]
|
H A D | test_util.h | 40 : dm_(DeviceMapper::Instance()), name_(name), valid_(false) { in TempDevice() 74 DeviceMapper& dm_;
|
H A D | dm_target.cpp | 184 DeviceMapper& dm = DeviceMapper::Instance(); in ReportsOverflow()
|
/aosp14/system/core/fs_mgr/tools/ |
H A D | dmctl.cpp | 265 DeviceMapper& dm = DeviceMapper::Instance(); in DmCreateCmdHandler() 288 DeviceMapper& dm = DeviceMapper::Instance(); in DmDeleteCmdHandler() 308 DeviceMapper& dm = DeviceMapper::Instance(); in DmReplaceCmdHandler() 395 DeviceMapper& dm = DeviceMapper::Instance(); in DmListCmdHandler() 415 DeviceMapper& dm = DeviceMapper::Instance(); in GetPathCmdHandler() 431 DeviceMapper& dm = DeviceMapper::Instance(); in GetUuidCmdHandler() 447 DeviceMapper& dm = DeviceMapper::Instance(); in InfoCmdHandler() 482 DeviceMapper& dm = DeviceMapper::Instance(); in DumpTable() 483 std::vector<DeviceMapper::TargetInfo> table; in DumpTable() 524 DeviceMapper& dm = DeviceMapper::Instance(); in ResumeCmdHandler() [all …]
|
/aosp14/system/core/fs_mgr/libdm/include/libdm/ |
H A 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;
|
/aosp14/system/core/fs_mgr/ |
H A 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()
|
H A 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 …]
|
H A D | blockdev.cpp | 36 using android::dm::DeviceMapper; 99 auto& dm = DeviceMapper::Instance(); in BlockDeviceQueueDepth()
|
/aosp14/system/core/fs_mgr/libsnapshot/ |
H A D | snapshot_test.cpp | 74 using android::dm::DeviceMapper; 108 SnapshotTest() : dm_(DeviceMapper::Instance()) {} in SnapshotTest() 250 DeviceMapper::TargetInfo target; in CleanupSnapshotArtifacts() 528 DeviceMapper& dm_; 660 DeviceMapper::TargetInfo target; in TEST_F() 663 ASSERT_EQ(DeviceMapper::GetTargetType(target.spec), "user"); in TEST_F() 714 DeviceMapper::TargetInfo target; in TEST_F() 717 ASSERT_EQ(DeviceMapper::GetTargetType(target.spec), "user"); in TEST_F() 745 DeviceMapper::TargetInfo target; in TEST_F() 1495 DeviceMapper::TargetInfo target; in TEST_F() [all …]
|
H A D | utility.cpp | 32 using android::dm::DeviceMapper; 286 auto& dm = DeviceMapper::Instance(); in KernelSupportsCompressedSnapshots()
|
H A D | device_info.cpp | 143 return android::dm::DeviceMapper::Instance(); in GetDeviceMapper()
|
H A D | snapshot.cpp | 58 using android::dm::DeviceMapper; 924 std::vector<DeviceMapper::TargetInfo> old_targets; in RewriteSnapshotDeviceTable() 957 std::vector<DeviceMapper::TargetInfo> targets; in GetSingleTarget() 977 DeviceMapper::TargetInfo snap_target; in IsSnapshotDevice() 981 auto type = DeviceMapper::GetTargetType(snap_target.spec); in IsSnapshotDevice() 1022 DeviceMapper::TargetInfo target; in QuerySnapshotStatus() 1378 auto& dm = DeviceMapper::Instance(); in CheckMergeConsistency() 1580 DeviceMapper::TargetInfo target; in CollapseSnapshotDevice() 1735 DeviceMapper::TargetInfo target; in PerformInitTransition() 4019 std::vector<DeviceMapper::TargetInfo> targets; in EnsureNoOverflowSnapshot() [all …]
|
/aosp14/system/core/fs_mgr/libfs_avb/ |
H A D | fs_avb_util.cpp | 53 dm::DeviceMapper& dm = dm::DeviceMapper::Instance(); in LoadAndVerifyVbmeta()
|
H A D | avb_ops.cpp | 160 dm::DeviceMapper& dm = dm::DeviceMapper::Instance(); in GetLogicalPath()
|
H A D | fs_avb.cpp | 510 android::dm::DeviceMapper& dm = android::dm::DeviceMapper::Instance(); in TearDownAvbHashtree()
|
H A D | avb_util.cpp | 105 android::dm::DeviceMapper& dm = android::dm::DeviceMapper::Instance(); in HashtreeDmVeritySetup()
|
/aosp14/system/core/fs_mgr/libfiemap/ |
H A 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()
|
H A 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()
|
H A D | image_test.cpp | 228 auto& dm = DeviceMapper::Instance(); in SetUp() 253 auto& dm = DeviceMapper::Instance(); in TearDown()
|
/aosp14/system/core/init/ |
H A D | mount_handler.cpp | 56 auto& dm = dm::DeviceMapper::Instance(); in ParseMount() 80 auto& dm = dm::DeviceMapper::Instance(); in GetDiskPart()
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/ |
H A 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()
|
/aosp14/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
H A D | test_helpers.h | 106 return android::dm::DeviceMapper::Instance(); in GetDeviceMapper() 136 DeviceMapperWrapper() : impl_(android::dm::DeviceMapper::Instance()) {} in DeviceMapperWrapper()
|
/aosp14/system/core/fs_mgr/tests/ |
H A D | vts_fs_test.cpp | 94 auto& dm = android::dm::DeviceMapper::Instance(); in TEST()
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
H A D | snapuserd_verify.cpp | 66 auto& dm = DeviceMapper::Instance(); in VerifyUpdatePartition()
|