Searched refs:DeviceMapper (Results 1 – 18 of 18) sorted by relevance
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm.h | 47 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/ |
D | dm.cpp | 29 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 …]
|
D | dm_test.cpp | 42 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/ |
D | dmctl.cpp | 42 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/ |
D | fs_mgr_dm_linear.cpp | 48 using DeviceMapper = android::dm::DeviceMapper; typedef 114 DeviceMapper& dm = DeviceMapper::Instance(); in CreateLogicalPartition() 197 DeviceMapper& dm = DeviceMapper::Instance(); in UnmapDevice()
|
D | fs_mgr.cpp | 92 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()
|
D | fs_mgr_verity.cpp | 254 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()
|
D | fs_mgr_overlayfs.cpp | 619 auto& dm = DeviceMapper::Instance(); in fs_mgr_overlayfs_scratch_device()
|
/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()
|
D | fs_avb.cpp | 464 android::dm::DeviceMapper& dm = android::dm::DeviceMapper::Instance(); in TearDownAvbHashtree()
|
D | avb_util.cpp | 109 android::dm::DeviceMapper& dm = android::dm::DeviceMapper::Instance(); in HashtreeDmVeritySetup()
|
/system/update_engine/ |
D | dynamic_partition_control_android.cc | 35 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/ |
D | mount_handler.cpp | 52 auto& dm = dm::DeviceMapper::Instance(); in ParseMount()
|
D | first_stage_mount.cpp | 185 auto& dm = android::dm::DeviceMapper::Instance(); in GetRootEntry()
|
/system/apex/apexd/ |
D | apexservice_test.cpp | 545 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()
|
D | apexd.cpp | 77 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/ |
D | gsi_service.cpp | 412 const auto& dm = DeviceMapper::Instance(); in PostInstallCleanup()
|