Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cpp73 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 …]
Dtsan_mman.cpp225 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()
Dtsan_interface_java.cpp113 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()
Dtsan_rtl_proc.cpp39 ctx->metamap.OnProcIdle(proc); in ProcDestroy()
Dtsan_debugging.cpp208 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()
Dtsan_external.cpp105 if (block_begin) b = ctx->metamap.GetBlock((uptr)block_begin); in __tsan_external_assign_tag()
Dtsan_interface_atomic.cpp233 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()
Dtsan_rtl_report.cpp281 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in AddMutex()
333 b = ctx->metamap.GetBlock((uptr)block_begin); in AddLocation()
Dtsan_rtl.h533 MetaMap metamap; member
Dtsan_rtl.cpp248 ctx->metamap.ResetRange(thr->proc(), addr, size); in UnmapShadow()
/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/llvm-project/compiler-rt/lib/tsan/tests/unit/
Dtsan_sync_test.cpp20 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/
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()
/external/llvm-project/compiler-rt/lib/tsan/go/
Dtsan_go.cpp103 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()