Home
last modified time | relevance | path

Searched refs:GenericScopedLock (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h380 class SANITIZER_SCOPED_LOCK GenericScopedLock {
382 explicit GenericScopedLock(MutexType *mu) SANITIZER_ACQUIRE(mu) : mu_(mu) { in GenericScopedLock() function
386 ~GenericScopedLock() SANITIZER_RELEASE() { mu_->Unlock(); } in SANITIZER_RELEASE()
391 GenericScopedLock(const GenericScopedLock &) = delete;
392 void operator=(const GenericScopedLock &) = delete;
439 typedef GenericScopedLock<StaticSpinMutex> SpinMutexLock;
440 typedef GenericScopedLock<Mutex> Lock;
H A Dsanitizer_thread_registry.h164 typedef GenericScopedLock<ThreadRegistry> ThreadRegistryLock;
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DCtxInstrProfiling.cpp242 __sanitizer::GenericScopedLock<__sanitizer::SpinMutex> Lock( in setupContext()
282 __sanitizer::GenericScopedLock<__sanitizer::SpinMutex> Lock( in __llvm_ctx_profile_start_collection()
286 __sanitizer::GenericScopedLock<__sanitizer::StaticSpinMutex> Lock( in __llvm_ctx_profile_start_collection()
299 __sanitizer::GenericScopedLock<__sanitizer::SpinMutex> Lock( in __llvm_ctx_profile_fetch()
304 __sanitizer::GenericScopedLock<__sanitizer::StaticSpinMutex> TakenLock( in __llvm_ctx_profile_fetch()
317 __sanitizer::GenericScopedLock<__sanitizer::SpinMutex> Lock( in __llvm_ctx_profile_free()