Lines Matching defs:hNativeSelf

70     RTNATIVETHREAD  hNativeSelf = RTThreadNativeSelf();
76 RTNATIVETHREAD hNativeSelf = pVCpu->hNativeThread; Assert(hNativeSelf != NIL_RTNATIVETHREAD);
78 return hNativeSelf;
88 * @param hNativeSelf The native handle of this thread.
90 DECL_FORCE_INLINE(int) pdmCritSectEnterFirst(PPDMCRITSECT pCritSect, RTNATIVETHREAD hNativeSelf, PCRTLOCKVALSRCPOS pSrcPos)
97 ASMAtomicWriteHandle(&pCritSect->s.Core.NativeThreadOwner, hNativeSelf);
118 * @param hNativeSelf The native thread handle.
120 static int pdmR3R0CritSectEnterContended(PPDMCRITSECT pCritSect, RTNATIVETHREAD hNativeSelf, PCRTLOCKVALSRCPOS pSrcPos)
126 return pdmCritSectEnterFirst(pCritSect, hNativeSelf, pSrcPos);
182 return pdmCritSectEnterFirst(pCritSect, hNativeSelf, pSrcPos);
234 RTNATIVETHREAD hNativeSelf = pdmCritSectGetNativeSelf(pCritSect);
237 return pdmCritSectEnterFirst(pCritSect, hNativeSelf, pSrcPos);
240 if (pCritSect->s.Core.NativeThreadOwner == hNativeSelf)
257 return pdmCritSectEnterFirst(pCritSect, hNativeSelf, pSrcPos);
271 return pdmR3R0CritSectEnterContended(pCritSect, hNativeSelf, pSrcPos);
293 rc = pdmR3R0CritSectEnterContended(pCritSect, hNativeSelf, pSrcPos);
303 rc = pdmR3R0CritSectEnterContended(pCritSect, hNativeSelf, pSrcPos);
316 return pdmR3R0CritSectEnterContended(pCritSect, hNativeSelf, pSrcPos);
426 RTNATIVETHREAD hNativeSelf = pdmCritSectGetNativeSelf(pCritSect);
429 return pdmCritSectEnterFirst(pCritSect, hNativeSelf, pSrcPos);
432 if (pCritSect->s.Core.NativeThreadOwner == hNativeSelf)
554 RTNATIVETHREAD const hNativeSelf = pdmCritSectGetNativeSelf(pCritSect);
555 AssertReleaseMsgReturn(pCritSect->s.Core.NativeThreadOwner == hNativeSelf,
557 pCritSect->s.Core.NativeThreadOwner, hNativeSelf,