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.h454 static std::unique_ptr<LockedFile> OpenFile(const std::string& file, int lock_flags);
543 std::unique_ptr<LockedFile> OpenLock(int lock_flags);
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp2390 auto SnapshotManager::OpenFile(const std::string& file, int lock_flags) in OpenFile() argument
2397 if (lock_flags != 0 && TEMP_FAILURE_RETRY(flock(fd, lock_flags)) < 0) { in OpenFile()
2403 int lock_mode = lock_flags & (LOCK_EX | LOCK_SH); in OpenFile()
2425 std::unique_ptr<SnapshotManager::LockedFile> SnapshotManager::OpenLock(int lock_flags) { in OpenLock() argument
2427 return OpenFile(lock_file, lock_flags); in OpenLock()