/reactos/ntoskrnl/ke/ |
H A D | thrdschd.c | 85 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 D | dpc.c | 469 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 D | wait.c | 202 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 D | thrdobj.c | 1025 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 D | thrdini.c | 180 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 D | trapc.c | 61 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 D | kiinit.c | 136 Prcb->NextThread = NULL; in KiInitializeKernel() 164 if (!Prcb->NextThread) KiIdleSummary |= 1 << Number; in KiInitializeKernel()
|
/reactos/ntoskrnl/ke/i386/ |
H A D | thrdini.c | 287 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 D | kiinit.c | 577 Prcb->NextThread = NULL; in KiInitializeKernel() 620 if (!Prcb->NextThread) KiIdleSummary |= 1 << Number; in KiInitializeKernel()
|
/reactos/ntoskrnl/ke/amd64/ |
H A D | stubs.c | 126 if (Prcb->NextThread) in KiIdleLoop() 133 NewThread = Prcb->NextThread; in KiIdleLoop() 136 Prcb->NextThread = NULL; in KiIdleLoop()
|
H A D | traphandler.c | 58 else if (Prcb->NextThread) in KiDpcInterruptHandler() 65 NewThread = Prcb->NextThread; in KiDpcInterruptHandler() 68 Prcb->NextThread = NULL; in KiDpcInterruptHandler()
|
H A D | krnlinit.c | 168 Prcb->NextThread = NULL; in KiSystemStartupBootStack() 200 if (!Prcb->NextThread) KiIdleSummary |= (ULONG_PTR)1 << Prcb->Number; in KiSystemStartupBootStack()
|
/reactos/ntoskrnl/include/internal/ |
H A D | ntoskrnl.h | 148 C_ASSERT(FIELD_OFFSET(KIPCR, PrcbData) + FIELD_OFFSET(KPRCB, NextThread) == KPCR_PRCB_NEXT_THREAD);
|
/reactos/sdk/include/asm/ |
H A D | ksarm.template.h | 320 OFFSET(PcNextThread, KIPCR, Prcb.NextThread), // 0x588 341 OFFSET(PbNextThread, KPRCB, NextThread), // 0x8
|
H A D | ks386.template.h | 294 OFFSET(PbNextThread, KPRCB, NextThread), 600 OFFSET(KPCR_PRCB_NEXT_THREAD, KIPCR, PrcbData.NextThread),
|
H A D | ksamd64.template.h | 465 OFFSET(PbNextThread, KPRCB, NextThread),
|
/reactos/sdk/include/ndk/i386/ |
H A D | ketypes.h | 548 struct _KTHREAD *NextThread; member
|
/reactos/sdk/include/ndk/arm/ |
H A D | ketypes.h | 760 PKTHREAD NextThread; member
|
/reactos/sdk/include/ndk/amd64/ |
H A D | ketypes.h | 640 struct _KTHREAD *NextThread; member
|