Searched refs:LockedFile (Results 1 – 4 of 4) sorted by relevance
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 442 class LockedFile final { 444 LockedFile(const std::string& path, android::base::unique_fd&& fd, int lock_mode) in LockedFile() function 446 ~LockedFile(); 454 static std::unique_ptr<LockedFile> OpenFile(const std::string& file, int lock_flags); 472 bool CreateSnapshot(LockedFile* lock, PartitionCowCreator* cow_creator, SnapshotStatus* status); 476 Return CreateCowImage(LockedFile* lock, const std::string& name); 485 bool MapSnapshot(LockedFile* lock, const std::string& name, const std::string& base_device, 490 bool MapDmUserCow(LockedFile* lock, const std::string& name, const std::string& cow_file, 495 bool MapSourceDevice(LockedFile* lock, const std::string& name, 504 bool DeleteSnapshot(LockedFile* lock, const std::string& name); [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 249 bool SnapshotManager::RemoveAllUpdateState(LockedFile* lock, const std::function<bool()>& prolog) { in RemoveAllUpdateState() 326 bool SnapshotManager::CreateSnapshot(LockedFile* lock, PartitionCowCreator* cow_creator, in CreateSnapshot() 378 Return SnapshotManager::CreateCowImage(LockedFile* lock, const std::string& name) { in CreateCowImage() 400 bool SnapshotManager::MapDmUserCow(LockedFile* lock, const std::string& name, in MapDmUserCow() 441 bool SnapshotManager::MapSnapshot(LockedFile* lock, const std::string& name, in MapSnapshot() 553 bool SnapshotManager::MapSourceDevice(LockedFile* lock, const std::string& name, in MapSourceDevice() 583 bool SnapshotManager::UnmapSnapshot(LockedFile* lock, const std::string& name) { in UnmapSnapshot() 598 bool SnapshotManager::DeleteSnapshot(LockedFile* lock, const std::string& name) { in DeleteSnapshot() 769 MergeFailureCode SnapshotManager::SwitchSnapshotToMerge(LockedFile* lock, const std::string& name) { in SwitchSnapshotToMerge() 941 auto SnapshotManager::CheckMergeState(LockedFile* lock, const std::function<bool()>& before_cancel) in CheckMergeState() [all …]
|
D | utility.h | 86 AutoDeleteSnapshot(SnapshotManager* manager, SnapshotManager::LockedFile* lock, in AutoDeleteSnapshot() 95 SnapshotManager::LockedFile* lock_ = nullptr;
|
D | snapshot_test.cpp | 419 std::unique_ptr<SnapshotManager::LockedFile> lock_; 790 std::unique_ptr<SnapshotManager::LockedFile> lock_;
|