Home
last modified time | relevance | path

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

12

/system/core/fs_mgr/libdm/
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()
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 …]
Ddm_test.cpp62 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 …]
Dtest_util.h40 : dm_(DeviceMapper::Instance()), name_(name), valid_(false) { in TempDevice()
74 DeviceMapper& dm_;
Ddm_target.cpp184 DeviceMapper& dm = DeviceMapper::Instance(); in ReportsOverflow()
/system/core/fs_mgr/tools/
Ddmctl.cpp44 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/
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;
/system/core/fs_mgr/
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()
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 …]
Dblockdev.cpp36 using android::dm::DeviceMapper;
99 auto& dm = DeviceMapper::Instance(); in BlockDeviceQueueDepth()
/system/core/fs_mgr/libfs_avb/
Dfs_avb_util.cpp53 dm::DeviceMapper& dm = dm::DeviceMapper::Instance(); in LoadAndVerifyVbmeta()
Davb_ops.cpp160 dm::DeviceMapper& dm = dm::DeviceMapper::Instance(); in GetLogicalPath()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp74 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 …]
Dutility.cpp32 using android::dm::DeviceMapper;
286 auto& dm = DeviceMapper::Instance(); in KernelSupportsCompressedSnapshots()
Ddevice_info.cpp143 return android::dm::DeviceMapper::Instance(); in GetDeviceMapper()
/system/vold/model/
DPrivateVolume.cpp73 auto& dm = dm::DeviceMapper::Instance(); in doCreate()
101 auto& dm = dm::DeviceMapper::Instance(); in doDestroy()
/system/core/init/
Dmount_handler.cpp56 auto& dm = dm::DeviceMapper::Instance(); in ParseMount()
80 auto& dm = dm::DeviceMapper::Instance(); in GetDiskPart()
/system/core/fs_mgr/libfiemap/
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()
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()
Dimage_test.cpp228 auto& dm = DeviceMapper::Instance(); in SetUp()
253 auto& dm = DeviceMapper::Instance(); in TearDown()
/system/vold/
Dcryptfs.cpp135 auto& dm = DeviceMapper::Instance(); in cryptfs_setup_ext_volume()
DMetadataCrypt.cpp87 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/
Dtest_helpers.h106 return android::dm::DeviceMapper::Instance(); in GetDeviceMapper()
136 DeviceMapperWrapper() : impl_(android::dm::DeviceMapper::Instance()) {} in DeviceMapperWrapper()
/system/apex/apexd/
Dapexd_test_utils.h412 using android::dm::DeviceMapper; in ListChildLoopDevices()
414 DeviceMapper& dm = DeviceMapper::Instance(); in ListChildLoopDevices()
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/
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()
/system/core/fs_mgr/tests/
Dvts_fs_test.cpp76 auto& dm = android::dm::DeviceMapper::Instance(); in TEST()

12