Home
last modified time | relevance | path

Searched refs:LockName (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/sendmail/mail.local/
H A Dmail.local.c1524 char LockName[MAXPATHLEN]; variable
1535 if (strlen(path) + 6 > sizeof LockName)
1537 (void) sm_snprintf(LockName, sizeof LockName, "%s.lock", path);
1552 fd = open(LockName, O_WRONLY|O_EXCL|O_CREAT, LOCKFILE_PMODE);
1561 if (stat(LockName, &st) < 0)
1576 if (unlink(LockName) < 0)
1586 (void) unlink(LockName); in unlockmbox()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1880 void handleUnmatchedUnlock(StringRef Kind, Name LockName, SourceLocation Loc, in handleUnmatchedUnlock() argument
1885 << Kind << LockName); in handleUnmatchedUnlock()
1890 void handleIncorrectUnlockKind(StringRef Kind, Name LockName, in handleIncorrectUnlockKind() argument
1898 << Kind << LockName << Received << Expected); in handleIncorrectUnlockKind()
1903 void handleDoubleLock(StringRef Kind, Name LockName, SourceLocation LocLocked, in handleDoubleLock() argument
1908 << Kind << LockName); in handleDoubleLock()
1913 void handleMutexHeldEndOfScope(StringRef Kind, Name LockName, in handleMutexHeldEndOfScope() argument
1936 << LockName); in handleMutexHeldEndOfScope()
1941 void handleExclusiveAndShared(StringRef Kind, Name LockName, in handleExclusiveAndShared() argument
1946 << Kind << LockName); in handleExclusiveAndShared()
[all …]