/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
D | worker.cpp | 22 Worker::Worker(const std::string& cow_device, const std::string& misc_name, in Worker() argument 24 cow_device_ = cow_device; in Worker()
|
D | merge_worker.h | 25 MergeWorker(const std::string& cow_device, const std::string& misc_name,
|
D | worker.h | 36 Worker(const std::string& cow_device, const std::string& misc_name,
|
D | snapuserd_readahead.h | 37 ReadAhead(const std::string& cow_device, const std::string& backing_device,
|
D | read_worker.h | 28 ReadWorker(const std::string& cow_device, const std::string& backing_device,
|
D | snapuserd_core.cpp | 36 SnapshotHandler::SnapshotHandler(std::string misc_name, std::string cow_device, in SnapshotHandler() argument 41 cow_device_ = std::move(cow_device); in SnapshotHandler()
|
D | merge_worker.cpp | 31 MergeWorker::MergeWorker(const std::string& cow_device, const std::string& misc_name, in MergeWorker() argument 34 : Worker(cow_device, misc_name, base_path_merge, snapuserd) {} in MergeWorker()
|
D | snapuserd_core.h | 105 SnapshotHandler(std::string misc_name, std::string cow_device, std::string backing_device,
|
D | read_worker.cpp | 38 ReadWorker::ReadWorker(const std::string& cow_device, const std::string& backing_device, in ReadWorker() argument 42 : Worker(cow_device, misc_name, base_path_merge, snapuserd), in ReadWorker()
|
D | snapuserd_readahead.cpp | 31 ReadAhead::ReadAhead(const std::string& cow_device, const std::string& backing_device, in ReadAhead() argument 33 cow_device_ = cow_device; in ReadAhead()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshotctl.cpp | 114 bool WriteSnapshotPatch(std::string cow_device, std::string patch); 237 std::string cow_device = partition_name + "-cow"; in GetCowDevicePath() local 238 if (dm.GetDmDevicePathByName(cow_device, cow_path)) { in GetCowDevicePath() 242 LOG(INFO) << "Failed to find cow path: " << cow_device << " Checking the device for -img path"; in GetCowDevicePath() 244 cow_device = partition_name + "-cow-img"; in GetCowDevicePath() 245 if (!dm.GetDmDevicePathByName(cow_device, cow_path)) { in GetCowDevicePath() 246 LOG(ERROR) << "Failed to cow path: " << cow_device; in GetCowDevicePath() 395 bool MapSnapshots::WriteSnapshotPatch(std::string cow_device, std::string patch) { in WriteSnapshotPatch() argument 410 android::base::unique_fd cfd(TEMP_FAILURE_RETRY(open(cow_device.c_str(), O_RDWR))); in WriteSnapshotPatch() 412 LOG(ERROR) << "Failed to open file: " << cow_device; in WriteSnapshotPatch()
|
D | snapshot.cpp | 582 const std::string& base_device, const std::string& cow_device, in MapSnapshot() argument 667 table.Emplace<DmTargetSnapshot>(0, snapshot_sectors, base_device, cow_device, mode, in MapSnapshot() 989 std::string base_device, cow_device; in RewriteSnapshotDeviceTable() local 990 if (!DmTargetSnapshot::GetDevicesFromParams(old_targets[0].data, &base_device, &cow_device)) { in RewriteSnapshotDeviceTable() 996 table.Emplace<DmTargetSnapshot>(0, old_targets[0].spec.length, base_device, cow_device, in RewriteSnapshotDeviceTable() 1566 std::string base_device, cow_device; in CollapseSnapshotDevice() local 1567 if (!DmTargetSnapshot::GetDevicesFromParams(target.data, &base_device, &cow_device)) { in CollapseSnapshotDevice() 2488 std::string cow_device; in MapPartitionWithSnapshot() local 2489 if (!GetMappedImageDeviceStringOrPath(cow_name, &cow_device)) { in MapPartitionWithSnapshot() 2546 cow_device = new_cow_device; in MapPartitionWithSnapshot() [all …]
|
D | snapshot_test.cpp | 405 std::string cow_device; in CreateCowImage() local 406 auto map_res = MapCowImage(name, 10s, &cow_device); in CreateCowImage() 410 if (!InitializeKernelCow(cow_device)) { in CreateCowImage() 411 return AssertionFailure() << "Cannot zero fill " << cow_device; in CreateCowImage() 595 std::string cow_device; in TEST_F() local 596 ASSERT_TRUE(MapCowImage("test-snapshot", 10s, &cow_device)); in TEST_F() 599 ASSERT_TRUE(sm->MapSnapshot(lock_.get(), "test-snapshot", base_device, cow_device, 10s, in TEST_F()
|
/system/core/fs_mgr/libsnapshot/snapuserd/ |
D | snapuserd_client.cpp | 248 uint64_t SnapuserdClient::InitDmUserCow(const std::string& misc_name, const std::string& cow_device, in InitDmUserCow() argument 254 parts = {"init", misc_name, cow_device, backing_device}; in InitDmUserCow() 257 parts = {"init", misc_name, cow_device, backing_device, base_path_merge}; in InitDmUserCow() 274 LOG(DEBUG) << "Snapuserd daemon COW device initialized: " << cow_device in InitDmUserCow()
|
/system/core/fs_mgr/libsnapshot/snapuserd/include/snapuserd/ |
D | snapuserd_client.h | 71 uint64_t InitDmUserCow(const std::string& misc_name, const std::string& cow_device,
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm_target.h | 223 const std::string& cow_device, SnapshotStorageMode mode, uint64_t chunk_size) in DmTargetSnapshot() argument 226 cow_device_(cow_device), in DmTargetSnapshot() 245 std::string* cow_device);
|
/system/core/fs_mgr/tools/ |
D | dmctl.cpp | 158 std::string cow_device = NextArg(); in Next() local 178 cow_device, mode, chunk_size); in Next() 187 std::string cow_device = NextArg(); in Next() local 197 cow_device, mode, chunk_size); in Next()
|
/system/core/fs_mgr/libdm/ |
D | dm_target.cpp | 229 std::string* cow_device) { in GetDevicesFromParams() argument 236 *cow_device = pieces[1]; in GetDevicesFromParams()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 515 const std::string& cow_device, const std::chrono::milliseconds& timeout_ms,
|