Searched refs:lock_flags (Results 1 – 2 of 2) sorted by relevance
322 static std::unique_ptr<LockedFile> OpenFile(const std::string& file, int lock_flags);398 std::unique_ptr<LockedFile> OpenLock(int lock_flags);
1842 auto SnapshotManager::OpenFile(const std::string& file, int lock_flags) in OpenFile() argument1849 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() argument1879 return OpenFile(lock_file, lock_flags); in OpenLock()