Home
last modified time | relevance | path

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

/freebsd-14.2/sys/kern/
H A Dkern_rmlock.c401 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()
719 int trylock, const char *file, int line) in _rm_rlock_debug() argument
[all …]
H A Dkern_rangelock.c219 struct mtx *ilk, bool trylock) in rangelock_enqueue() argument
255 if (trylock) { in rangelock_enqueue()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector1.cpp51 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 Dsanitizer_deadlock_detector2.cpp95 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 Dsanitizer_deadlock_detector_interface.h86 bool trylock) {} in MutexAfterLock()
/freebsd-14.2/sys/sys/
H A Drmlock.h60 int trylock, const char *file, int line);
67 int trylock);
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.cpp124 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 Ddd_rtl.h61 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock);
H A Ddd_interceptors.cpp248 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-14.2/contrib/jemalloc/
H A DChangeLog106 - Optimize the trylock spin wait. (@djwatson)
/freebsd-14.2/contrib/ntp/sntp/libevent/
H A DChangeLog-2.0873 o Revise the locking API: deprecate the old locking callbacks and add trylock. (347952f)
/freebsd-14.2/contrib/libevent/
H A DChangeLog-2.0873 o Revise the locking API: deprecate the old locking callbacks and add trylock. (347952f)