Lines Matching refs:Lock
59 RTCRITSECT Lock;
69 #define LOCK_NETSHAPER(a_pShaper) do { int rcShaper = RTCritSectEnter(&(a_pShaper)->Lock); AssertRC(rcShaper); } while (0)
73 do { int rcShaper = RTCritSectEnter(&(a_pShaper)->Lock); AssertRCReturn(rcShaper, rcShaper); } while (0)
76 #define UNLOCK_NETSHAPER(a_pShaper) do { int rcShaper = RTCritSectLeave(&(a_pShaper)->Lock); AssertRC(rcShaper); } while (0)
162 rc = PDMR3CritSectInit(pShaper->pVM, &pBwGroup->Lock, RT_SRC_POS, "BWGRP");
181 PDMR3CritSectDelete(&pBwGroup->Lock);
199 if (PDMCritSectIsInitialized(&pBwGroup->Lock))
200 PDMR3CritSectDelete(&pBwGroup->Lock);
226 Assert(RTCritSectIsOwner(&pBwGroup->pShaperR3->Lock));
254 int rc = PDMCritSectEnter(&pBwGroup->Lock, VERR_SEM_BUSY); AssertRC(rc);
259 rc = PDMCritSectLeave(&pBwGroup->Lock); AssertRC(rc);
273 Assert(RTCritSectIsOwner(&pBwGroup->pShaperR3->Lock));
274 int rc = PDMCritSectEnter(&pBwGroup->Lock, VERR_SEM_BUSY); AssertRC(rc);
289 rc = PDMCritSectLeave(&pBwGroup->Lock); AssertRC(rc);
385 rc = PDMCritSectEnter(&pBwGroup->Lock, VERR_SEM_BUSY); AssertRC(rc);
394 int rc2 = PDMCritSectLeave(&pBwGroup->Lock); AssertRC(rc2);
472 RTCritSectDelete(&pShaper->Lock);
497 rc = RTCritSectInit(&pShaper->Lock);
542 RTCritSectDelete(&pShaper->Lock);