Home
last modified time | relevance | path

Searched refs:trylock (Results 1 – 18 of 18) 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 bool __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.c1103 static int finish_log(struct thread_data *td, struct io_log *log, int trylock) in finish_log() argument
1108 if (trylock) { in finish_log()
/external/compiler-rt/lib/sanitizer_common/
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()
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.am349 trylock.stderr.exp \
350 trylock.vgtest \
399 trylock \ program
DMakefile.in144 trylock$(EXEEXT) unit_bitmap$(EXEEXT) unit_vc$(EXEEXT) \
520 trylock_SOURCES = trylock.c
521 trylock_OBJECTS = trylock.$(OBJEXT)
608 threaded-fork.c trylock.c $(tsan_unittest_SOURCES) \
633 threaded-fork.c trylock.c $(tsan_unittest_SOURCES) \
1377 trylock.stderr.exp \
1378 trylock.vgtest \
1742 trylock$(EXEEXT): $(trylock_OBJECTS) $(trylock_DEPENDENCIES) $(EXTRA_trylock_DEPENDENCIES)
1743 @rm -f trylock$(EXEEXT)
1829 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trylock.Po@am__quote@
/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.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()
/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/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cc232 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool trylock) { in MutexReadLock() argument
252 if (!trylock) in MutexReadLock()
254 ctx->dd->MutexAfterLock(&cb, &s->dd, false, trylock); in MutexReadLock()
/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/
DNEWS2634 243232 Inconsistent Lock Orderings report with trylock