Home
last modified time | relevance | path

Searched refs:NextThread (Results 1 – 19 of 19) sorted by relevance

/reactos/ntoskrnl/ke/
H A Dthrdschd.c85 PKTHREAD NextThread; in KiDeferredReadyThread() local
253 NextThread = Prcb->NextThread; in KiDeferredReadyThread()
254 if (NextThread) in KiDeferredReadyThread()
284 if (NextThread->State == Running) NextThread->Preempted = TRUE; in KiDeferredReadyThread()
361 PKTHREAD NextThread; in KiSwapThread() local
368 NextThread = Prcb->NextThread; in KiSwapThread()
369 if (NextThread) in KiSwapThread()
380 if (NextThread) in KiSwapThread()
492 Prcb->NextThread = NextThread; in KiAdjustQuantumThread()
775 NextThread = Prcb->NextThread; in NtYieldExecution()
[all …]
H A Ddpc.c469 PKTHREAD NextThread, Thread = Prcb->CurrentThread; in KiQuantumEnd() local
502 if (!Prcb->NextThread) in KiQuantumEnd()
505 NextThread = KiSelectReadyThread(Thread->Priority, Prcb); in KiQuantumEnd()
506 if (NextThread) in KiQuantumEnd()
509 NextThread->State = Standby; in KiQuantumEnd()
510 Prcb->NextThread = NextThread; in KiQuantumEnd()
525 if (!Prcb->NextThread) in KiQuantumEnd()
534 NextThread = Prcb->NextThread; in KiQuantumEnd()
540 Prcb->NextThread = NULL; in KiQuantumEnd()
541 Prcb->CurrentThread = NextThread; in KiQuantumEnd()
[all …]
H A Dwait.c202 PKTHREAD Thread, NextThread; in KiExitDispatcher() local
215 if ((Prcb->NextThread) && !(Prcb->DpcRoutineActive)) in KiExitDispatcher()
226 if (!Prcb->NextThread) goto Quickie; in KiExitDispatcher()
232 NextThread = Prcb->NextThread; in KiExitDispatcher()
239 Prcb->NextThread = NULL; in KiExitDispatcher()
240 Prcb->CurrentThread = NextThread; in KiExitDispatcher()
243 NextThread->State = Running; in KiExitDispatcher()
H A Dthrdobj.c1025 PKTHREAD NextThread, CurrentThread = KeGetCurrentThread(); in KeRevertToUserAffinityThread() local
1045 if (!Prcb->NextThread) in KeRevertToUserAffinityThread()
1048 NextThread = KiSelectNextThread(Prcb); in KeRevertToUserAffinityThread()
1049 NextThread->State = Standby; in KeRevertToUserAffinityThread()
1050 Prcb->NextThread = NextThread; in KeRevertToUserAffinityThread()
1111 PKTHREAD NextThread, CurrentThread = KeGetCurrentThread(); in KeSetSystemAffinityThread() local
1155 if (!Prcb->NextThread) in KeSetSystemAffinityThread()
1158 NextThread = KiSelectNextThread(Prcb); in KeSetSystemAffinityThread()
1159 NextThread->State = Standby; in KeSetSystemAffinityThread()
1160 Prcb->NextThread = NextThread; in KeSetSystemAffinityThread()
/reactos/ntoskrnl/ke/arm/
H A Dthrdini.c180 if (Prcb->NextThread) in KiIdleLoop()
187 NewThread = Prcb->NextThread; in KiIdleLoop()
190 Prcb->NextThread = NULL; in KiIdleLoop()
335 else if (Prcb->NextThread) in KiDispatchInterrupt()
342 NewThread = Prcb->NextThread; in KiDispatchInterrupt()
345 Prcb->NextThread = NULL; in KiDispatchInterrupt()
H A Dtrapc.c61 if (Prcb->NextThread)
67 NewThread = Prcb->NextThread;
69 Prcb->NextThread = NULL;
321 if (Prcb->NextThread)
327 NewThread = Prcb->NextThread;
329 Prcb->NextThread = NULL;
H A Dkiinit.c136 Prcb->NextThread = NULL; in KiInitializeKernel()
164 if (!Prcb->NextThread) KiIdleSummary |= 1 << Number; in KiInitializeKernel()
/reactos/ntoskrnl/ke/i386/
H A Dthrdini.c287 if (Prcb->NextThread) in KiIdleLoop()
294 NewThread = Prcb->NextThread; in KiIdleLoop()
297 Prcb->NextThread = NULL; in KiIdleLoop()
496 else if (Prcb->NextThread) in KiDispatchInterrupt()
503 NewThread = Prcb->NextThread; in KiDispatchInterrupt()
506 Prcb->NextThread = NULL; in KiDispatchInterrupt()
H A Dkiinit.c577 Prcb->NextThread = NULL; in KiInitializeKernel()
620 if (!Prcb->NextThread) KiIdleSummary |= 1 << Number; in KiInitializeKernel()
/reactos/ntoskrnl/ke/amd64/
H A Dstubs.c126 if (Prcb->NextThread) in KiIdleLoop()
133 NewThread = Prcb->NextThread; in KiIdleLoop()
136 Prcb->NextThread = NULL; in KiIdleLoop()
H A Dtraphandler.c58 else if (Prcb->NextThread) in KiDpcInterruptHandler()
65 NewThread = Prcb->NextThread; in KiDpcInterruptHandler()
68 Prcb->NextThread = NULL; in KiDpcInterruptHandler()
H A Dkrnlinit.c168 Prcb->NextThread = NULL; in KiSystemStartupBootStack()
200 if (!Prcb->NextThread) KiIdleSummary |= (ULONG_PTR)1 << Prcb->Number; in KiSystemStartupBootStack()
/reactos/ntoskrnl/include/internal/
H A Dntoskrnl.h148 C_ASSERT(FIELD_OFFSET(KIPCR, PrcbData) + FIELD_OFFSET(KPRCB, NextThread) == KPCR_PRCB_NEXT_THREAD);
/reactos/sdk/include/asm/
H A Dksarm.template.h320 OFFSET(PcNextThread, KIPCR, Prcb.NextThread), // 0x588
341 OFFSET(PbNextThread, KPRCB, NextThread), // 0x8
H A Dks386.template.h294 OFFSET(PbNextThread, KPRCB, NextThread),
600 OFFSET(KPCR_PRCB_NEXT_THREAD, KIPCR, PrcbData.NextThread),
H A Dksamd64.template.h465 OFFSET(PbNextThread, KPRCB, NextThread),
/reactos/sdk/include/ndk/i386/
H A Dketypes.h548 struct _KTHREAD *NextThread; member
/reactos/sdk/include/ndk/arm/
H A Dketypes.h760 PKTHREAD NextThread; member
/reactos/sdk/include/ndk/amd64/
H A Dketypes.h640 struct _KTHREAD *NextThread; member