Lines Matching refs:LockFileName
31 LockFileManager::readLockFile(StringRef LockFileName) { in readLockFile() argument
35 MemoryBuffer::getFile(LockFileName); in readLockFile()
37 sys::fs::remove(LockFileName); in readLockFile()
54 sys::fs::remove(LockFileName); in readLockFile()
79 LockFileName = this->FileName; in LockFileManager()
80 LockFileName += ".lock"; in LockFileManager()
84 if ((Owner = readLockFile(LockFileName))) in LockFileManager()
88 UniqueLockFileName = LockFileName; in LockFileManager()
125 sys::fs::create_link(UniqueLockFileName, LockFileName); in LockFileManager()
136 if ((Owner = readLockFile(LockFileName))) { in LockFileManager()
142 if (!sys::fs::exists(LockFileName)) { in LockFileManager()
150 if ((EC = sys::fs::remove(LockFileName))) { in LockFileManager()
172 sys::fs::remove(LockFileName); in ~LockFileManager()
201 if (sys::fs::access(LockFileName.c_str(), sys::fs::AccessMode::Exist) == in waitForUnlock()
237 return sys::fs::remove(LockFileName); in unsafeRemoveLockFile()