Home
last modified time | relevance | path

Searched refs:DeviceMapper (Results 1 – 25 of 31) sorted by relevance

12

/aosp14/system/core/fs_mgr/libdm/
H A Ddm.cpp48 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 Ddm_test.cpp75 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 Dtest_util.h40 : dm_(DeviceMapper::Instance()), name_(name), valid_(false) { in TempDevice()
74 DeviceMapper& dm_;
H A Ddm_target.cpp184 DeviceMapper& dm = DeviceMapper::Instance(); in ReportsOverflow()
/aosp14/system/core/fs_mgr/tools/
H A Ddmctl.cpp265 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 Ddm.h86 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 Dfs_mgr_dm_linear.cpp49 using DeviceMapper = android::dm::DeviceMapper; typedef
243 DeviceMapper& dm = DeviceMapper::Instance(); in CreateLogicalPartition()
263 DeviceMapper& dm = DeviceMapper::Instance(); in UnmapDevice()
H A Dfs_mgr.cpp106 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 Dblockdev.cpp36 using android::dm::DeviceMapper;
99 auto& dm = DeviceMapper::Instance(); in BlockDeviceQueueDepth()
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot_test.cpp74 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 Dutility.cpp32 using android::dm::DeviceMapper;
286 auto& dm = DeviceMapper::Instance(); in KernelSupportsCompressedSnapshots()
H A Ddevice_info.cpp143 return android::dm::DeviceMapper::Instance(); in GetDeviceMapper()
H A Dsnapshot.cpp58 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 Dfs_avb_util.cpp53 dm::DeviceMapper& dm = dm::DeviceMapper::Instance(); in LoadAndVerifyVbmeta()
H A Davb_ops.cpp160 dm::DeviceMapper& dm = dm::DeviceMapper::Instance(); in GetLogicalPath()
H A Dfs_avb.cpp510 android::dm::DeviceMapper& dm = android::dm::DeviceMapper::Instance(); in TearDownAvbHashtree()
H A Davb_util.cpp105 android::dm::DeviceMapper& dm = android::dm::DeviceMapper::Instance(); in HashtreeDmVeritySetup()
/aosp14/system/core/fs_mgr/libfiemap/
H A Dimage_manager.cpp42 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 Dfiemap_writer.cpp66 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 Dimage_test.cpp228 auto& dm = DeviceMapper::Instance(); in SetUp()
253 auto& dm = DeviceMapper::Instance(); in TearDown()
/aosp14/system/core/init/
H A Dmount_handler.cpp56 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 Dcow_snapuserd_test.cpp57 : 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 Dtest_helpers.h106 return android::dm::DeviceMapper::Instance(); in GetDeviceMapper()
136 DeviceMapperWrapper() : impl_(android::dm::DeviceMapper::Instance()) {} in DeviceMapperWrapper()
/aosp14/system/core/fs_mgr/tests/
H A Dvts_fs_test.cpp94 auto& dm = android::dm::DeviceMapper::Instance(); in TEST()
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
H A Dsnapuserd_verify.cpp66 auto& dm = DeviceMapper::Instance(); in VerifyUpdatePartition()

12