• Home
  • Raw
  • Download

Lines Matching refs:SyncVar

43 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) {  in DDMutexInit()
75 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexCreate()
87 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in MutexDestroy()
102 && s->owner_tid != SyncVar::kInvalidTid in MutexDestroy()
125 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in MutexDestroy()
149 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexLock()
153 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexLock()
193 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexUnlock()
208 s->owner_tid = SyncVar::kInvalidTid; in MutexUnlock()
237 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false); in MutexReadLock()
241 if (s->owner_tid != SyncVar::kInvalidTid) { in MutexReadLock()
272 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexReadUnlock()
276 if (s->owner_tid != SyncVar::kInvalidTid) { in MutexReadUnlock()
303 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexReadOrWriteUnlock()
306 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexReadOrWriteUnlock()
321 s->owner_tid = SyncVar::kInvalidTid; in MutexReadOrWriteUnlock()
348 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexRepair()
349 s->owner_tid = SyncVar::kInvalidTid; in MutexRepair()
356 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexInvalidAccess()
366 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, false); in Acquire()
395 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in Release()
407 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in ReleaseStore()