Home
last modified time | relevance | path

Searched refs:LockedFile (Results 1 – 4 of 4) sorted by relevance

/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h350 class LockedFile final {
352 LockedFile(const std::string& path, android::base::unique_fd&& fd, int lock_mode) in LockedFile() function
354 ~LockedFile();
362 static std::unique_ptr<LockedFile> OpenFile(const std::string& file, int lock_flags);
380 bool CreateSnapshot(LockedFile* lock, SnapshotStatus* status);
384 Return CreateCowImage(LockedFile* lock, const std::string& name);
393 bool MapSnapshot(LockedFile* lock, const std::string& name, const std::string& base_device,
403 bool DeleteSnapshot(LockedFile* lock, const std::string& name);
406 bool UnmapSnapshot(LockedFile* lock, const std::string& name);
412 bool RemoveAllSnapshots(LockedFile* lock);
[all …]
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp218 bool SnapshotManager::RemoveAllUpdateState(LockedFile* lock, const std::function<bool()>& prolog) { in RemoveAllUpdateState()
294 bool SnapshotManager::CreateSnapshot(LockedFile* lock, SnapshotStatus* status) { in CreateSnapshot()
343 Return SnapshotManager::CreateCowImage(LockedFile* lock, const std::string& name) { in CreateCowImage()
365 bool SnapshotManager::MapSnapshot(LockedFile* lock, const std::string& name, in MapSnapshot()
501 bool SnapshotManager::UnmapSnapshot(LockedFile* lock, const std::string& name) { in UnmapSnapshot()
524 bool SnapshotManager::DeleteSnapshot(LockedFile* lock, const std::string& name) { in DeleteSnapshot()
676 bool SnapshotManager::SwitchSnapshotToMerge(LockedFile* lock, const std::string& name) { in SwitchSnapshotToMerge()
845 UpdateState SnapshotManager::CheckMergeState(LockedFile* lock, in CheckMergeState()
936 UpdateState SnapshotManager::CheckTargetMergeState(LockedFile* lock, const std::string& name) { in CheckTargetMergeState()
1028 void SnapshotManager::AcknowledgeMergeSuccess(LockedFile* lock) { in AcknowledgeMergeSuccess()
[all …]
Dutility.h86 AutoDeleteSnapshot(SnapshotManager* manager, SnapshotManager::LockedFile* lock, in AutoDeleteSnapshot()
95 SnapshotManager::LockedFile* lock_ = nullptr;
Dsnapshot_test.cpp346 std::unique_ptr<SnapshotManager::LockedFile> lock_;
718 std::unique_ptr<SnapshotManager::LockedFile> lock_;