Searched refs:iPolicy (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/Runtime/testcase/
H A DtstDarwinSched.cpp62 int iPolicy = 0; local
69 rc = pthread_getschedparam(pthread_self(), &iPolicy, &Param);
70 printf("pthread_getschedparam: rc=%d iPolicy=%d (%#x) sched_priority=%d (%#x) opaque=%d (%#x)\n",
71 rc, iPolicy, iPolicy, Param.sched_priority, Param.sched_priority,
133 int iPolicy; local
146 iPolicy = SCHED_OTHER;
148 pthread_getschedparam(pthread_self(), &iPolicy, &Param); local
149 Param.sched_priority = iPriority = sched_get_priority_max(iPolicy);
150 rc = pthread_setschedparam(pthread_self(), iPolicy,
170 pthread_getschedparam(pthread_self(), &iPolicy, &Param); local
[all...]
/vbox/src/VBox/Runtime/r3/posix/
H A Dsched-posix.cpp112 int iPolicy; member in struct:__anon16706
348 pSave->iPolicy = sched_getscheduler(0 /* current process */);
363 sched_setscheduler(0, pSave->iPolicy, &pSave->SchedParam);
589 int iMin = sched_get_priority_min(SavedPriority.iPolicy);
754 int iPolicy = -7777777; local
756 rc = pthread_getschedparam(Self, &iPolicy, &SchedParam);
761 + sched_get_priority_min(iPolicy);
762 rc = pthread_setschedparam(Self, iPolicy, &SchedParam);
766 Log(("rtThreadNativeSetPriority: Thread=%p enmType=%d iPolicy=%d sched_priority=%d pid=%d\n",
767 pThread->Core.Key, enmType, iPolicy, SchedPara
[all...]
/vbox/src/VBox/Runtime/r3/linux/
H A Dsched-linux.cpp116 int iPolicy; member in struct:__anon16694
286 pSave->iPolicy = sched_getscheduler(0 /* current process */);
301 sched_setscheduler(0, pSave->iPolicy, &pSave->SchedParam);
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyImage-win.cpp2370 uint32_t iPolicy = 0; local
2396 fRc = g_pfnCryptCATAdminAcquireContext2(&hCatAdmin, &s_aPolicies[iPolicy], s_aHashes[i].pszAlgorithm,
2399 fRc = g_pfnCryptCATAdminAcquireContext(&hCatAdmin, &s_aPolicies[iPolicy], 0 /*dwFlags*/);
2488 HRESULT hrc = pfnWinVerifyTrust(NULL /*hwnd*/, &s_aPolicies[iPolicy], &TrustData);
2508 hrc = pfnWinVerifyTrust(NULL /*hwnd*/, &s_aPolicies[iPolicy], &TrustData);
2539 iPolicy++;
2541 && iPolicy < RT_ELEMENTS(s_aPolicies));

Completed in 1076 milliseconds