Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp2107 std::string cow_path; in MapPartitionWithSnapshot() local
2108 if (!GetMappedImageDevicePath(cow_name, &cow_path)) { in MapPartitionWithSnapshot()
2112 if (!WaitForDevice(cow_path, remaining_time)) { in MapPartitionWithSnapshot()
2119 if (!MapDmUserCow(lock, name, cow_path, source_device_path, remaining_time, in MapPartitionWithSnapshot()
2242 std::string cow_path; in MapCowDevices() local
2243 if (!dm.CreateDevice(*cow_name, table, &cow_path, remaining_time)) { in MapCowDevices()
2248 LOG(INFO) << "Mapped COW device for " << params.GetPartitionName() << " at " << cow_path; in MapCowDevices()
3040 std::string cow_path; in InitializeUpdateSnapshots() local
3041 if (!images_->GetMappedImageDevice(cow_name, &cow_path)) { in InitializeUpdateSnapshots()
3047 unique_fd fd(open(cow_path.c_str(), O_RDWR | O_CLOEXEC)); in InitializeUpdateSnapshots()
[all …]
Dsnapshot_test.cpp1612 auto cow_path = android::base::GetProperty("gsid.mapped_image.sys_b-cow-img", ""); in TEST_F() local
1613 unique_fd fd(open(cow_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()