Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/include/libdm/
Ddm.h47 class DeviceMapper final {
111 static DeviceMapper& Instance();
113 ~DeviceMapper() { in ~DeviceMapper()
151 DeviceMapper();
161 DeviceMapper(const DeviceMapper&) = delete;
162 DeviceMapper& operator=(const DeviceMapper&) = delete;
163 DeviceMapper& operator=(DeviceMapper&&) = delete;
164 DeviceMapper(DeviceMapper&&) = delete;
/system/core/fs_mgr/libdm/
Ddm.cpp29 DeviceMapper::DeviceMapper() : fd_(-1) { in DeviceMapper() function in android::dm::DeviceMapper
36 DeviceMapper& DeviceMapper::Instance() { in Instance()
37 static DeviceMapper instance; in Instance()
41 bool DeviceMapper::CreateDevice(const std::string& name) { in CreateDevice()
69 bool DeviceMapper::DeleteDevice(const std::string& name) { in DeleteDevice()
96 const std::unique_ptr<DmTable> DeviceMapper::table(const std::string& /* name */) const { in table()
101 DmDeviceState DeviceMapper::GetState(const std::string& name) const { in GetState()
113 bool DeviceMapper::CreateDevice(const std::string& name, const DmTable& table) { in CreateDevice()
124 bool DeviceMapper::LoadTableAndActivate(const std::string& name, const DmTable& table) { in LoadTableAndActivate()
151 bool DeviceMapper::GetAvailableTargets(std::vector<DmTargetTypeInfo>* targets) { in GetAvailableTargets()
[all …]
Ddm_test.cpp42 DeviceMapper& dm = DeviceMapper::Instance(); in TEST()
59 : dm_(DeviceMapper::Instance()), name_(name), valid_(false) { in TempDevice()
115 DeviceMapper& dm_;
165 DeviceMapper& dm = DeviceMapper::Instance(); in TEST()
166 vector<DeviceMapper::TargetInfo> targets; in TEST()
/system/core/fs_mgr/tools/
Ddmctl.cpp42 using DeviceMapper = ::android::dm::DeviceMapper; typedef
50 using DmBlockDevice = ::android::dm::DeviceMapper::DmBlockDevice;
182 DeviceMapper& dm = DeviceMapper::Instance(); in DmCreateCmdHandler()
197 DeviceMapper& dm = DeviceMapper::Instance(); in DmDeleteCmdHandler()
206 static int DmListTargets(DeviceMapper& dm, [[maybe_unused]] int argc, in DmListTargets()
228 static int DmListDevices(DeviceMapper& dm, int argc, char** argv) { in DmListDevices()
245 std::vector<DeviceMapper::TargetInfo> table; in DmListDevices()
270 static const std::map<std::string, std::function<int(DeviceMapper&, int, char**)>> listmap = {
281 DeviceMapper& dm = DeviceMapper::Instance(); in DmListCmdHandler()
301 DeviceMapper& dm = DeviceMapper::Instance(); in GetPathCmdHandler()
[all …]
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp48 using DeviceMapper = android::dm::DeviceMapper; typedef
114 DeviceMapper& dm = DeviceMapper::Instance(); in CreateLogicalPartition()
197 DeviceMapper& dm = DeviceMapper::Instance(); in UnmapDevice()
Dfs_mgr.cpp92 using android::dm::DeviceMapper;
912 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_update_logical_partition()
966 DeviceMapper& dm = DeviceMapper::Instance(); in Revert()
1005 DeviceMapper& dm = DeviceMapper::Instance(); in UpdateCheckpointPartition()
1700 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_is_verity_enabled()
1708 std::vector<DeviceMapper::TargetInfo> table; in fs_mgr_is_verity_enabled()
1730 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_verity_is_check_at_most_once()
1733 std::vector<DeviceMapper::TargetInfo> table; in fs_mgr_verity_is_check_at_most_once()
Dfs_mgr_verity.cpp254 static int load_verity_table(android::dm::DeviceMapper& dm, const std::string& name, in load_verity_table()
728 android::dm::DeviceMapper& dm = android::dm::DeviceMapper::Instance(); in fs_mgr_setup_verity()
Dfs_mgr_overlayfs.cpp619 auto& dm = DeviceMapper::Instance(); in fs_mgr_overlayfs_scratch_device()
/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()
Dfs_avb.cpp464 android::dm::DeviceMapper& dm = android::dm::DeviceMapper::Instance(); in TearDownAvbHashtree()
Davb_util.cpp109 android::dm::DeviceMapper& dm = android::dm::DeviceMapper::Instance(); in HashtreeDmVeritySetup()
/system/update_engine/
Ddynamic_partition_control_android.cc35 using android::dm::DeviceMapper;
131 if (DeviceMapper::Instance().GetState(target_partition_name) != in UnmapPartitionOnDeviceMapper()
167 return DeviceMapper::Instance().GetState(name); in GetState()
172 return DeviceMapper::Instance().GetDmDevicePathByName(name, path); in GetDmDevicePathByName()
/system/core/init/
Dmount_handler.cpp52 auto& dm = dm::DeviceMapper::Instance(); in ParseMount()
Dfirst_stage_mount.cpp185 auto& dm = android::dm::DeviceMapper::Instance(); in GetRootEntry()
/system/apex/apexd/
Dapexservice_test.cpp545 using android::dm::DeviceMapper; in TEST_F()
559 std::vector<DeviceMapper::DmBlockDevice> devices; in TEST_F()
560 DeviceMapper& dm = DeviceMapper::Instance(); in TEST_F()
569 using android::dm::DeviceMapper; in TEST_F()
583 std::vector<DeviceMapper::DmBlockDevice> devices; in TEST_F()
584 DeviceMapper& dm = DeviceMapper::Instance(); in TEST_F()
916 auto& dm = dm::DeviceMapper::Instance(); in TEST_F()
917 std::vector<dm::DeviceMapper::DmBlockDevice> devices; in TEST_F()
Dapexd.cpp77 using android::dm::DeviceMapper;
225 DeviceMapper& dm = DeviceMapper::Instance(); in DeleteVerityDevice()
237 DeviceMapper& dm = DeviceMapper::Instance(); in DeleteVerityDevice()
292 DeviceMapper& dm = DeviceMapper::Instance(); in createVerityDevice()
/system/gsid/
Dgsi_service.cpp412 const auto& dm = DeviceMapper::Instance(); in PostInstallCleanup()