HomeSort by: relevance | last modified time | path
    Searched defs:Lock (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/
PassRegistry.h 39 mutable sys::SmartRWMutex<true> Lock;
  /src/external/gpl3/gcc/dist/libsanitizer/ubsan/
ubsan_value.cpp 39 static __sanitizer::StaticSpinMutex Lock;
41 __sanitizer::SpinMutexLock Guard(&Lock);
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_value.cpp 41 static __sanitizer::StaticSpinMutex Lock;
43 __sanitizer::SpinMutexLock Guard(&Lock);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_solaris.cc 210 void BlockingMutex::Lock() {
sanitizer_mutex.h 29 void Lock() {
79 void Lock();
108 void Lock() {
184 mu_->Lock();
sanitizer_thread_registry.h 92 void Lock() { mtx_.Lock(); }
sanitizer_rtems.cc 119 void BlockingMutex::Lock() {
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
atomic.c 20 * To avoid needing a per-object lock, this code allocates an array of
22 * For operations that must be atomic on two locations, the lower lock is
49 // Platform-specific lock implementation. Falls back to spinlocks if none is
50 // defined. Each platform should define the Lock type, and corresponding
51 // lock() and unlock() functions.
58 typedef struct _usem Lock;
59 __inline static void unlock(Lock *l) {
65 __inline static void lock(Lock *l) { function
74 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} }
84 __inline static void lock(Lock *l) { function
97 __inline static void lock(Lock *l) { function
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_mutex_test.cc 34 Lock l(mtx_);
62 typedef GenericScopedLock<MutexType> Lock;
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/
vts_many_threads_bench.cc 35 void Lock() { pthread_mutex_lock(&m_); }
64 mutexes[(offset + i) % kNumMutexes].Lock();
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_mutex.h 48 void Lock();
69 typedef GenericScopedLock<Mutex> Lock;
75 void Lock(MutexType t);
tsan_mutex.cc 54 // Build the "can lock" adjacency matrix.
55 // If [i][j]==true, then one can lock mutex j while under mutex i.
105 Printf("Can lock graph:\n");
112 Printf("Can lock graph closure:\n");
135 void InternalDeadlockDetector::Lock(MutexType t) {
136 // Printf("LOCK %d @%zu\n", t, seq_ + 1);
156 Printf("ThreadSanitizer: can't lock %d while under %zu\n",
227 void Mutex::Lock() {
229 cur_thread()->internal_deadlock_detector.Lock(type_);
260 cur_thread()->internal_deadlock_detector.Lock(type_)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
tsan_mutex_test.cc 32 Lock l(mtx_);
57 typedef GenericScopedLock<MutexType> Lock;
  /src/sys/external/bsd/gnu-efi/dist/inc/
efilink.h 174 // A lock structure
180 UINTN Lock;
  /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
ThreadSafeModule.h 27 /// An LLVMContext together with an associated mutex that can be used to lock
39 // RAII based lock for ThreadSafeContext.
40 class LLVM_NODISCARD Lock {
42 Lock(std::shared_ptr<State> S) : S(std::move(S)), L(this->S->Mutex) {}
67 Lock getLock() const {
68 assert(S && "Can not lock an empty ThreadSafeContext");
69 return Lock(S);
90 // We also need to lock the context to make sure the module tear-down
113 // We need to lock the context while we destruct the module.
135 auto Lock = TSCtx.getLock()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
Statistic.cpp 97 // ManagedStatic mutex, doing so with StatLock held would lead to a lock
101 sys::SmartMutex<true> &Lock = *StatLock;
103 sys::SmartScopedLock<true> Writer(Lock);
104 // Check Initialized again after acquiring the lock.
152 // again. We're holding the lock so it won't be able to do so until we're
162 // Clear the registration list and release the lock once we're done. Any
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_mutex.cpp 57 // actual mutex lock/unlock operations are checked to adhere to this hierarchy.
61 // unnecessary (we almost never lock multiple mutexes of the same type recursively).
150 void Lock(MutexType type, uptr pc) {
168 // Recursive lock of the same type.
175 Printf("%s: internal deadlock: can't lock %s under %s mutex\n", SanitizerToolName,
208 SpinMutexLock lock(&mutex_meta_mtx);
218 void CheckedMutex::LockImpl(uptr pc) { deadlock_detector.Lock(type_, pc); }
sanitizer_symbolizer_report.cpp 261 void ScopedErrorReportLock::Lock() {
268 mutex_.Lock();
sanitizer_mutex.h 29 void Lock() SANITIZER_ACQUIRE() {
133 ALWAYS_INLINE void Lock() {
172 void Lock() SANITIZER_ACQUIRE() {
173 CheckedMutex::Lock();
180 // The mutex is not read-/write-locked, try to lock.
210 // next time we take the lock or block again.
222 // The mutex is not read-/write-locked, try to lock.
225 CheckedMutex::Lock();
260 CheckedMutex::Lock();
338 // - number of readers holding the lock,
    [all...]
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_mutex.cpp 57 // actual mutex lock/unlock operations are checked to adhere to this hierarchy.
61 // unnecessary (we almost never lock multiple mutexes of the same type recursively).
150 void Lock(MutexType type, uptr pc) {
168 // Recursive lock of the same type.
175 Printf("%s: internal deadlock: can't lock %s under %s mutex\n", SanitizerToolName,
208 SpinMutexLock lock(&mutex_meta_mtx);
218 void CheckedMutex::LockImpl(uptr pc) { deadlock_detector.Lock(type_, pc); }
sanitizer_symbolizer_report.cpp 262 void ScopedErrorReportLock::Lock() {
269 mutex_.Lock();
sanitizer_mutex.h 29 void Lock() ACQUIRE() {
131 ALWAYS_INLINE void Lock() {
170 void Lock() ACQUIRE() {
171 CheckedMutex::Lock();
178 // The mutex is not read-/write-locked, try to lock.
208 // next time we take the lock or block again.
244 CheckedMutex::Lock();
322 // - number of readers holding the lock,
329 // - writer lock
339 // After wake up both writers and readers compete to lock th
    [all...]
  /src/external/apache2/llvm/dist/clang/tools/clang-scan-deps/
ClangScanDeps.cpp 37 std::unique_lock<std::mutex> LockGuard(Lock);
43 std::mutex Lock;
278 std::unique_lock<std::mutex> ul(Lock);
395 std::mutex Lock;
570 std::mutex Lock;
578 Pool.async([I, &Lock, &Index, &Inputs, &HadErrors, &FD, &WorkerTools,
588 std::unique_lock<std::mutex> LockGuard(Lock);
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXUtilities.cpp 39 static sys::Mutex Lock;
42 std::lock_guard<sys::Mutex> Guard(Lock);
47 std::lock_guard<sys::Mutex> Guard(Lock);
73 std::lock_guard<sys::Mutex> Guard(Lock);
107 std::lock_guard<sys::Mutex> Guard(Lock);
121 std::lock_guard<sys::Mutex> Guard(Lock);
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerLoop.cpp 86 TraceLock() : Lock(AllocTracer.TraceMutex) {
97 std::lock_guard<std::recursive_mutex> Lock;
105 TraceLock Lock;
106 if (Lock.IsDisabled())
118 TraceLock Lock;
119 if (Lock.IsDisabled())

Completed in 50 milliseconds

1 2