Lines Matching defs:rcBusy

146  * @param   rcBusy      The busy return code for ring-0 and ring-3.
151 static int pdmCritSectRwEnterShared(PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly, PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal)
368 * back to ring-3 and do it there or return rcBusy.
371 if (rcBusy == VINF_SUCCESS)
379 return rcBusy;
405 * @retval @a rcBusy if in ring-0 or raw-mode context and it is busy.
411 * @param rcBusy The status code to return when we're in RC or R0 and the
422 VMMDECL(int) PDMCritSectRwEnterShared(PPDMCRITSECTRW pThis, int rcBusy)
425 return pdmCritSectRwEnterShared(pThis, rcBusy, false /*fTryOnly*/, NULL, false /*fNoVal*/);
428 return pdmCritSectRwEnterShared(pThis, rcBusy, false /*fTryOnly*/, &SrcPos, false /*fNoVal*/);
438 * @retval @a rcBusy if in ring-0 or raw-mode context and it is busy.
444 * @param rcBusy The status code to return when we're in RC or R0 and the
455 VMMDECL(int) PDMCritSectRwEnterSharedDebug(PPDMCRITSECTRW pThis, int rcBusy, RTHCUINTPTR uId, RT_SRC_POS_DECL)
459 return pdmCritSectRwEnterShared(pThis, rcBusy, false /*fTryOnly*/, NULL, false /*fNoVal*/);
462 return pdmCritSectRwEnterShared(pThis, rcBusy, false /*fTryOnly*/, &SrcPos, false /*fNoVal*/);
699 * @param rcBusy The busy return code for ring-0 and ring-3.
704 static int pdmCritSectRwEnterExcl(PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly, PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal)
896 ring-3 and do it there or return rcBusy. */
913 if (rcBusy == VINF_SUCCESS)
922 return rcBusy;
949 * @retval @a rcBusy if in ring-0 or raw-mode context and it is busy.
955 * @param rcBusy The status code to return when we're in RC or R0 and the
963 VMMDECL(int) PDMCritSectRwEnterExcl(PPDMCRITSECTRW pThis, int rcBusy)
966 return pdmCritSectRwEnterExcl(pThis, rcBusy, false /*fTryAgain*/, NULL, false /*fNoVal*/);
969 return pdmCritSectRwEnterExcl(pThis, rcBusy, false /*fTryAgain*/, &SrcPos, false /*fNoVal*/);
979 * @retval @a rcBusy if in ring-0 or raw-mode context and it is busy.
985 * @param rcBusy The status code to return when we're in RC or R0 and the
997 VMMDECL(int) PDMCritSectRwEnterExclDebug(PPDMCRITSECTRW pThis, int rcBusy, RTHCUINTPTR uId, RT_SRC_POS_DECL)
1001 return pdmCritSectRwEnterExcl(pThis, rcBusy, false /*fTryAgain*/, NULL, false /*fNoVal*/);
1004 return pdmCritSectRwEnterExcl(pThis, rcBusy, false /*fTryAgain*/, &SrcPos, false /*fNoVal*/);