/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_inl.h | 22 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1); in __tsan_read1() 26 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2); in __tsan_read2() 30 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4); in __tsan_read4() 34 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read8() 38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1); in __tsan_write1() 42 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2); in __tsan_write2() 46 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4); in __tsan_write4() 50 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_write8() 56 MemoryWrite(cur_thread(), CALLERPC, (uptr)vptr_p, kSizeLog8); in __tsan_vptr_update() 60 FuncEntry(cur_thread(), (uptr)pc); in __tsan_func_entry() [all …]
|
D | tsan_interface.cc | 23 Initialize(cur_thread()); in __tsan_init() 27 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read16() 28 MemoryRead(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_read16() 32 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_write16() 33 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_write16() 37 Acquire(cur_thread(), CALLERPC, (uptr)addr); in __tsan_acquire() 41 Release(cur_thread(), CALLERPC, (uptr)addr); in __tsan_release()
|
D | tsan_mutex.cc | 213 cur_thread()->deadlock_detector.Lock(type_); in Lock() 225 StatInc(cur_thread(), stat_type_, backoff.Contention()); in Lock() 238 cur_thread()->deadlock_detector.Unlock(type_); in Unlock() 244 cur_thread()->deadlock_detector.Lock(type_); in ReadLock() 253 StatInc(cur_thread(), stat_type_, backoff.Contention()); in ReadLock() 266 cur_thread()->deadlock_detector.Unlock(type_); in ReadUnlock()
|
D | tsan_mman.cc | 176 ThreadState *thr = cur_thread(); in invoke_malloc_hook() 184 ThreadState *thr = cur_thread(); in invoke_free_hook() 191 ThreadState *thr = cur_thread(); in internal_alloc() 201 ThreadState *thr = cur_thread(); in internal_free() 258 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle()
|
D | tsan_interface_ann.cc | 55 ThreadState *thr = cur_thread(); \ 165 Release(cur_thread(), CALLERPC, addr); in AnnotateHappensBefore() 170 Acquire(cur_thread(), CALLERPC, addr); in AnnotateHappensAfter() 326 IgnoreCtl(cur_thread(), false, true); in AnnotateIgnoreReadsBegin() 331 IgnoreCtl(cur_thread(), false, false); in AnnotateIgnoreReadsEnd() 336 IgnoreCtl(cur_thread(), true, true); in AnnotateIgnoreWritesBegin()
|
D | tsan_symbolize.cc | 27 ThreadState *thr = cur_thread(); in ScopedInSymbolizer() 33 ThreadState *thr = cur_thread(); in ~ScopedInSymbolizer()
|
D | tsan_interceptors.cc | 174 ThreadState *thr = cur_thread(); \ 295 ThreadState * thr = cur_thread(); in finalize() 298 int status = Finalize(cur_thread()); in finalize() 304 if (cur_thread()->in_symbolizer) in TSAN_INTERCEPTOR() 311 if (cur_thread()->in_symbolizer) in TSAN_INTERCEPTOR() 318 if (cur_thread()->in_symbolizer) in TSAN_INTERCEPTOR() 339 if (cur_thread()->in_symbolizer) in TSAN_INTERCEPTOR() 356 if (cur_thread()->in_symbolizer) in TSAN_INTERCEPTOR() 370 if (cur_thread()->in_symbolizer) in TSAN_INTERCEPTOR() 385 if (cur_thread()->in_symbolizer) in TSAN_INTERCEPTOR() [all …]
|
D | tsan_interface_java.cc | 43 ThreadState *thr = cur_thread(); in ~BlockDesc() 158 ThreadState *thr = cur_thread(); \
|
D | tsan_rtl.cc | 313 TraceSwitch(cur_thread()); in __tsan_trace_switch() 317 ReportRace(cur_thread()); in __tsan_report_race()
|
D | tsan_platform_linux.cc | 54 : thr_(cur_thread()) { in ScopedInRtl()
|
D | tsan_rtl.h | 456 INLINE ThreadState *cur_thread() { in cur_thread() function
|
D | tsan_interface_atomic.cc | 36 ThreadState *const thr = cur_thread(); \
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mman_test.cc | 49 ThreadState *thr = cur_thread(); in TEST() 76 ThreadState *thr = cur_thread(); in TEST() 122 ThreadState *thr = cur_thread(); in TEST() 135 ThreadState *thr = cur_thread(); in TEST()
|
D | tsan_sync_test.cc | 29 ThreadState *thr = cur_thread(); in TEST()
|
/external/qemu/memcheck/ |
D | memcheck_proc_management.c | 339 const ThreadDesc* cur_thread = get_current_thread(); in get_current_process() local 340 if (cur_thread != NULL) { in get_current_process() 341 current_process = cur_thread->process; in get_current_process()
|