Home
last modified time | relevance | path

Searched refs:cur_thread (Results 1 – 15 of 15) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_interface_inl.h22 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 …]
Dtsan_interface.cc23 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()
Dtsan_mutex.cc213 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()
Dtsan_mman.cc176 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()
Dtsan_interface_ann.cc55 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()
Dtsan_symbolize.cc27 ThreadState *thr = cur_thread(); in ScopedInSymbolizer()
33 ThreadState *thr = cur_thread(); in ~ScopedInSymbolizer()
Dtsan_interceptors.cc174 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 …]
Dtsan_interface_java.cc43 ThreadState *thr = cur_thread(); in ~BlockDesc()
158 ThreadState *thr = cur_thread(); \
Dtsan_rtl.cc313 TraceSwitch(cur_thread()); in __tsan_trace_switch()
317 ReportRace(cur_thread()); in __tsan_report_race()
Dtsan_platform_linux.cc54 : thr_(cur_thread()) { in ScopedInRtl()
Dtsan_rtl.h456 INLINE ThreadState *cur_thread() { in cur_thread() function
Dtsan_interface_atomic.cc36 ThreadState *const thr = cur_thread(); \
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mman_test.cc49 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()
Dtsan_sync_test.cc29 ThreadState *thr = cur_thread(); in TEST()
/external/qemu/memcheck/
Dmemcheck_proc_management.c339 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()