Searched refs:SnapshotStorageMode (Results 1 – 7 of 7) sorted by relevance
/aosp12/system/core/fs_mgr/libdm/ |
H A D | dm_target.cpp | 131 if (mode_ == SnapshotStorageMode::Merge) { in name() 140 case SnapshotStorageMode::Persistent: in GetParameterString() 141 case SnapshotStorageMode::Merge: in GetParameterString() 150 case SnapshotStorageMode::Transient: in GetParameterString()
|
H A D | dm_test.cpp | 181 DmTargetSnapshot target1(0, 512, "base", "cow", SnapshotStorageMode::Persistent, 8); in TEST() 189 DmTargetSnapshot target2(0, 512, "base", "cow", SnapshotStorageMode::Transient, 8); in TEST() 193 DmTargetSnapshot target3(0, 512, "base", "cow", SnapshotStorageMode::Merge, 8); in TEST() 266 SnapshotStorageMode::Persistent, 8))); in SetupImpl() 286 cow_loop_->device(), SnapshotStorageMode::Merge, 8))); in MergeImpl()
|
/aosp12/system/core/fs_mgr/libsnapshot/ |
H A D | power_test.cpp | 47 using android::dm::SnapshotStorageMode; 93 bool MapSnapshot(SnapshotStorageMode mode); 173 if (!MapSnapshot(SnapshotStorageMode::Persistent)) { in Create() 341 bool PowerTest::MapSnapshot(SnapshotStorageMode mode) { in MapSnapshot() 412 if (!MapSnapshot(SnapshotStorageMode::Merge)) { in Merge()
|
H A D | snapshot.cpp | 64 using android::dm::SnapshotStorageMode; 501 SnapshotStorageMode mode; in MapSnapshot() 514 mode = SnapshotStorageMode::Merge; in MapSnapshot() 516 mode = SnapshotStorageMode::Persistent; in MapSnapshot() 520 mode = SnapshotStorageMode::Persistent; in MapSnapshot() 524 if (mode == SnapshotStorageMode::Persistent && status.state() == SnapshotState::MERGING) { in MapSnapshot() 528 mode = SnapshotStorageMode::Merge; in MapSnapshot() 830 SnapshotStorageMode::Merge, kSnapshotChunkSize); in RewriteSnapshotDeviceTable()
|
H A D | cow_snapuserd_test.cpp | 716 SnapshotStorageMode::Persistent, 8))); in CreateSnapshotDevice() 751 SnapshotStorageMode::Merge, 8))); in StartMerge()
|
/aosp12/system/core/fs_mgr/tools/ |
H A D | dmctl.cpp | 143 SnapshotStorageMode mode; in Next() 145 mode = SnapshotStorageMode::Persistent; in Next() 147 mode = SnapshotStorageMode::Transient; in Next() 170 SnapshotStorageMode mode = SnapshotStorageMode::Merge; in Next()
|
/aosp12/system/core/fs_mgr/libdm/include/libdm/ |
H A D | dm_target.h | 188 enum class SnapshotStorageMode { enum 204 const std::string& cow_device, SnapshotStorageMode mode, uint64_t chunk_size) in DmTargetSnapshot() 231 SnapshotStorageMode mode_;
|