Searched refs:fTryOnly (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/VMM/VMMAll/
H A DPDMAllCritSectRw.cpp147 * @param fTryOnly Only try enter it, don't wait.
151 static int pdmCritSectRwEnterShared(PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly, PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal) argument
161 if (!fTryOnly)
240 if (fTryOnly)
425 return pdmCritSectRwEnterShared(pThis, rcBusy, false /*fTryOnly*/, NULL, false /*fNoVal*/);
428 return pdmCritSectRwEnterShared(pThis, rcBusy, false /*fTryOnly*/, &SrcPos, false /*fNoVal*/);
459 return pdmCritSectRwEnterShared(pThis, rcBusy, false /*fTryOnly*/, NULL, false /*fNoVal*/);
462 return pdmCritSectRwEnterShared(pThis, rcBusy, false /*fTryOnly*/, &SrcPos, false /*fNoVal*/);
489 return pdmCritSectRwEnterShared(pThis, VERR_SEM_BUSY, true /*fTryOnly*/, NULL, false /*fNoVal*/);
492 return pdmCritSectRwEnterShared(pThis, VERR_SEM_BUSY, true /*fTryOnly*/,
[all...]
/vbox/src/VBox/Runtime/generic/
H A Dcritsectrw-generic.cpp153 static int rtCritSectRwEnterShared(PRTCRITSECTRW pThis, PCRTLOCKVALSRCPOS pSrcPos, bool fTryOnly) argument
163 if (!fTryOnly)
234 if (fTryOnly)
345 return rtCritSectRwEnterShared(pThis, NULL, false /*fTryOnly*/);
348 return rtCritSectRwEnterShared(pThis, &SrcPos, false /*fTryOnly*/);
357 return rtCritSectRwEnterShared(pThis, &SrcPos, false /*fTryOnly*/);
365 return rtCritSectRwEnterShared(pThis, NULL, true /*fTryOnly*/);
368 return rtCritSectRwEnterShared(pThis, &SrcPos, true /*fTryOnly*/);
377 return rtCritSectRwEnterShared(pThis, &SrcPos, true /*fTryOnly*/);
456 static int rtCritSectRwEnterExcl(PRTCRITSECTRW pThis, PCRTLOCKVALSRCPOS pSrcPos, bool fTryOnly)
[all...]

Completed in 44 milliseconds