/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_sync_test.cc | 19 TEST(MetaMap, Basic) { 21 MetaMap *m = &ctx->metamap; 34 TEST(MetaMap, FreeRange) { 36 MetaMap *m = &ctx->metamap; 51 TEST(MetaMap, Sync) { 53 MetaMap *m = &ctx->metamap; 74 TEST(MetaMap, MoveMemory) [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_mman.cc | 130 ctx->metamap.AllocBlock(thr, pc, p, sz); 139 uptr sz = ctx->metamap.FreeBlock(thr, pc, p); 166 MBlock *b = ctx->metamap.GetBlock((uptr)p); 243 ctx->metamap.OnThreadIdle(thr);
|
tsan_rtl_mutex.cc | 75 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); 99 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr); 133 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr); 140 // s will be destroyed and freed in MetaMap::FreeBlock. 148 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); 192 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); 236 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false); 271 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); 302 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); 347 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true) [all...] |
tsan_interface_java.cc | 114 ctx->metamap.FreeRange(thr, pc, ptr, size); 134 ctx->metamap.MoveMemory(src, dst, size);
|
tsan_interface_atomic.cc | 255 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, false); 289 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true); 303 s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true); 428 s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, write_lock);
|
tsan_rtl_thread.cc | 146 ctx->metamap.OnThreadIdle(thr);
|
tsan_rtl_report.cc | 271 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr); 323 b = ctx->metamap.GetBlock((uptr)block_begin);
|
tsan_rtl.h | 478 MetaMap metamap; member in struct:__tsan::Context
|
tsan_interceptors.cc | 795 ctx->metamap.ResetRange(thr, pc, (uptr)addr, (uptr)sz); [all...] |