Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_rangelock.c104 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()
525 rl_r_validate(struct rangelock *lock, struct rl_q_entry *e, bool trylock, in rl_r_validate() argument
560 if (trylock) { in rl_r_validate()
572 bool trylock, struct rl_q_entry **free) in rl_w_validate() argument
607 if (trylock) { in rl_w_validate()
617 rl_insert(struct rangelock *lock, struct rl_q_entry *e, bool trylock, in rl_insert() argument
662 if (trylock) { in rl_insert()
[all …]
H A Dkern_rmlock.c349 _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 …]
/freebsd/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/sys/sys/
H A Drmlock.h60 int trylock, const char *file, int line);
67 int trylock);
/freebsd/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/contrib/jemalloc/
H A DChangeLog106 - Optimize the trylock spin wait. (@djwatson)
/freebsd/contrib/ntp/sntp/libevent/
H A DChangeLog-2.0873 o Revise the locking API: deprecate the old locking callbacks and add trylock. (347952f)
/freebsd/contrib/libevent/
H A DChangeLog-2.0873 o Revise the locking API: deprecate the old locking callbacks and add trylock. (347952f)