Home
last modified time | relevance | path

Searched refs:GetOrCreateAndLock (Results 1 – 5 of 5) sorted by relevance

/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_sync_test.cc58 s1 = m->GetOrCreateAndLock(thr, 0, (uptr)&block[0], true); in TEST()
62 SyncVar *s2 = m->GetOrCreateAndLock(thr, 0, (uptr)&block[1], false); in TEST()
81 SyncVar *s1 = m->GetOrCreateAndLock(thr, 0, (uptr)&block1[0], true); in TEST()
83 SyncVar *s2 = m->GetOrCreateAndLock(thr, 0, (uptr)&block1[1], true); in TEST()
116 SyncVar *s = m->GetOrCreateAndLock(thr, 0, (uptr)&block[0], true); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cc75 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexCreate()
148 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexLock()
192 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexUnlock()
236 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false); in MutexReadLock()
271 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexReadUnlock()
302 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexReadOrWriteUnlock()
347 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexRepair()
357 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false); in Acquire()
384 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in Release()
396 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in ReleaseStore()
Dtsan_sync.h80 SyncVar* GetOrCreateAndLock(ThreadState *thr, uptr pc,
Dtsan_interface_atomic.cc255 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, false); in AtomicLoad()
289 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true); in AtomicStore()
303 s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true); in AtomicRMW()
428 s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, write_lock); in AtomicCAS()
Dtsan_sync.cc187 SyncVar* MetaMap::GetOrCreateAndLock(ThreadState *thr, uptr pc, in GetOrCreateAndLock() function in __tsan::MetaMap