Home
last modified time | relevance | path

Searched refs:dm_path (Results 1 – 4 of 4) sorted by relevance

/system/core/init/
Dblock_dev_initializer.cpp40 const std::string dm_path = "/devices/virtual/misc/device-mapper"; in InitDeviceMapper() local
42 auto dm_callback = [this, &dm_path, &found](const Uevent& uevent) { in InitDeviceMapper()
43 if (uevent.path == dm_path) { in InitDeviceMapper()
50 uevent_listener_.RegenerateUeventsForPath("/sys" + dm_path, dm_callback); in InitDeviceMapper()
/system/core/fastboot/device/
Dutility.cpp68 std::string dm_path; in OpenLogicalPartition() local
69 if (!CreateLogicalPartition(params, &dm_path)) { in OpenLogicalPartition()
74 *handle = PartitionHandle(dm_path, std::move(closer)); in OpenLogicalPartition()
/system/apex/apexd/
Dapexservice_test.cpp557 std::string dm_path; in ListSlavesOfDmDevice() local
558 EXPECT_TRUE(dm.GetDmDevicePathByName(name, &dm_path)) in ListSlavesOfDmDevice()
562 EXPECT_TRUE(StartsWith(dm_path, kDevPrefix)) << "Illegal path " << dm_path; in ListSlavesOfDmDevice()
563 dm_path = dm_path.substr(kDevPrefix.length()); in ListSlavesOfDmDevice()
566 std::string slaves_dir = "/sys/" + dm_path + "/slaves"; in ListSlavesOfDmDevice()
1160 std::string dm_path; in TEST_F() local
1161 ASSERT_TRUE(dm.GetDmDevicePathByName(package_id, &dm_path)) in TEST_F()
1163 auto loop_device = dm.GetParentBlockDeviceByPath(dm_path); in TEST_F()
1165 << dm_path; in TEST_F()
/system/core/fs_mgr/
Dfs_mgr.cpp1242 std::string dm_path; in WrapUserdata() local
1243 if (!dm.CreateDevice(kUserdataWrapperName, table, &dm_path, 20s)) { in WrapUserdata()
1247 entry->blk_device = dm_path; in WrapUserdata()