Home
last modified time | relevance | path

Searched refs:thread_registry (Results 1 – 24 of 24) sorted by relevance

/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_thread.cpp26 static ThreadRegistry *thread_registry; variable
38 thread_registry = new (thread_registry_placeholder) in InitializeThreadRegistry()
51 return thread_registry->CreateThread(user_id, detached, parent_tid, arg); in ThreadCreate()
56 thread_registry->StartThread(tid, os_id, thread_type, arg); in ThreadStart()
61 thread_registry->FinishThread(GetCurrentThread()); in ThreadFinish()
66 if (!thread_registry) in CurrentThreadContext()
71 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext()
83 return thread_registry->FindThread(FindThreadByUid, (void *)uid); in ThreadTid()
88 thread_registry->DetachThread(tid, /* arg */ nullptr); in ThreadDetach()
93 thread_registry->JoinThread(tid, /* arg */ nullptr); in ThreadJoin()
[all …]
/external/compiler-rt/lib/lsan/
Dlsan_thread.cc27 static ThreadRegistry *thread_registry; variable
40 thread_registry = new(thread_registry_placeholder) in InitializeThreadRegistry()
86 return thread_registry->CreateThread(user_id, detached, parent_tid, in ThreadCreate()
100 thread_registry->StartThread(tid, os_id, &args); in ThreadStart()
104 thread_registry->FinishThread(GetCurrentThread()); in ThreadFinish()
108 if (!thread_registry) return nullptr; in CurrentThreadContext()
112 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext()
124 return thread_registry->FindThread(FindThreadByUid, (void*)uid); in ThreadTid()
129 thread_registry->JoinThread(tid, /* arg */nullptr); in ThreadJoin()
143 thread_registry->FindThreadContextByOsIDLocked(os_id)); in GetThreadRangesLocked()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc202 ThreadRegistryLock l(ctx->thread_registry); in ThreadFinalize()
204 ctx->thread_registry->RunCallbackForEachThreadLocked( in ThreadFinalize()
217 ctx->thread_registry->GetNumberOfThreads(0, 0, &result); in ThreadCount()
226 ctx->thread_registry->CreateThread(uid, detached, parent_tid, &args); in ThreadCreate()
228 StatSet(thr, StatThreadMaxAlive, ctx->thread_registry->GetMaxAliveThreads()); in ThreadCreate()
260 ThreadRegistry *tr = ctx->thread_registry; in ThreadStart()
285 ctx->thread_registry->FinishThread(thr->tid); in ThreadFinish()
298 int res = ctx->thread_registry->FindThread(FindThreadByUid, (void*)uid); in ThreadTid()
307 ctx->thread_registry->JoinThread(tid, thr); in ThreadJoin()
313 ctx->thread_registry->DetachThread(tid, thr); in ThreadDetach()
[all …]
Dtsan_rtl_report.cc143 ctx->thread_registry->CheckLocked(); in ScopedReport()
214 ctx->thread_registry->CheckLocked(); in FindThreadByUidLocked()
216 ctx->thread_registry->FindThreadContextLocked( in FindThreadByUidLocked()
221 ctx->thread_registry->CheckLocked(); in FindThreadByTidLocked()
223 ctx->thread_registry->GetThreadLocked(tid)); in FindThreadByTidLocked()
238 ctx->thread_registry->CheckLocked(); in IsThreadStackOrTls()
240 ctx->thread_registry->FindThreadContextLocked(IsInStackOrTls, in IsThreadStackOrTls()
645 ThreadRegistryLock l0(ctx->thread_registry); in ReportRace()
655 ctx->thread_registry->GetThreadLocked(s.tid())); in ReportRace()
Dtsan_rtl_mutex.cc55 ThreadRegistryLock l(ctx->thread_registry); in ReportMutexMisuse()
113 ThreadRegistryLock l(ctx->thread_registry); in MutexDestroy()
386 ThreadRegistryLock l(ctx->thread_registry); in AcquireGlobal()
387 ctx->thread_registry->RunCallbackForEachThreadLocked( in AcquireGlobal()
430 ThreadRegistryLock l(ctx->thread_registry); in AfterSleep()
431 ctx->thread_registry->RunCallbackForEachThreadLocked( in AfterSleep()
475 ThreadRegistryLock l(ctx->thread_registry); in ReportDeadlock()
Dtsan_rtl.cc100 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( in Context()
139 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads); in MemoryProfiler()
439 ctx->thread_registry->Lock(); in ForkBefore()
445 ctx->thread_registry->Unlock(); in ForkParentAfter()
450 ctx->thread_registry->Unlock(); in ForkChildAfter()
453 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */); in ForkChildAfter()
Dtsan_mman.cc143 ThreadRegistryLock l(ctx->thread_registry); in SignalUnsafeCall()
Dtsan_rtl.h521 ThreadRegistry *thread_registry; member
Dtsan_interceptors.cc1818 ThreadRegistryLock l(ctx->thread_registry); in CallUserSignalHandler()
2230 __tsan::ctx->thread_registry->SetThreadNameByUserId(thread, name)
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cpp215 ThreadRegistryLock l(ctx->thread_registry); in ThreadFinalize()
217 ctx->thread_registry->RunCallbackForEachThreadLocked( in ThreadFinalize()
230 ctx->thread_registry->GetNumberOfThreads(0, 0, &result); in ThreadCount()
239 ctx->thread_registry->CreateThread(uid, detached, parent_tid, &args); in ThreadCreate()
241 StatSet(thr, StatThreadMaxAlive, ctx->thread_registry->GetMaxAliveThreads()); in ThreadCreate()
263 ThreadRegistry *tr = ctx->thread_registry; in ThreadStart()
288 ctx->thread_registry->FinishThread(thr->tid); in ThreadFinish()
315 ctx->thread_registry->FindThread(ConsumeThreadByUid, &findCtx); in ThreadConsumeTid()
325 ctx->thread_registry->JoinThread(tid, thr); in ThreadJoin()
331 ctx->thread_registry->DetachThread(tid, thr); in ThreadDetach()
[all …]
Dtsan_rtl_report.cpp146 ctx->thread_registry->CheckLocked(); in ScopedReportBase()
219 ctx->thread_registry->CheckLocked(); in FindThreadByUidLocked()
221 ctx->thread_registry->FindThreadContextLocked( in FindThreadByUidLocked()
226 ctx->thread_registry->CheckLocked(); in FindThreadByTidLocked()
228 ctx->thread_registry->GetThreadLocked(tid)); in FindThreadByTidLocked()
243 ctx->thread_registry->CheckLocked(); in IsThreadStackOrTls()
245 ctx->thread_registry->FindThreadContextLocked(IsInStackOrTls, in IsThreadStackOrTls()
682 ThreadRegistryLock l0(ctx->thread_registry); in ReportRace()
693 ctx->thread_registry->GetThreadLocked(s.tid())); in ReportRace()
Dtsan_debugging.cpp218 ctx->thread_registry->Lock(); in __tsan_locate_address()
220 ctx->thread_registry->Unlock(); in __tsan_locate_address()
255 ThreadContextBase *tctx = ctx->thread_registry->GetThreadLocked(b->tid); in __tsan_get_alloc_stack()
Dtsan_rtl_mutex.cpp54 ThreadRegistryLock l(ctx->thread_registry); in ReportMutexMisuse()
111 ThreadRegistryLock l(ctx->thread_registry); in MutexDestroy()
429 ThreadRegistryLock l(ctx->thread_registry); in AcquireGlobal()
430 ctx->thread_registry->RunCallbackForEachThreadLocked( in AcquireGlobal()
485 ThreadRegistryLock l(ctx->thread_registry); in AfterSleep()
486 ctx->thread_registry->RunCallbackForEachThreadLocked( in AfterSleep()
539 ThreadRegistryLock l(ctx->thread_registry); in ReportDeadlock()
Dtsan_rtl.cpp101 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( in Context()
141 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads); in MemoryProfiler()
500 ctx->thread_registry->Lock(); in ForkBefore()
514 ctx->thread_registry->Unlock(); in ForkParentAfter()
520 ctx->thread_registry->Unlock(); in ForkChildAfter()
523 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */); in ForkChildAfter()
Dtsan_mman.cpp154 ThreadRegistryLock l(ctx->thread_registry); in SignalUnsafeCall()
Dtsan_rtl.h543 ThreadRegistry *thread_registry; member
Dtsan_interceptors_posix.cpp1980 ThreadRegistryLock l(ctx->thread_registry); in CallUserSignalHandler()
2333 __tsan::ctx->thread_registry->SetThreadNameByUserId(thread, name)
/external/webrtc/rtc_base/system/
DBUILD.gn73 rtc_source_set("thread_registry") {
74 sources = [ "thread_registry.h" ]
80 sources += [ "thread_registry.cc" ]
DDEPS2 "thread_registry\.cc": [
/external/webrtc/video/
DBUILD.gn133 "../rtc_base/system:thread_registry",
/external/webrtc/sdk/android/
DBUILD.gn747 "../../rtc_base/system:thread_registry",
/external/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi9761 <!-- __sanitizer::ThreadRegistry* __tsan::Context::thread_registry -->
9762 …<var-decl name='thread_registry' type-id='type-id-511' visibility='default' filepath='../../.././l…
29872 <!-- __sanitizer::ThreadRegistry* __tsan::Context::thread_registry -->
29873 …<var-decl name='thread_registry' type-id='type-id-511' visibility='default' filepath='../../.././l…
/external/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi5769 …<var-decl name='thread_registry' type-id='type-id-511' visibility='default' filepath='../../.././l…
17509 …<var-decl name='thread_registry' type-id='type-id-511' visibility='default' filepath='../../.././l…
/external/webrtc/android_tools/
Dsorted_targets.txt74163 "//rtc_base/system:thread_registry",