Searched refs:dm_user_name (Results 1 – 3 of 3) sorted by relevance
1636 UnmapDmUserDevice(dm_user_name); in CollapseSnapshotDevice()2638 if (!UnmapDmUserDevice(dm_user_name)) { in UnmapCowDevices()2657 if (dm_.GetState(dm_user_name) == DmDeviceState::INVALID) { in UnmapDmUserDevice()2661 if (!DeleteDeviceIfExists(dm_user_name)) { in UnmapDmUserDevice()2662 LOG(ERROR) << "Cannot unmap " << dm_user_name; in UnmapDmUserDevice()2667 if (!snapuserd_client_->WaitForDeviceDelete(dm_user_name)) { in UnmapDmUserDevice()2674 auto control_device = "/dev/dm-user/" + dm_user_name; in UnmapDmUserDevice()2685 if (dm_.GetState(dm_user_name) == DmDeviceState::INVALID) { in UnmapUserspaceSnapshotDevice()2700 if (!DeleteDeviceIfExists(dm_user_name)) { in UnmapUserspaceSnapshotDevice()2701 LOG(ERROR) << "Cannot unmap " << dm_user_name; in UnmapUserspaceSnapshotDevice()[all …]
726 std::string dm_user_name = "dm-test-device"; in ReadDmUserBlockWithoutDaemon() local730 ASSERT_TRUE(dmuser_table.AddTarget(std::make_unique<DmTargetUser>(0, 123456, dm_user_name))); in ReadDmUserBlockWithoutDaemon()733 dmuser_dev_ = std::make_unique<TempDevice>(dm_user_name, dmuser_table); in ReadDmUserBlockWithoutDaemon()
728 bool UnmapDmUserDevice(const std::string& dm_user_name);