Searched refs:base_device (Results 1 – 7 of 7) sorted by relevance
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm_target.h | 203 DmTargetSnapshot(uint64_t start, uint64_t length, const std::string& base_device, in DmTargetSnapshot() argument 206 base_device_(base_device), in DmTargetSnapshot() 225 static bool GetDevicesFromParams(const std::string& params, std::string* base_device,
|
/system/core/fs_mgr/tools/ |
D | dmctl.cpp | 138 std::string base_device = NextArg(); in Next() local 158 return std::make_unique<DmTargetSnapshot>(start_sector, num_sectors, base_device, in Next() 167 std::string base_device = NextArg(); in Next() local 177 return std::make_unique<DmTargetSnapshot>(start_sector, num_sectors, base_device, in Next()
|
/system/core/fs_mgr/libdm/ |
D | dm_target.cpp | 220 bool DmTargetSnapshot::GetDevicesFromParams(const std::string& params, std::string* base_device, in GetDevicesFromParams() argument 227 *base_device = pieces[0]; in GetDevicesFromParams()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 401 const std::string& cow_file, const std::string& base_device, in MapDmUserCow() argument 418 uint64_t base_sectors = snapuserd_client_->InitDmUserCow(misc_name, cow_file, base_device); in MapDmUserCow() 442 const std::string& base_device, const std::string& cow_device, in MapSnapshot() argument 459 if (android::base::StartsWith(base_device, "/")) { in MapSnapshot() 460 unique_fd fd(open(base_device.c_str(), O_RDONLY | O_CLOEXEC)); in MapSnapshot() 462 PLOG(ERROR) << "open failed: " << base_device; in MapSnapshot() 467 PLOG(ERROR) << "Could not determine block device size: " << base_device; in MapSnapshot() 471 LOG(ERROR) << "Block device size for " << base_device << " does not match" in MapSnapshot() 477 LOG(ERROR) << "invalid blockdev size for " << base_device << ": " << status.device_size(); in MapSnapshot() 482 LOG(ERROR) << "Invalid snapshot size for " << base_device << ": " << status.snapshot_size(); in MapSnapshot() [all …]
|
D | snapshot_test.cpp | 480 std::string base_device; in TEST_F() local 481 ASSERT_TRUE(CreatePartition("base-device", kDeviceSize, &base_device)); in TEST_F() 487 ASSERT_TRUE(sm->MapSnapshot(lock_.get(), "test-snapshot", base_device, cow_device, 10s, in TEST_F()
|
/system/core/fs_mgr/ |
D | fs_mgr_fstab.cpp | 921 std::string base_device; in GetVerityDeviceName() local 927 base_device = "system"; in GetVerityDeviceName() 929 base_device = android::base::Basename(entry.mount_point); in GetVerityDeviceName() 931 return base_device + "-verity"; in GetVerityDeviceName()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 485 bool MapSnapshot(LockedFile* lock, const std::string& name, const std::string& base_device, 491 const std::string& base_device, const std::chrono::milliseconds& timeout_ms,
|