Searched refs:ThreadRegistry (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_thread_registry.cpp | 104 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory) in ThreadRegistry() function in __sanitizer::ThreadRegistry 105 : ThreadRegistry(factory, UINT32_MAX, UINT32_MAX, 0) {} in ThreadRegistry() 107 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() function in __sanitizer::ThreadRegistry 122 void ThreadRegistry::GetNumberOfThreads(uptr *total, uptr *running, in GetNumberOfThreads() 131 uptr ThreadRegistry::GetMaxAliveThreads() { in GetMaxAliveThreads() 136 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() 178 void ThreadRegistry::RunCallbackForEachThreadLocked(ThreadCallback cb, in RunCallbackForEachThreadLocked() 189 u32 ThreadRegistry::FindThread(FindThreadCallback cb, void *arg) { in FindThread() 200 ThreadRegistry::FindThreadContextLocked(FindThreadCallback cb, void *arg) { in FindThreadContextLocked() 216 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(tid_t os_id) { in FindThreadContextByOsIDLocked() [all …]
|
H A D | sanitizer_thread_registry.h | 89 class SANITIZER_MUTEX ThreadRegistry { 91 ThreadRegistry(ThreadContextFactory factory); 92 ThreadRegistry(ThreadContextFactory factory, u32 max_threads, 164 typedef GenericScopedLock<ThreadRegistry> ThreadRegistryLock;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_thread.cpp | 26 static ThreadRegistry *thread_registry; 38 alignas(alignof(ThreadRegistry)) static char in InitializeThreads() 39 thread_registry_placeholder[sizeof(ThreadRegistry)]; in InitializeThreads() 41 new (thread_registry_placeholder) ThreadRegistry(CreateThreadContext); in InitializeThreads() 96 ThreadRegistry *GetLsanThreadRegistryLocked() { in GetLsanThreadRegistryLocked()
|
H A D | lsan_thread.h | 50 ThreadRegistry *GetLsanThreadRegistryLocked();
|
H A D | lsan_common.h | 59 class ThreadRegistry; variable 94 // Wrappers for ThreadRegistry access.
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_thread.cpp | 40 alignas(16) static char thread_registry_placeholder[sizeof(ThreadRegistry)]; 41 static ThreadRegistry *memprof_thread_registry; 51 ThreadRegistry &memprofThreadRegistry() { in memprofThreadRegistry() 61 ThreadRegistry(GetMemprofThreadContext); in memprofThreadRegistry()
|
H A D | memprof_thread.h | 121 ThreadRegistry &memprofThreadRegistry();
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_thread.cpp | 43 static ThreadRegistry *asan_thread_registry; 70 alignas(alignof(ThreadRegistry)) static char in InitThreads() 71 thread_registry_placeholder[sizeof(ThreadRegistry)]; in InitThreads() 76 new (thread_registry_placeholder) ThreadRegistry(GetAsanThreadContext); in InitThreads() 81 ThreadRegistry &asanThreadRegistry() { in asanThreadRegistry() 498 static ThreadRegistry *GetAsanThreadRegistryLocked() { in GetAsanThreadRegistryLocked()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl.h | 317 ThreadRegistry thread_registry;
|