Home
last modified time | relevance | path

Searched refs:in_rtl (Results 1 – 20 of 20) sorted by relevance

/external/compiler-rt/lib/tsan/go/
Dtsan_go.cc97 thr->in_rtl++; in __tsan_init()
99 thr->in_rtl--; in __tsan_init()
105 thr->in_rtl++; in __tsan_fini()
107 thr->in_rtl--; in __tsan_fini()
133 thr->in_rtl++; in __tsan_malloc()
136 thr->in_rtl--; in __tsan_malloc()
149 thr->in_rtl++; in __tsan_go_start()
150 parent->in_rtl++; in __tsan_go_start()
153 parent->in_rtl--; in __tsan_go_start()
154 thr->in_rtl--; in __tsan_go_start()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mman.cc46 CHECK_GT(thr->in_rtl, 0); in user_alloc()
63 CHECK_GT(thr->in_rtl, 0); in user_free()
79 if (CTX() && CTX()->initialized && thr->in_rtl == 1) { in user_free()
87 CHECK_GT(thr->in_rtl, 0); in user_realloc()
114 CHECK_GT(thr->in_rtl, 0); in internal_alloc()
124 CHECK_GT(thr->in_rtl, 0); in internal_free()
Dtsan_rtl_mutex.cc26 CHECK_GT(thr->in_rtl, 0); in MutexCreate()
40 CHECK_GT(thr->in_rtl, 0); in MutexDestroy()
73 CHECK_GT(thr->in_rtl, 0); in MutexLock()
105 CHECK_GT(thr->in_rtl, 0); in MutexUnlock()
141 CHECK_GT(thr->in_rtl, 0); in MutexReadLock()
161 CHECK_GT(thr->in_rtl, 0); in MutexReadUnlock()
182 CHECK_GT(thr->in_rtl, 0); in MutexReadOrWriteUnlock()
225 CHECK_GT(thr->in_rtl, 0); in Acquire()
235 CHECK_GT(thr->in_rtl, 0); in Release()
245 CHECK_GT(thr->in_rtl, 0); in ReleaseStore()
Dtsan_platform_linux.cc59 in_rtl_ = thr_->in_rtl; in ScopedInRtl()
60 thr_->in_rtl++; in ScopedInRtl()
65 thr_->in_rtl--; in ~ScopedInRtl()
67 CHECK_EQ(in_rtl_, thr_->in_rtl); in ~ScopedInRtl()
89 ScopedInRtl in_rtl; in ProtectRange() local
Dtsan_interceptors.cc116 ScopedInRtl in_rtl; in SigCtx() local
134 , in_rtl_(thr->in_rtl) { in ScopedInterceptor()
135 if (thr_->in_rtl == 0) { in ScopedInterceptor()
138 thr_->in_rtl++; in ScopedInterceptor()
141 thr_->in_rtl++; in ScopedInterceptor()
146 thr_->in_rtl--; in ~ScopedInterceptor()
147 if (thr_->in_rtl == 0) { in ~ScopedInterceptor()
151 CHECK_EQ(in_rtl_, thr_->in_rtl); in ~ScopedInterceptor()
171 if (thr->in_rtl > 1) \
182 if (thr->in_rtl > 1) \
[all …]
Dtsan_rtl_thread.cc42 CHECK_GT(thr->in_rtl, 0); in ThreadFinalize()
57 CHECK_GT(thr->in_rtl, 0); in ThreadDead()
76 CHECK_GT(thr->in_rtl, 0); in ThreadCreate()
141 CHECK_GT(thr->in_rtl, 0); in ThreadStart()
197 CHECK_GT(thr->in_rtl, 0); in ThreadFinish()
251 CHECK_GT(thr->in_rtl, 0); in ThreadTid()
269 CHECK_GT(thr->in_rtl, 0); in ThreadJoin()
288 CHECK_GT(thr->in_rtl, 0); in ThreadDetach()
Dtsan_rtl.cc122 ScopedInRtl in_rtl; in MemoryProfileThread() local
147 ScopedInRtl in_rtl; in MemoryFlushThread() local
168 ScopedInRtl in_rtl; in Initialize() local
200 CHECK_EQ(thr->in_rtl, 1); in Initialize()
212 ScopedInRtl in_rtl; in Finalize() local
251 ScopedInRtl in_rtl; in TraceSwitch() local
490 DCHECK_EQ(thr->in_rtl, 0); in FuncEntry()
519 DCHECK_EQ(thr->in_rtl, 0); in FuncExit()
Dtsan_interface_ann.cc34 , in_rtl_(thr->in_rtl) { in ScopedAnnotation()
35 CHECK_EQ(thr_->in_rtl, 0); in ScopedAnnotation()
37 thr_->in_rtl++; in ScopedAnnotation()
42 thr_->in_rtl--; in ~ScopedAnnotation()
43 CHECK_EQ(in_rtl_, thr_->in_rtl); in ~ScopedAnnotation()
Dtsan_printf.cc29 ScopedInRtl in_rtl; in TsanPrintf() local
Dtsan_interface_atomic.cc25 CHECK_EQ(thr_->in_rtl, 1); // 1 due to our own ScopedInRtl member. in ScopedAtomic()
29 CHECK_EQ(thr_->in_rtl, 1); in ~ScopedAtomic()
Dtsan_rtl_report.cc30 ScopedInRtl in_rtl; in CheckFailed() local
371 ScopedInRtl in_rtl; in ReportRace() local
Dtsan_rtl.h277 int in_rtl; member
/external/compiler-rt/lib/tsan/unit_tests/
Dtsan_clock_test.cc20 ScopedInRtl in_rtl; in TEST() local
37 ScopedInRtl in_rtl; in TEST() local
54 ScopedInRtl in_rtl; in TEST() local
70 ScopedInRtl in_rtl; in TEST() local
88 ScopedInRtl in_rtl; in TEST() local
Dtsan_suppressions_test.cc22 ScopedInRtl in_rtl; in TEST() local
47 ScopedInRtl in_rtl; in TEST() local
66 ScopedInRtl in_rtl; in TEST() local
83 ScopedInRtl in_rtl; in TEST() local
Dtsan_stack_test.cc45 ScopedInRtl in_rtl; in TEST() local
51 ScopedInRtl in_rtl; in TEST() local
60 ScopedInRtl in_rtl; in TEST() local
Dtsan_flags_test.cc20 ScopedInRtl in_rtl; in TEST() local
28 ScopedInRtl in_rtl; in TEST() local
Dtsan_vector_test.cc20 ScopedInRtl in_rtl; in TEST() local
33 ScopedInRtl in_rtl; in TEST() local
Dtsan_mman_test.cc20 ScopedInRtl in_rtl; in TEST() local
37 ScopedInRtl in_rtl; in TEST() local
64 ScopedInRtl in_rtl; in TEST() local
Dtsan_sync_test.cc28 ScopedInRtl in_rtl; in TEST() local
Dtsan_platform_test.cc20 ScopedInRtl in_rtl; in TestThreadInfo() local