Home
last modified time | relevance | path

Searched refs:dm_user_name (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dcow_snapuserd_test.cpp611 std::string dm_user_name = "dm-test-device"; in ReadDmUserBlockWithoutDaemon() local
615 ASSERT_TRUE(dmuser_table.AddTarget(std::make_unique<DmTargetUser>(0, 123456, dm_user_name))); in ReadDmUserBlockWithoutDaemon()
618 dmuser_dev_ = std::make_unique<TempDevice>(dm_user_name, dmuser_table); in ReadDmUserBlockWithoutDaemon()
Dsnapshot.cpp2276 auto dm_user_name = GetDmUserCowName(snapshot_name); in UnmapDmUserDevice() local
2277 if (dm.GetState(dm_user_name) == DmDeviceState::INVALID) { in UnmapDmUserDevice()
2281 if (!DeleteDeviceIfExists(dm_user_name)) { in UnmapDmUserDevice()
2282 LOG(ERROR) << "Cannot unmap " << dm_user_name; in UnmapDmUserDevice()
2287 if (!snapuserd_client_->WaitForDeviceDelete(dm_user_name)) { in UnmapDmUserDevice()
2288 LOG(ERROR) << "Failed to wait for " << dm_user_name << " control device to delete"; in UnmapDmUserDevice()
2294 auto control_device = "/dev/dm-user/" + dm_user_name; in UnmapDmUserDevice()