| /src/sys/kern/ |
| H A D | kern_rangelock.c | 104 rangelock_cheat_lock(struct rangelock *lock, int locktype, bool trylock, in rangelock_cheat_lock() argument 114 if (trylock) { in rangelock_cheat_lock() 128 if (trylock) { in rangelock_cheat_lock() 157 if (trylock) { in rangelock_cheat_lock() 535 bool trylock, bool inserted) in rl_conflict() argument 555 if (trylock) { in rl_conflict() 573 rl_r_validate(struct rangelock *lock, struct rl_q_entry *e, bool trylock, in rl_r_validate() argument 603 res = rl_conflict(lock, cur, e, trylock, true); in rl_r_validate() 615 bool trylock, struct rl_q_entry **free) in rl_w_validate() argument 644 res = rl_conflict(lock, cur, e, trylock, true); in rl_w_validate() [all …]
|
| H A D | kern_rmlock.c | 349 _rm_rlock_hard(struct rmlock *rm, struct rm_priotracker *tracker, int trylock) in _rm_rlock_hard() argument 401 if (trylock) { in _rm_rlock_hard() 434 _rm_rlock(struct rmlock *rm, struct rm_priotracker *tracker, int trylock) in _rm_rlock() argument 468 return _rm_rlock_hard(rm, tracker, trylock); in _rm_rlock() 635 int trylock, const char *file, int line) in _rm_rlock_debug() argument 642 if (!(rm->lock_object.lo_flags & LO_RECURSABLE) && !trylock) { in _rm_rlock_debug() 656 if (!trylock) { in _rm_rlock_debug() 664 if (_rm_rlock(rm, tracker, trylock)) { in _rm_rlock_debug() 665 if (trylock) in _rm_rlock_debug() 674 } else if (trylock) in _rm_rlock_debug() [all …]
|
| /src/crypto/krb5/src/ccapi/common/win/OldCC/ |
| H A D | autolock.hxx | 44 bool trylock() {return valid ? (TryEnterCriticalSection(&cs) ? true : false) in trylock() function in CcOsLock 61 CcAutoTryLock(CcOsLock& lock):m_lock(lock) { m_locked = m_lock.trylock(); } in CcAutoTryLock()
|
| /src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_deadlock_detector1.cpp | 51 bool trylock) override; 152 void DD::MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) { in MutexAfterLock() argument 167 if (!trylock) in MutexAfterLock()
|
| H A D | sanitizer_deadlock_detector2.cpp | 95 bool trylock); 267 bool trylock) { in MutexAfterLock() argument 269 cb->lt->ctx, m, wlock, trylock, cb->lt->nlocked); in MutexAfterLock() 287 if (!trylock) in MutexAfterLock()
|
| H A D | sanitizer_deadlock_detector_interface.h | 86 bool trylock) {} in MutexAfterLock()
|
| /src/sys/sys/ |
| H A D | rmlock.h | 60 int trylock, const char *file, int line); 67 int trylock);
|
| /src/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
| H A D | dd_rtl.cpp | 124 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { in MutexAfterLock() argument 132 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock); in MutexAfterLock()
|
| H A D | dd_rtl.h | 61 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock);
|
| H A D | dd_interceptors.cpp | 248 void __dsan_after_mutex_lock(uptr m, int writelock, int trylock) { in __dsan_after_mutex_lock() argument 251 MutexAfterLock(thr, m, writelock, trylock); in __dsan_after_mutex_lock()
|
| /src/contrib/jemalloc/ |
| H A D | ChangeLog | 206 - Optimize the trylock spin wait. (@djwatson)
|
| /src/contrib/libevent/ |
| H A D | ChangeLog-2.0 | 873 o Revise the locking API: deprecate the old locking callbacks and add trylock. (347952f)
|
| /src/contrib/ntp/sntp/libevent/ |
| H A D | ChangeLog-2.0 | 873 o Revise the locking API: deprecate the old locking callbacks and add trylock. (347952f)
|