Lines Matching refs:Lock
83 Lock lock(&ctx->slot_mtx); in TracePartAlloc()
92 Lock trace_lock(&trace1->mtx); in TracePartAlloc()
125 Lock lock(&ctx->slot_mtx); in TraceResetForTesting()
138 Lock lock1(&ctx->slot_mtx); in DoResetImpl()
151 Lock lock(&trace->mtx); in DoResetImpl()
235 slot.mtx.Lock(); in DoReset()
259 Lock lock(&ctx->slot_mtx); in FindSlotAndLock()
282 slot->mtx.Lock(); in FindSlotAndLock()
329 Lock l(&trace->mtx); in SlotDetachImpl()
341 Lock l(&ctx->slot_mtx); in SlotDetachImpl()
353 Lock lock(&thr->slot->mtx); in SlotDetach()
364 { Lock lock(&ctx->slot_mtx); } in SlotLock()
367 slot->mtx.Lock(); in SlotLock()
510 Lock l(&ctx->report_mtx); in BackgroundThread()
813 for (auto& slot : ctx->slots) slot.mtx.Lock(); in ForkBefore()
814 ctx->thread_registry.Lock(); in ForkBefore()
815 ctx->slot_mtx.Lock(); in ForkBefore()
816 ScopedErrorReportLock::Lock(); in ForkBefore()
972 Lock lock(&trace->mtx); in TraceSwitchPartImpl()
1016 Lock lock(&ctx->slot_mtx); in TraceSwitchPartImpl()