Home
last modified time | relevance | path

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

/external/fio/
Dfilelock.c52 static struct fio_filelock *get_filelock(int trylock, int *retry) in get_filelock() argument
58 if (ff || trylock) in get_filelock()
133 static struct fio_filelock *fio_hash_get(uint32_t hash, int trylock) in fio_hash_get() argument
141 ff = get_filelock(trylock, &retry); in fio_hash_get()
168 static int __fio_lock_file(const char *fname, int trylock) in __fio_lock_file() argument
176 ff = fio_hash_get(hash, trylock); in __fio_lock_file()
182 assert(!trylock); in __fio_lock_file()
186 if (!trylock) { in __fio_lock_file()
Diolog.c957 static int finish_log(struct thread_data *td, struct io_log *log, int trylock) in finish_log() argument
962 if (trylock) { in finish_log()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector1.cc52 bool trylock) override;
148 void DD::MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) { in MutexAfterLock() argument
163 if (!trylock) in MutexAfterLock()
Dsanitizer_deadlock_detector2.cc96 bool trylock);
274 bool trylock) { in MutexAfterLock() argument
276 cb->lt->ctx, m, wlock, trylock, cb->lt->nlocked); in MutexAfterLock()
294 if (!trylock) in MutexAfterLock()
Dsanitizer_deadlock_detector_interface.h84 bool trylock) {} in MutexAfterLock()
/external/valgrind/drd/tests/
Dtrylock.vgtest2 prog: trylock
DMakefile.am341 trylock.stderr.exp \
342 trylock.vgtest \
389 trylock \ program
/external/compiler-rt/lib/tsan/dd/
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()
Ddd_rtl.h62 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock);
Ddd_interceptors.cc251 void __dsan_after_mutex_lock(uptr m, int writelock, int trylock) { in __dsan_after_mutex_lock() argument
254 MutexAfterLock(thr, m, writelock, trylock); in __dsan_after_mutex_lock()
/external/valgrind/drd/
Ddrd_mutex.h45 const Bool trylock);
Ddrd_mutex.c252 const Bool trylock) in DRD_()
263 trylock ? "pre_mutex_lock " : "mutex_trylock ", in DRD_()
282 if (! trylock in DRD_()
/external/opencv3/modules/videoio/src/
Dcap_ffmpeg_impl.hpp384 bool trylock();
412 bool trylock() { return TryEnterCriticalSection(&cs) != 0; } in trylock() function
440 bool trylock() { return OSSpinLockTry(&sl); } in trylock() function
455 bool trylock() { return pthread_spin_trylock(&sl) == 0; } in trylock() function
470 bool trylock() { return pthread_mutex_trylock(&sl) == 0; } in trylock() function
492 bool ImplMutex::trylock() { return impl->trylock(); } in trylock() function in ImplMutex
/external/opencv3/modules/core/src/
Dsystem.cpp858 bool trylock() { return TryEnterCriticalSection(&cs) != 0; } in trylock() function
882 bool trylock() { return pthread_mutex_trylock(&mt) == 0; }
920 bool Mutex::trylock() { return impl->trylock(); } in trylock() function in cv::Mutex
Dalloc.cpp114 bool trylock() { return TryEnterCriticalSection(&cs) != 0; } in trylock() function
139 bool trylock() { return pthread_mutex_trylock(&mutex) == 0; } in trylock() function
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cc231 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool trylock) { in MutexReadLock() argument
251 if (!trylock) in MutexReadLock()
253 ctx->dd->MutexAfterLock(&cb, &s->dd, false, trylock); in MutexReadLock()
/external/opencv3/modules/core/include/opencv2/core/
Dutility.hpp496 bool trylock();
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp3672 bool trylock() EXCLUSIVE_TRYLOCK_FUNCTION(true, mu1_)
3700 bool Foo::trylock() { return true; } in trylock() function in MultipleAttributeTest::Foo
3730 if (trylock()) { in test()
/external/valgrind/docs/internals/
D3_8_BUGSTATUS.txt182 243232 *Inconsistent Lock Orderings report with trylock (PBOS?)
/external/libevent/
DChangeLog937 o Revise the locking API: deprecate the old locking callbacks and add trylock. (347952f)
/external/valgrind/
DNEWS2150 243232 Inconsistent Lock Orderings report with trylock