Home
last modified time | relevance | path

Searched refs:trylock (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/sys/kern/
H A Dkern_rmlock.c396 if (trylock) { in _rm_rlock_hard()
429 _rm_rlock(struct rmlock *rm, struct rm_priotracker *tracker, int trylock) in _rm_rlock() argument
467 return _rm_rlock_hard(rm, tracker, trylock); in _rm_rlock()
630 int trylock, const char *file, int line) in _rm_rlock_debug() argument
637 if (!(rm->lock_object.lo_flags & LO_RECURSABLE) && !trylock) { in _rm_rlock_debug()
651 if (!trylock) { in _rm_rlock_debug()
659 if (_rm_rlock(rm, tracker, trylock)) { in _rm_rlock_debug()
660 if (trylock) in _rm_rlock_debug()
669 } else if (trylock) in _rm_rlock_debug()
714 int trylock, const char *file, int line) in _rm_rlock_debug() argument
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector1.cc52 bool trylock) override;
153 void DD::MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) { in MutexAfterLock() argument
168 if (!trylock) in MutexAfterLock()
H A Dsanitizer_deadlock_detector2.cc96 bool trylock);
270 bool trylock) { in MutexAfterLock() argument
272 cb->lt->ctx, m, wlock, trylock, cb->lt->nlocked); in MutexAfterLock()
290 if (!trylock) in MutexAfterLock()
H A Dsanitizer_deadlock_detector_interface.h84 bool trylock) {} in MutexAfterLock()
/freebsd-12.1/sys/sys/
H A Drmlock.h61 int trylock, const char *file, int line);
68 int trylock);
/freebsd-12.1/contrib/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.cc125 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { in MutexAfterLock() argument
133 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock); in MutexAfterLock()
H A Ddd_rtl.h62 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock);
H A Ddd_interceptors.cc248 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()
/freebsd-12.1/contrib/libevent/
H A DChangeLog-2.0873 o Revise the locking API: deprecate the old locking callbacks and add trylock. (347952f)
/freebsd-12.1/contrib/ntp/sntp/libevent/
H A DChangeLog-2.0873 o Revise the locking API: deprecate the old locking callbacks and add trylock. (347952f)