| /src/external/gpl3/gcc.old/dist/libsanitizer/lsan/ |
| 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->JoinThread(tid, /* arg */ nullptr) [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/lsan/ |
| lsan_thread.cpp | 26 static ThreadRegistry *thread_registry; member in namespace:__lsan 40 thread_registry = 65 return thread_registry->CreateThread(0, detached, parent_tid, arg); 70 thread_registry->StartThread(tid, os_id, thread_type, arg); 73 void ThreadFinish() { thread_registry->FinishThread(GetCurrentThreadId()); } 87 thread_registry->Lock(); 93 thread_registry->Unlock(); 97 thread_registry->CheckLocked(); 98 return thread_registry;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
| 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->FindThreadContextByOsIDLocked(os_id)) [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| 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->DetachThread(tid, thr) [all...] |
| tsan_debugging.cc | 213 ctx->thread_registry->Lock(); 215 ctx->thread_registry->Unlock(); 250 ThreadContextBase *tctx = ctx->thread_registry->GetThreadLocked(b->tid);
|
| 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()));
|
| 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);
|
| 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 */);
|
| tsan_mman.cc | 148 ThreadRegistryLock l(ctx->thread_registry);
|
| /src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| tsan_rtl_thread.cpp | 91 ThreadRegistryLock l(&ctx->thread_registry); 93 ctx->thread_registry.RunCallbackForEachThreadLocked(CollectThreadLeaks, 106 ctx->thread_registry.GetNumberOfThreads(0, 0, &result); 130 Tid tid = ctx->thread_registry.CreateThread(uid, detached, parent, &arg); 154 ctx->thread_registry.StartThread(tid, os_id, thread_type, thr); 229 ThreadRegistryLock lock(&ctx->thread_registry); 249 ctx->thread_registry.FinishThread(thr->tid); 285 return ctx->thread_registry.ConsumeThreadUserId(uid); 297 ctx->thread_registry.JoinThread(tid, &arg); 318 ctx->thread_registry.DetachThread(tid, thr) [all...] |
| 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(); 227 ctx->thread_registry.CheckLocked(); 229 ctx->thread_registry.GetThreadLocked(tid)); 244 ctx->thread_registry.CheckLocked(); 246 static_cast<ThreadContext *>(ctx->thread_registry.FindThreadContextLocked( 442 ctx->thread_registry.CheckLocked(); 459 static_cast<ThreadContext *>(ctx->thread_registry.GetThreadLocked(tid)); 767 ThreadRegistryLock l0(&ctx->thread_registry); [all...] |
| tsan_debugging.cpp | 220 ctx->thread_registry.Lock(); 222 ctx->thread_registry.Unlock(); 257 ThreadContextBase *tctx = ctx->thread_registry.GetThreadLocked(b->tid);
|
| tsan_rtl.cpp | 140 ThreadRegistryLock lock0(&ctx->thread_registry); 146 for (u32 i = ctx->thread_registry.NumThreadsLocked(); i--;) { 147 ThreadContext* tctx = (ThreadContext*)ctx->thread_registry.GetThreadLocked( 366 { ThreadRegistryLock lock(&ctx->thread_registry); } 390 thread_registry([](Tid tid) -> ThreadContextBase* { 585 ThreadRegistryLock lock0(&ctx->thread_registry); 817 ctx->thread_registry.Lock(); 845 ctx->thread_registry.Unlock(); 856 u32 nthread = ctx->thread_registry.OnFork(thr->tid);
|
| tsan_platform_mac.cpp | 173 ctx->thread_registry.GetNumberOfThreads(&nthread, &nlive);
|
| tsan_rtl_mutex.cpp | 58 ThreadRegistryLock l(&ctx->thread_registry); 531 ThreadRegistryLock l(&ctx->thread_registry); 559 ThreadRegistryLock l0(&ctx->thread_registry);
|
| tsan_interface_ann.cpp | 440 ThreadRegistryLock l(&ctx->thread_registry);
|
| tsan_mman.cpp | 174 ThreadRegistryLock l(&ctx->thread_registry);
|
| tsan_platform_linux.cpp | 126 ctx->thread_registry.GetNumberOfThreads(&nthread, &nlive);
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| 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.SetThreadUserId(tid, uid) [all...] |
| tsan_debugging.cpp | 218 ctx->thread_registry.Lock(); 220 ctx->thread_registry.Unlock(); 255 ThreadContextBase *tctx = ctx->thread_registry.GetThreadLocked(b->tid);
|
| 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.CheckLocked() [all...] |
| 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 */);
|
| 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);
|
| tsan_platform_mac.cpp | 164 ctx->thread_registry.GetNumberOfThreads(&nthread, &nlive);
|
| tsan_mman.cpp | 151 ThreadRegistryLock l(&ctx->thread_registry);
|