Home
last modified time | relevance | path

Searched refs:metamap (Results 1 – 10 of 10) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cc75 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 …]
Dtsan_mman.cc182 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()
Dtsan_rtl_proc.cc40 ctx->metamap.OnProcIdle(proc); in ProcDestroy()
Dtsan_interface_java.cc114 ctx->metamap.FreeRange(thr->proc(), ptr, size); in __tsan_java_free()
134 ctx->metamap.MoveMemory(src, dst, size); in __tsan_java_move()
Dtsan_interface_atomic.cc232 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()
Dtsan_rtl_report.cc276 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in AddMutex()
328 b = ctx->metamap.GetBlock((uptr)block_begin); in AddLocation()
Dtsan_rtl.h511 MetaMap metamap; member
Dtsan_interceptors.cc737 ctx->metamap.ResetRange(thr->proc(), (uptr)addr, (uptr)sz); in TSAN_INTERCEPTOR()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_sync_test.cc21 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/
Dtsan_go.cc93 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()