Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h322 static std::unique_ptr<LockedFile> OpenFile(const std::string& file, int lock_flags);
398 std::unique_ptr<LockedFile> OpenLock(int lock_flags);
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp1842 auto SnapshotManager::OpenFile(const std::string& file, int lock_flags) in OpenFile() argument
1849 if (lock_flags != 0 && TEMP_FAILURE_RETRY(flock(fd, lock_flags)) < 0) { in OpenFile()
1855 int lock_mode = lock_flags & (LOCK_EX | LOCK_SH); in OpenFile()
1877 std::unique_ptr<SnapshotManager::LockedFile> SnapshotManager::OpenLock(int lock_flags) { in OpenLock() argument
1879 return OpenFile(lock_file, lock_flags); in OpenLock()