Lines Matching refs:LockFileName
42 LockFileManager::readLockFile(StringRef LockFileName) { in readLockFile() argument
46 MemoryBuffer::getFile(LockFileName); in readLockFile()
48 sys::fs::remove(LockFileName); in readLockFile()
65 sys::fs::remove(LockFileName); in readLockFile()
152 LockFileName = this->FileName; in LockFileManager()
153 LockFileName += ".lock"; in LockFileManager()
157 if ((Owner = readLockFile(LockFileName))) in LockFileManager()
161 UniqueLockFileName = LockFileName; in LockFileManager()
208 sys::fs::create_link(UniqueLockFileName, LockFileName); in LockFileManager()
217 OSS << LockFileName.str() << " to " << UniqueLockFileName.str(); in LockFileManager()
224 if ((Owner = readLockFile(LockFileName))) { in LockFileManager()
230 if (!sys::fs::exists(LockFileName)) { in LockFileManager()
238 if ((EC = sys::fs::remove(LockFileName))) { in LockFileManager()
275 sys::fs::remove(LockFileName); in ~LockFileManager()
307 if (sys::fs::access(LockFileName.c_str(), sys::fs::AccessMode::Exist) == in waitForUnlock()
343 return sys::fs::remove(LockFileName); in unsafeRemoveLockFile()