Searched refs:pCpuSet (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/Runtime/generic/
H A DRTThreadGetAffinity-stub-generic.cpp38 RTR3DECL(int) RTThreadGetAffinity(PRTCPUSET pCpuSet) argument
40 RTCpuSetEmpty(pCpuSet);
41 RTCpuSetAddByIndex(pCpuSet, 0);
H A DRTThreadSetAffinity-stub-generic.cpp38 RTR3DECL(int) RTThreadSetAffinity(PCRTCPUSET pCpuSet) argument
42 if (pCpuSet && !RTCpuSetIsEqual(&CurSet, pCpuSet))
/vbox/src/VBox/Runtime/r3/solaris/
H A Dthread-affinity-solaris.cpp49 RTR3DECL(int) RTThreadSetAffinity(PCRTCPUSET pCpuSet) argument
52 if (pCpuSet == NULL)
57 int cCpusInSet = RTCpuSetCount(pCpuSet);
62 && !RTCpuSetIsMemberByIndex(pCpuSet, iCpu))
67 || RTCpuSetIsEqual(pCpuSet, RTMpGetPresentSet(&PresentSet)))
78 RTR3DECL(int) RTThreadGetAffinity(PRTCPUSET pCpuSet) argument
85 RTMpGetPresentSet(pCpuSet);
88 RTCpuSetEmpty(pCpuSet);
89 if (RTCpuSetAdd(pCpuSet, iOldCpu) != 0)
/vbox/src/VBox/Runtime/r3/linux/
H A Dthread-affinity-linux.cpp52 RTR3DECL(int) RTThreadSetAffinity(PCRTCPUSET pCpuSet) argument
57 if (!pCpuSet)
62 if (RTCpuSetIsMemberByIndex(pCpuSet, iCpu))
75 RTR3DECL(int) RTThreadGetAffinity(PRTCPUSET pCpuSet) argument
83 RTCpuSetEmpty(pCpuSet);
86 RTCpuSetAddByIndex(pCpuSet, iCpu);
/vbox/src/VBox/Runtime/r3/os2/
H A Dthread-os2.cpp212 RTR3DECL(int) RTThreadGetAffinity(PRTCPUSET pCpuSet) argument
223 RTCpuSetFromU64(pCpuSet, u.u64);
230 RTR3DECL(int) RTThreadSetAffinity(PCRTCPUSET pCpuSet) argument
237 u.u64 = pCpuSet ? RTCpuSetToU64(pCpuSet) : UINT64_MAX;
/vbox/src/VBox/Runtime/r3/win/
H A Dthread-win.cpp313 RTR3DECL(int) RTThreadSetAffinity(PCRTCPUSET pCpuSet)
315 DWORD_PTR fNewMask = pCpuSet ? RTCpuSetToU64(pCpuSet) : ~(DWORD_PTR)0;
326 RTR3DECL(int) RTThreadGetAffinity(PRTCPUSET pCpuSet)
342 RTCpuSetFromU64(pCpuSet, (uint64_t)dwSet);
/vbox/src/VBox/Runtime/r0drv/solaris/
H A Dmp-r0drv-solaris.c152 * @param pCpuSet Pointer to Solaris CPU set.
156 static void rtMpSolCrossCall(PRTSOLCPUSET pCpuSet, PFNRTMPSOLWORKER pfnSolWorker, PRTMPARGS pArgs) argument
158 AssertPtrReturnVoid(pCpuSet);
160 AssertPtrReturnVoid(pCpuSet);
170 pCpuSet->auCpus[0], /* Target CPU(s) */
179 *pCpuSet, /* Target CPU set */
188 &pCpuSet->auCpus[0], /* Target CPU set */
/vbox/include/iprt/
H A Dthread.h719 * @param pCpuSet Where to return the CPU affienty set of the calling
722 RTR3DECL(int) RTThreadGetAffinity(PRTCPUSET pCpuSet); variable
728 * @param pCpuSet The set of CPUs this thread can run on. NULL means
731 RTR3DECL(int) RTThreadSetAffinity(PCRTCPUSET pCpuSet); variable

Completed in 50 milliseconds