Home
last modified time | relevance | path

Searched refs:cow_path (Results 1 – 5 of 5) sorted by relevance

/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
Dextractor.cpp38 Extractor::Extractor(const std::string& base_path, const std::string& cow_path) in Extractor() argument
39 : base_path_(base_path), cow_path_(cow_path), control_name_("test") {} in Extractor()
Dextractor.h31 Extractor(const std::string& base_path, const std::string& cow_path);
/system/core/fs_mgr/libsnapshot/
Dsnapshotctl.cpp113 bool GetCowDevicePath(std::string partition_name, std::string* cow_path);
235 bool MapSnapshots::GetCowDevicePath(std::string partition_name, std::string* cow_path) { in GetCowDevicePath() argument
238 if (dm.GetDmDevicePathByName(cow_device, cow_path)) { in GetCowDevicePath()
245 if (!dm.GetDmDevicePathByName(cow_device, cow_path)) { in GetCowDevicePath()
278 std::string cow_path; in ApplyUpdate() local
279 if (!GetCowDevicePath(partition_name, &cow_path)) { in ApplyUpdate()
284 this, cow_path, patchfile)); in ApplyUpdate()
Dsnapshot.cpp2526 std::string cow_path; in MapPartitionWithSnapshot() local
2527 if (!GetMappedImageDevicePath(cow_name, &cow_path)) { in MapPartitionWithSnapshot()
2531 if (!WaitForDevice(cow_path, remaining_time)) { in MapPartitionWithSnapshot()
2538 if (!MapDmUserCow(lock, name, cow_path, source_device_path, base_path, remaining_time, in MapPartitionWithSnapshot()
2675 std::string cow_path; in MapCowDevices() local
2676 if (!dm_.CreateDevice(*cow_name, table, &cow_path, remaining_time)) { in MapCowDevices()
2681 LOG(INFO) << "Mapped COW device for " << params.GetPartitionName() << " at " << cow_path; in MapCowDevices()
3620 std::string cow_path; in InitializeUpdateSnapshots() local
3621 if (!images_->GetMappedImageDevice(cow_name, &cow_path)) { in InitializeUpdateSnapshots()
3626 if (!android::fs_mgr::WaitForFile(cow_path, 6s)) { in InitializeUpdateSnapshots()
[all …]
Dsnapshot_test.cpp1903 auto cow_path = android::base::GetProperty("gsid.mapped_image.sys_b-cow-img", ""); in TEST_F() local
1904 unique_fd fd(open(cow_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()