Searched refs:snap_table (Results 1 – 2 of 2) sorted by relevance
263 DmTable snap_table; in SetupImpl() local264 ASSERT_TRUE(snap_table.AddTarget(make_unique<DmTargetSnapshot>( in SetupImpl()267 ASSERT_TRUE(snap_table.valid()); in SetupImpl()268 ASSERT_EQ(kBaseDeviceSize / kSectorSize, snap_table.num_sectors()); in SetupImpl()270 snapshot_dev_ = std::make_unique<TempDevice>("libdm-test-dm-snapshot", snap_table); in SetupImpl()
713 DmTable snap_table; in CreateSnapshotDevice() local714 ASSERT_TRUE(snap_table.AddTarget(std::make_unique<DmTargetSnapshot>( in CreateSnapshotDevice()717 ASSERT_TRUE(snap_table.valid()); in CreateSnapshotDevice()719 snap_table.set_readonly(true); in CreateSnapshotDevice()721 snapshot_dev_ = std::make_unique<TempDevice>("cowsnapuserd-test-dm-snapshot", snap_table); in CreateSnapshotDevice()