Lines Matching defs:aSubTimers
108 RTTIMERNTSUBTIMER aSubTimers[1];
163 KeSetTimerEx(&pTimer->NtTimer, DueTime, 0, &pTimer->aSubTimers[0].NtDpc);
192 ASMAtomicWriteHandle(&pTimer->aSubTimers[0].hActiveThread, RTThreadNativeSelf());
196 uint64_t iTick = ++pTimer->aSubTimers[0].iTick;
198 rtTimerNtRearmInternval(pTimer, iTick, &pTimer->aSubTimers[0].NtDpc);
201 ASMAtomicWriteHandle(&pTimer->aSubTimers[0].hActiveThread, NIL_RTNATIVETHREAD);
226 if (pSubTimer - &pTimer->aSubTimers[0] != iCpuSelf)
227 RTAssertMsg2Weak("rtTimerNtOmniSlaveCallback: iCpuSelf=%d pSubTimer=%p / %d\n", iCpuSelf, pSubTimer, pSubTimer - &pTimer->aSubTimers[0]);
272 if (pSubTimer - &pTimer->aSubTimers[0] != iCpuSelf)
273 RTAssertMsg2Weak("rtTimerNtOmniMasterCallback: iCpuSelf=%d pSubTimer=%p / %d\n", iCpuSelf, pSubTimer, pSubTimer - &pTimer->aSubTimers[0]);
296 KeInsertQueueDpc(&pTimer->aSubTimers[iCpu].NtDpc, 0, 0);
299 rtTimerNtRearmInternval(pTimer, iTick, &pTimer->aSubTimers[RTMpCpuIdToSetIndex(pTimer->idCpu)].NtDpc);
316 if (!KeInsertQueueDpc(&pTimer->aSubTimers[iCpu].NtDpc, 0, 0))
351 ? &pTimer->aSubTimers[RTMpCpuIdToSetIndex(pTimer->idCpu)].NtDpc
352 : &pTimer->aSubTimers[0].NtDpc;
370 pTimer->aSubTimers[iCpu].iTick = 0;
400 KeRemoveQueueDpc(&pTimer->aSubTimers[iCpu].NtDpc);
490 PRTTIMER pTimer = (PRTTIMER)RTMemAllocZ(RT_OFFSETOF(RTTIMER, aSubTimers[cSubTimers]));
518 pTimer->aSubTimers[iCpu].iTick = 0;
519 pTimer->aSubTimers[iCpu].pParent = pTimer;
525 KeInitializeDpc(&pTimer->aSubTimers[iCpu].NtDpc, rtTimerNtOmniMasterCallback, &pTimer->aSubTimers[iCpu]);
528 KeInitializeDpc(&pTimer->aSubTimers[iCpu].NtDpc, rtTimerNtOmniSlaveCallback, &pTimer->aSubTimers[iCpu]);
529 KeSetImportanceDpc(&pTimer->aSubTimers[iCpu].NtDpc, HighImportance);
530 KeSetTargetProcessorDpc(&pTimer->aSubTimers[iCpu].NtDpc, (int)RTMpCpuIdFromSetIndex(iCpu));
540 pTimer->aSubTimers[0].iTick = 0;
541 pTimer->aSubTimers[0].pParent = pTimer;
543 KeInitializeDpc(&pTimer->aSubTimers[0].NtDpc, rtTimerNtSimpleCallback, pTimer);
544 KeSetImportanceDpc(&pTimer->aSubTimers[0].NtDpc, HighImportance);
546 KeSetTargetProcessorDpc(&pTimer->aSubTimers[0].NtDpc, (int)pTimer->idCpu);