Lines Matching refs:mtx
91 Lock trace_lock(&trace1->mtx); in TracePartAlloc()
150 Lock lock(&trace->mtx); in DoResetImpl()
234 slot.mtx.Lock(); in DoReset()
240 slot.mtx.Unlock(); in DoReset()
246 for (auto& slot : ctx->slots) slot.mtx.Unlock(); in DoReset()
252 SANITIZER_ACQUIRE(thr->slot->mtx) SANITIZER_NO_THREAD_SAFETY_ANALYSIS { in FindSlotAndLock()
265 slot->mtx.Unlock(); in FindSlotAndLock()
281 slot->mtx.Lock(); in FindSlotAndLock()
328 Lock l(&trace->mtx); in SlotDetachImpl()
352 Lock lock(&thr->slot->mtx); in SlotDetach()
366 slot->mtx.Lock(); in SlotLock()
372 slot->mtx.Unlock(); in SlotLock()
379 thr->slot->mtx.Unlock(); in SlotUnlock()
403 TidSlot::TidSlot() : mtx(MutexTypeSlot) {} in TidSlot()
812 for (auto& slot : ctx->slots) slot.mtx.Lock(); in ForkBefore()
842 for (auto& slot : ctx->slots) slot.mtx.Unlock(); in ForkAfter()
968 Lock lock(&trace->mtx); in TraceSwitchPartImpl()