/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_thread_registry.cpp | 102 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory) in ThreadRegistry() function in __sanitizer::ThreadRegistry 103 : ThreadRegistry(factory, UINT32_MAX, UINT32_MAX, 0) {} in ThreadRegistry() 105 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() function in __sanitizer::ThreadRegistry 120 void ThreadRegistry::GetNumberOfThreads(uptr *total, uptr *running, in GetNumberOfThreads() 129 uptr ThreadRegistry::GetMaxAliveThreads() { in GetMaxAliveThreads() 134 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() 170 void ThreadRegistry::RunCallbackForEachThreadLocked(ThreadCallback cb, in RunCallbackForEachThreadLocked() 181 u32 ThreadRegistry::FindThread(FindThreadCallback cb, void *arg) { in FindThread() 192 ThreadRegistry::FindThreadContextLocked(FindThreadCallback cb, void *arg) { in FindThreadContextLocked() 208 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(tid_t os_id) { in FindThreadContextByOsIDLocked() [all …]
|
H A D | sanitizer_thread_registry.h | 88 class MUTEX ThreadRegistry { 90 ThreadRegistry(ThreadContextFactory factory); 91 ThreadRegistry(ThreadContextFactory factory, u32 max_threads, 154 typedef GenericScopedLock<ThreadRegistry> ThreadRegistryLock;
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_thread_registry.cc | 101 const u32 ThreadRegistry::kUnknownTid = ~0U; 103 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() function in __sanitizer::ThreadRegistry 121 void ThreadRegistry::GetNumberOfThreads(uptr *total, uptr *running, in GetNumberOfThreads() 129 uptr ThreadRegistry::GetMaxAliveThreads() { in GetMaxAliveThreads() 134 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() 170 void ThreadRegistry::RunCallbackForEachThreadLocked(ThreadCallback cb, in RunCallbackForEachThreadLocked() 181 u32 ThreadRegistry::FindThread(FindThreadCallback cb, void *arg) { in FindThread() 192 ThreadRegistry::FindThreadContextLocked(FindThreadCallback cb, void *arg) { in FindThreadContextLocked() 208 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(tid_t os_id) { in FindThreadContextByOsIDLocked() 213 void ThreadRegistry::SetThreadName(u32 tid, const char *name) { in SetThreadName() [all …]
|
H A D | sanitizer_thread_registry.h | 80 class ThreadRegistry { 84 ThreadRegistry(ThreadContextFactory factory, u32 max_threads, 148 typedef GenericScopedLock<ThreadRegistry> ThreadRegistryLock;
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_thread_registry.cc | 103 const u32 ThreadRegistry::kUnknownTid = ~0U; 105 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() function in __sanitizer::ThreadRegistry 123 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() 172 void ThreadRegistry::RunCallbackForEachThreadLocked(ThreadCallback cb, in RunCallbackForEachThreadLocked() 183 u32 ThreadRegistry::FindThread(FindThreadCallback cb, void *arg) { in FindThread() 194 ThreadRegistry::FindThreadContextLocked(FindThreadCallback cb, void *arg) { in FindThreadContextLocked() 210 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(tid_t os_id) { in FindThreadContextByOsIDLocked() 215 void ThreadRegistry::SetThreadName(u32 tid, const char *name) { in SetThreadName() [all …]
|
H A D | sanitizer_thread_registry.h | 82 class ThreadRegistry { 86 ThreadRegistry(ThreadContextFactory factory, u32 max_threads, 151 typedef GenericScopedLock<ThreadRegistry> ThreadRegistryLock;
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
H A D | sanitizer_thread_registry_test.cc | 35 static void CheckThreadQuantity(ThreadRegistry *registry, uptr exp_total, in CheckThreadQuantity() 67 static void TestRegistry(ThreadRegistry *registry, bool has_quarantine) { in TestRegistry() 102 EXPECT_EQ(ThreadRegistry::kUnknownTid, in TestRegistry() 106 EXPECT_EQ(ThreadRegistry::kUnknownTid, in TestRegistry() 141 ThreadRegistry quarantine_registry(GetThreadContext<ThreadContextBase>, in TEST() 146 ThreadRegistry no_quarantine_registry(GetThreadContext<ThreadContextBase>, in TEST() 162 ThreadRegistry *registry; 200 static void ThreadedTestRegistry(ThreadRegistry *registry) { in ThreadedTestRegistry() 231 ThreadRegistry registry(GetThreadContext<TestThreadContext>, in TEST()
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/lsan/ |
H A D | lsan_thread.cpp | 26 static ThreadRegistry *thread_registry; 34 static ALIGNED(64) char thread_registry_placeholder[sizeof(ThreadRegistry)]; in InitializeThreadRegistry() 36 new (thread_registry_placeholder) ThreadRegistry(CreateThreadContext); in InitializeThreadRegistry() 107 ThreadRegistry *GetThreadRegistryLocked() { in GetThreadRegistryLocked()
|
H A D | lsan_common.h | 55 class ThreadRegistry; variable 227 ThreadRegistry *GetThreadRegistryLocked();
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
H A D | lsan_thread.cc | 26 static ThreadRegistry *thread_registry; 37 static ALIGNED(64) char thread_registry_placeholder[sizeof(ThreadRegistry)]; in InitializeThreadRegistry() 39 ThreadRegistry(CreateThreadContext, kMaxThreads, kThreadQuarantineSize); in InitializeThreadRegistry() 158 ThreadRegistry *GetThreadRegistryLocked() { in GetThreadRegistryLocked()
|
H A D | lsan_common.h | 50 class ThreadRegistry; variable 208 ThreadRegistry *GetThreadRegistryLocked();
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/lsan/ |
H A D | lsan_thread.cc | 24 static ThreadRegistry *thread_registry; 35 static ALIGNED(64) char thread_registry_placeholder[sizeof(ThreadRegistry)]; in InitializeThreadRegistry() 37 ThreadRegistry(CreateThreadContext, kMaxThreads, kThreadQuarantineSize); in InitializeThreadRegistry() 156 ThreadRegistry *GetThreadRegistryLocked() { in GetThreadRegistryLocked()
|
H A D | lsan_common.h | 50 class ThreadRegistry; variable 208 ThreadRegistry *GetThreadRegistryLocked();
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
H A D | asan_thread.cc | 44 static ALIGNED(16) char thread_registry_placeholder[sizeof(ThreadRegistry)]; 45 static ThreadRegistry *asan_thread_registry; 55 ThreadRegistry &asanThreadRegistry() { in asanThreadRegistry() 64 asan_thread_registry = new(thread_registry_placeholder) ThreadRegistry( in asanThreadRegistry() 499 ThreadRegistry *GetThreadRegistryLocked() { in GetThreadRegistryLocked()
|
H A D | asan_thread.h | 184 ThreadRegistry &asanThreadRegistry();
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
H A D | asan_thread.cc | 46 static ALIGNED(16) char thread_registry_placeholder[sizeof(ThreadRegistry)]; 47 static ThreadRegistry *asan_thread_registry; 57 ThreadRegistry &asanThreadRegistry() { in asanThreadRegistry() 66 asan_thread_registry = new(thread_registry_placeholder) ThreadRegistry( in asanThreadRegistry() 498 ThreadRegistry *GetThreadRegistryLocked() { in GetThreadRegistryLocked()
|
H A D | asan_thread.h | 182 ThreadRegistry &asanThreadRegistry();
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/ |
H A D | asan_thread.cpp | 43 static ALIGNED(16) char thread_registry_placeholder[sizeof(ThreadRegistry)]; 44 static ThreadRegistry *asan_thread_registry; 54 ThreadRegistry &asanThreadRegistry() { in asanThreadRegistry() 64 new (thread_registry_placeholder) ThreadRegistry(GetAsanThreadContext); in asanThreadRegistry() 521 ThreadRegistry *GetThreadRegistryLocked() { in GetThreadRegistryLocked()
|
H A D | asan_thread.h | 173 ThreadRegistry &asanThreadRegistry();
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
H A D | tsan_rtl_thread.cpp | 163 ThreadRegistry *tr = &ctx->thread_registry; in ThreadStart()
|
H A D | tsan_rtl.h | 311 ThreadRegistry thread_registry;
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
H A D | tsan_rtl.cc | 66 static char thread_registry_placeholder[sizeof(ThreadRegistry)]; 100 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( in Context()
|
H A D | tsan_rtl_thread.cc | 257 ThreadRegistry *tr = ctx->thread_registry; in ThreadStart()
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
H A D | tsan_rtl.cc | 68 static char thread_registry_placeholder[sizeof(ThreadRegistry)]; 102 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( in Context()
|
H A D | tsan_rtl_thread.cc | 259 ThreadRegistry *tr = ctx->thread_registry; in ThreadStart()
|