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

/vbox/src/VBox/ExtPacks/VBoxDTrace/
H A DVBoxDTraceR0.cpp697 static struct VBoxDtThread *g_apThreadsHash[16384]; variable in typeref:struct:VBoxDtThread
752 uintptr_t iHash = (hNativeSelf * 2654435761U) % RT_ELEMENTS(g_apThreadsHash);
756 struct VBoxDtThread *pThread = g_apThreadsHash[iHash];
793 uintptr_t iHash2 = (pThread->hNative * 2654435761U) % RT_ELEMENTS(g_apThreadsHash);
794 if (g_apThreadsHash[iHash2] == pThread)
795 g_apThreadsHash[iHash2] = pThread->pNext;
798 for (struct VBoxDtThread *pPrev = g_apThreadsHash[iHash2]; ; pPrev = pPrev->pNext)
825 pThread->pNext = g_apThreadsHash[iHash];
826 g_apThreadsHash[iHash] = pThread->pNext;

Completed in 49 milliseconds