/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_mutex.cpp | 73 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexCreate() 83 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in MutexDestroy() 123 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in MutexDestroy() 145 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false); in MutexPreLock() 167 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexPostLock() 217 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexUnlock() 259 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false); in MutexPreReadLock() 273 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false); in MutexPostReadLock() 313 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexReadUnlock() 344 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexReadOrWriteUnlock() [all …]
|
D | tsan_mman.cpp | 225 ctx->metamap.AllocBlock(thr, pc, p, sz); in OnUserAlloc() 234 uptr sz = ctx->metamap.FreeBlock(thr->proc(), p); in OnUserFree() 318 MBlock *b = ctx->metamap.GetBlock((uptr)p); in user_alloc_usable_size() 403 ctx->metamap.OnProcIdle(thr->proc()); in __tsan_on_thread_idle()
|
D | tsan_interface_java.cpp | 113 ctx->metamap.FreeRange(thr->proc(), ptr, size); in __tsan_java_free() 133 ctx->metamap.MoveMemory(src, dst, size); in __tsan_java_move() 160 MBlock *b = ctx->metamap.GetBlock(from); in __tsan_java_find()
|
D | tsan_rtl_proc.cpp | 39 ctx->metamap.OnProcIdle(proc); in ProcDestroy()
|
D | tsan_debugging.cpp | 208 if (block_begin) b = ctx->metamap.GetBlock((uptr)block_begin); in __tsan_locate_address() 248 if (block_begin) b = ctx->metamap.GetBlock((uptr)block_begin); in __tsan_get_alloc_stack()
|
D | tsan_external.cpp | 105 if (block_begin) b = ctx->metamap.GetBlock((uptr)block_begin); in __tsan_external_assign_tag()
|
D | tsan_interface_atomic.cpp | 233 SyncVar *s = ctx->metamap.GetIfExistsAndLock((uptr)a, false); in AtomicLoad() 271 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true); in AtomicStore() 285 s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true); in AtomicRMW() 410 s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, write_lock); in AtomicCAS()
|
D | tsan_rtl_report.cpp | 281 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in AddMutex() 333 b = ctx->metamap.GetBlock((uptr)block_begin); in AddLocation()
|
D | tsan_rtl.h | 533 MetaMap metamap; member
|
D | tsan_rtl.cpp | 248 ctx->metamap.ResetRange(thr->proc(), addr, size); in UnmapShadow()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_mutex.cc | 75 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexCreate() 87 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in MutexDestroy() 125 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in MutexDestroy() 149 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexLock() 193 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexUnlock() 237 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false); in MutexReadLock() 272 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexReadUnlock() 303 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexReadOrWriteUnlock() 348 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexRepair() 356 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexInvalidAccess() [all …]
|
D | tsan_mman.cc | 182 ctx->metamap.AllocBlock(thr, pc, p, sz); in OnUserAlloc() 191 uptr sz = ctx->metamap.FreeBlock(thr->proc(), p); in OnUserFree() 218 MBlock *b = ctx->metamap.GetBlock((uptr)p); in user_alloc_usable_size() 301 ctx->metamap.OnProcIdle(thr->proc()); in __tsan_on_thread_idle()
|
D | tsan_rtl_proc.cc | 40 ctx->metamap.OnProcIdle(proc); in ProcDestroy()
|
D | tsan_interface_java.cc | 114 ctx->metamap.FreeRange(thr->proc(), ptr, size); in __tsan_java_free() 134 ctx->metamap.MoveMemory(src, dst, size); in __tsan_java_move()
|
D | tsan_interface_atomic.cc | 232 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, false); in AtomicLoad() 266 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true); in AtomicStore() 280 s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true); in AtomicRMW() 405 s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, write_lock); in AtomicCAS()
|
D | tsan_rtl_report.cc | 276 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in AddMutex() 328 b = ctx->metamap.GetBlock((uptr)block_begin); in AddLocation()
|
D | tsan_rtl.h | 511 MetaMap metamap; member
|
D | tsan_interceptors.cc | 737 ctx->metamap.ResetRange(thr->proc(), (uptr)addr, (uptr)sz); in TSAN_INTERCEPTOR()
|
/external/llvm-project/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_sync_test.cpp | 20 MetaMap *m = &ctx->metamap; in TEST() 35 MetaMap *m = &ctx->metamap; in TEST() 52 MetaMap *m = &ctx->metamap; in TEST() 75 MetaMap *m = &ctx->metamap; in TEST() 112 MetaMap *m = &ctx->metamap; in TEST()
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_sync_test.cc | 21 MetaMap *m = &ctx->metamap; in TEST() 36 MetaMap *m = &ctx->metamap; in TEST() 53 MetaMap *m = &ctx->metamap; in TEST() 76 MetaMap *m = &ctx->metamap; in TEST() 113 MetaMap *m = &ctx->metamap; in TEST()
|
/external/compiler-rt/lib/tsan/go/ |
D | tsan_go.cc | 93 MBlock *b = ctx->metamap.GetBlock(cbctx.start); in SymbolizeData() 205 ctx->metamap.AllocBlock(thr, pc, p, sz); in __tsan_malloc() 210 ctx->metamap.FreeRange(get_cur_proc(), p, sz); in __tsan_free()
|
/external/llvm-project/compiler-rt/lib/tsan/go/ |
D | tsan_go.cpp | 103 MBlock *b = ctx->metamap.GetBlock(cbctx.start); in SymbolizeData() 215 ctx->metamap.AllocBlock(thr, pc, p, sz); in __tsan_malloc() 220 ctx->metamap.FreeRange(get_cur_proc(), p, sz); in __tsan_free()
|