/netbsd-current/external/gpl3/gcc/dist/libsanitizer/lsan/ |
H A D | lsan_thread.cpp | 26 static ThreadRegistry *thread_registry; member in namespace:__lsan 35 thread_registry = 48 return thread_registry->CreateThread(user_id, detached, parent_tid, arg); 53 thread_registry->StartThread(tid, os_id, thread_type, arg); 58 thread_registry->FinishThread(GetCurrentThread()); 63 if (!thread_registry) 68 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); 80 return thread_registry->FindThread(FindThreadByUid, (void *)uid); 85 thread_registry->DetachThread(tid, /* arg */ nullptr); 90 thread_registry [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
H A D | lsan_thread.cc | 26 static ThreadRegistry *thread_registry; member in namespace:__lsan 38 thread_registry = new(thread_registry_placeholder) 76 return thread_registry->CreateThread(user_id, detached, parent_tid, 90 thread_registry->StartThread(tid, os_id, workerthread, &args); 94 thread_registry->FinishThread(GetCurrentThread()); 99 if (!thread_registry) return nullptr; 103 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); 115 return thread_registry->FindThread(FindThreadByUid, (void*)uid); 120 thread_registry->JoinThread(tid, /* arg */nullptr); 134 thread_registry [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/lsan/ |
H A D | lsan_thread.cc | 24 static ThreadRegistry *thread_registry; member in namespace:__lsan 36 thread_registry = new(thread_registry_placeholder) 74 return thread_registry->CreateThread(user_id, detached, parent_tid, 88 thread_registry->StartThread(tid, os_id, workerthread, &args); 92 thread_registry->FinishThread(GetCurrentThread()); 97 if (!thread_registry) return nullptr; 101 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); 113 return thread_registry->FindThread(FindThreadByUid, (void*)uid); 118 thread_registry->JoinThread(tid, /* arg */nullptr); 132 thread_registry [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
H A D | tsan_rtl_thread.cc | 213 ThreadRegistryLock l(ctx->thread_registry); 215 ctx->thread_registry->RunCallbackForEachThreadLocked( 228 ctx->thread_registry->GetNumberOfThreads(0, 0, &result); 237 ctx->thread_registry->CreateThread(uid, detached, parent_tid, &args); 239 StatSet(thr, StatThreadMaxAlive, ctx->thread_registry->GetMaxAliveThreads()); 259 ThreadRegistry *tr = ctx->thread_registry; 284 ctx->thread_registry->FinishThread(thr->tid); 297 int res = ctx->thread_registry->FindThread(FindThreadByUid, (void*)uid); 306 ctx->thread_registry->JoinThread(tid, thr); 312 ctx->thread_registry [all...] |
H A D | tsan_debugging.cc | 213 ctx->thread_registry->Lock(); 215 ctx->thread_registry->Unlock(); 250 ThreadContextBase *tctx = ctx->thread_registry->GetThreadLocked(b->tid);
|
H A D | tsan_rtl_report.cc | 147 ctx->thread_registry->CheckLocked(); 219 ctx->thread_registry->CheckLocked(); 221 ctx->thread_registry->FindThreadContextLocked( 226 ctx->thread_registry->CheckLocked(); 228 ctx->thread_registry->GetThreadLocked(tid)); 243 ctx->thread_registry->CheckLocked(); 245 ctx->thread_registry->FindThreadContextLocked(IsInStackOrTls, 684 ThreadRegistryLock l0(ctx->thread_registry); 695 ctx->thread_registry->GetThreadLocked(s.tid()));
|
H A D | tsan_rtl_mutex.cc | 55 ThreadRegistryLock l(ctx->thread_registry); 112 ThreadRegistryLock l(ctx->thread_registry); 428 ThreadRegistryLock l(ctx->thread_registry); 429 ctx->thread_registry->RunCallbackForEachThreadLocked( 472 ThreadRegistryLock l(ctx->thread_registry); 473 ctx->thread_registry->RunCallbackForEachThreadLocked( 517 ThreadRegistryLock l(ctx->thread_registry);
|
H A D | tsan_rtl.cc | 102 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( 142 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads); 488 ctx->thread_registry->Lock(); 494 ctx->thread_registry->Unlock(); 499 ctx->thread_registry->Unlock(); 502 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */);
|
H A D | tsan_mman.cc | 148 ThreadRegistryLock l(ctx->thread_registry);
|
H A D | tsan_rtl.h | 539 ThreadRegistry *thread_registry; member in struct:__tsan::Context
|
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
H A D | tsan_rtl_thread.cc | 211 ThreadRegistryLock l(ctx->thread_registry); 213 ctx->thread_registry->RunCallbackForEachThreadLocked( 226 ctx->thread_registry->GetNumberOfThreads(0, 0, &result); 235 ctx->thread_registry->CreateThread(uid, detached, parent_tid, &args); 237 StatSet(thr, StatThreadMaxAlive, ctx->thread_registry->GetMaxAliveThreads()); 257 ThreadRegistry *tr = ctx->thread_registry; 282 ctx->thread_registry->FinishThread(thr->tid); 295 int res = ctx->thread_registry->FindThread(FindThreadByUid, (void*)uid); 304 ctx->thread_registry->JoinThread(tid, thr); 310 ctx->thread_registry [all...] |
H A D | tsan_debugging.cc | 211 ctx->thread_registry->Lock(); 213 ctx->thread_registry->Unlock(); 248 ThreadContextBase *tctx = ctx->thread_registry->GetThreadLocked(b->tid);
|
H A D | tsan_rtl_report.cc | 145 ctx->thread_registry->CheckLocked(); 217 ctx->thread_registry->CheckLocked(); 219 ctx->thread_registry->FindThreadContextLocked( 224 ctx->thread_registry->CheckLocked(); 226 ctx->thread_registry->GetThreadLocked(tid)); 241 ctx->thread_registry->CheckLocked(); 243 ctx->thread_registry->FindThreadContextLocked(IsInStackOrTls, 682 ThreadRegistryLock l0(ctx->thread_registry); 693 ctx->thread_registry->GetThreadLocked(s.tid()));
|
H A D | tsan_rtl_mutex.cc | 53 ThreadRegistryLock l(ctx->thread_registry); 110 ThreadRegistryLock l(ctx->thread_registry); 426 ThreadRegistryLock l(ctx->thread_registry); 427 ctx->thread_registry->RunCallbackForEachThreadLocked( 470 ThreadRegistryLock l(ctx->thread_registry); 471 ctx->thread_registry->RunCallbackForEachThreadLocked( 515 ThreadRegistryLock l(ctx->thread_registry);
|
H A D | tsan_rtl.cc | 100 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( 140 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads); 484 ctx->thread_registry->Lock(); 490 ctx->thread_registry->Unlock(); 495 ctx->thread_registry->Unlock(); 498 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */);
|
H A D | tsan_mman.cc | 146 ThreadRegistryLock l(ctx->thread_registry);
|
H A D | tsan_rtl.h | 535 ThreadRegistry *thread_registry; member in struct:__tsan::Context
|
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/tsan/ |
H A D | tsan_rtl_thread.cpp | 95 ThreadRegistryLock l(&ctx->thread_registry); 97 ctx->thread_registry.RunCallbackForEachThreadLocked(CollectThreadLeaks, 110 ctx->thread_registry.GetNumberOfThreads(0, 0, &result); 122 Tid tid = ctx->thread_registry.CreateThread(uid, detached, parent_tid, &args); 163 ThreadRegistry *tr = &ctx->thread_registry; 230 ctx->thread_registry.FinishThread(thr->tid); 284 ctx->thread_registry.FindThread(ConsumeThreadByUid, &findCtx); 294 ctx->thread_registry.JoinThread(tid, thr); 308 ctx->thread_registry.DetachThread(tid, thr); 319 ctx->thread_registry [all...] |
H A D | tsan_debugging.cpp | 218 ctx->thread_registry.Lock(); 220 ctx->thread_registry.Unlock(); 255 ThreadContextBase *tctx = ctx->thread_registry.GetThreadLocked(b->tid);
|
H A D | tsan_rtl_report.cpp | 135 // For the same reason check we didn't lock thread_registry yet. 137 ThreadRegistryLock l(&ctx->thread_registry); 159 ctx->thread_registry.CheckLocked(); 228 ctx->thread_registry.CheckLocked(); 230 ctx->thread_registry.FindThreadContextLocked( 235 ctx->thread_registry.CheckLocked(); 237 ctx->thread_registry.GetThreadLocked(tid)); 252 ctx->thread_registry.CheckLocked(); 254 static_cast<ThreadContext *>(ctx->thread_registry.FindThreadContextLocked( 545 ctx->thread_registry [all...] |
H A D | tsan_rtl.cpp | 116 thread_registry(CreateThreadContext, kMaxTid, kThreadQuarantineSize, 491 ctx->thread_registry.Lock(); 510 ctx->thread_registry.Unlock(); 519 ctx->thread_registry.Unlock(); 522 ctx->thread_registry.GetNumberOfThreads(0, 0, &nthread /* alive threads */);
|
H A D | tsan_rtl_mutex.cpp | 56 ThreadRegistryLock l(&ctx->thread_registry); 113 ThreadRegistryLock l(&ctx->thread_registry); 429 ThreadRegistryLock l(&ctx->thread_registry); 430 ctx->thread_registry.RunCallbackForEachThreadLocked(UpdateClockCallback, thr); 484 ThreadRegistryLock l(&ctx->thread_registry); 485 ctx->thread_registry.RunCallbackForEachThreadLocked(UpdateSleepClockCallback, 532 ThreadRegistryLock l(&ctx->thread_registry);
|
H A D | tsan_platform_mac.cpp | 164 ctx->thread_registry.GetNumberOfThreads(&nthread, &nlive);
|
H A D | tsan_mman.cpp | 151 ThreadRegistryLock l(&ctx->thread_registry);
|
H A D | tsan_platform_linux.cpp | 128 ctx->thread_registry.GetNumberOfThreads(&nthread, &nlive);
|