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