Searched defs:hNativeSelf (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/VMM/VMMAll/
H A DPDMAllCritSect.cpp70 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
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) argument
97 ASMAtomicWriteHandle(&pCritSect->s.Core.NativeThreadOwner, hNativeSelf);
118 * @param hNativeSelf The native thread handle.
120 static int pdmR3R0CritSectEnterContended(PPDMCRITSECT pCritSect, RTNATIVETHREAD hNativeSelf, PCRTLOCKVALSRCPOS pSrcPos) argument
126 return pdmCritSectEnterFirst(pCritSect, hNativeSelf, pSrcPo
554 RTNATIVETHREAD const hNativeSelf = pdmCritSectGetNativeSelf(pCritSect); local
[all...]
H A DPDMAllCritSectRw.cpp80 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
86 RTNATIVETHREAD hNativeSelf = pVCpu->hNativeThread; Assert(hNativeSelf != NIL_RTNATIVETHREAD);
88 return hNativeSelf;
218 RTNATIVETHREAD hNativeSelf = pdmCritSectRwGetNativeSelf(pThis);
221 if (hNativeSelf == hNativeWriter)
645 RTNATIVETHREAD hNativeSelf = pdmCritSectRwGetNativeSelf(pThis);
648 AssertReturn(hNativeSelf == hNativeWriter, VERR_NOT_OWNER);
726 RTNATIVETHREAD hNativeSelf = pdmCritSectRwGetNativeSelf(pThis);
729 if (hNativeSelf
[all...]
/vbox/src/VBox/Runtime/r0drv/darwin/
H A Dsemmutex-r0drv-darwin.cpp159 * @param hNativeSelf The thread handle of the caller.
162 wait_interrupt_t fInterruptible, RTNATIVETHREAD hNativeSelf)
198 pThis->hNativeOwner = hNativeSelf;
271 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
276 if (pThis->hNativeOwner == hNativeSelf)
287 pThis->hNativeOwner = hNativeSelf;
297 return rtR0SemMutexDarwinRequestSleep(pThis, cMillies, fInterruptible, hNativeSelf);
341 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
345 if (pThis->hNativeOwner == hNativeSelf)
161 rtR0SemMutexDarwinRequestSleep(PRTSEMMUTEXINTERNAL pThis, RTMSINTERVAL cMillies, wait_interrupt_t fInterruptible, RTNATIVETHREAD hNativeSelf) argument
/vbox/src/VBox/Runtime/r3/win/
H A Dsemmutex-win.cpp194 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
197 if (hNativeOwner == hNativeSelf)
235 ASMAtomicWriteHandle(&pThis->hNativeOwner, hNativeSelf);
289 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
292 if (RT_UNLIKELY(hNativeOwner != hNativeSelf))
294 AssertMsgFailed(("Not owner of mutex %p!! hNativeSelf=%RTntrd Owner=%RTntrd cRecursions=%d\n",
295 pThis, hNativeSelf, hNativeOwner, pThis->cRecursions));
/vbox/src/VBox/Runtime/generic/
H A Dsemrw-generic.cpp325 RTNATIVETHREAD hNativeSelf = pThis->CritSect.NativeThreadOwner; local
326 if (pThis->hWriter == hNativeSelf)
523 RTNATIVETHREAD hNativeSelf = pThis->CritSect.NativeThreadOwner; local
524 if (pThis->hWriter == hNativeSelf)
597 RTNATIVETHREAD hNativeSelf = pThis->CritSect.NativeThreadOwner; local
603 || pThis->hWriter == hNativeSelf
618 pThis->hWriter = hNativeSelf;
694 if (!pThis->cReads && (!pThis->cWrites || pThis->hWriter == hNativeSelf))
707 pThis->hWriter = hNativeSelf;
802 RTNATIVETHREAD hNativeSelf local
873 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
893 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DPDMCritSect.cpp1041 RTNATIVETHREAD const hNativeSelf = RTThreadNativeSelf(); local
1049 while ( pCur->Core.NativeThreadOwner == hNativeSelf
/vbox/src/VBox/HostDrivers/Support/
H A DSUPDrvTracer.cpp2248 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
2265 pSession->hTracerCaller = hNativeSelf;
2307 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
2322 pSession->hTracerCaller = hNativeSelf;
2364 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
2381 pSession->hTracerCaller = hNativeSelf;
/vbox/src/VBox/ExtPacks/VBoxDTrace/
H A DVBoxDTraceR0.cpp750 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); local
752 uintptr_t iHash = (hNativeSelf * 2654435761U) % RT_ELEMENTS(g_apThreadsHash);
759 if (pThread->hNative == hNativeSelf)
819 pThread->hNative = hNativeSelf;

Completed in 67 milliseconds