#include "ki.h"
Go to the source code of this file.
Defines | |
#define | KiIncrementSwitchCounter(Member) |
Functions | |
VOID | KiSuspendNop (IN PKAPC Apc, IN OUT PKNORMAL_ROUTINE *NormalRoutine, IN OUT PVOID *NormalContext, IN OUT PVOID *SystemArgument1, IN OUT PVOID *SystemArgument2) |
PKTHREAD FASTCALL | KiFindReadyThread (IN ULONG Processor, IN KPRIORITY LowPriority) |
VOID FASTCALL | KiReadyThread (IN PRKTHREAD Thread) |
PRKTHREAD FASTCALL | KiSelectNextThread (IN PRKTHREAD Thread) |
VOID FASTCALL | KiSetPriorityThread (IN PRKTHREAD Thread, IN KPRIORITY Priority) |
VOID | KiSuspendThread (IN PVOID NormalContext, IN PVOID SystemArgument1, IN PVOID SystemArgument2) |
|
Definition at line 44 of file thredsup.c. Referenced by KiFindReadyThread(), KiReadyThread(), and KiSelectNextThread(). |
|
Definition at line 95 of file thredsup.c. References _KTHREAD::Affinity, ASSERT, ClearMember, FALSE, FindFirstSetLeftMember, _KTHREAD::IdealProcessor, KiDispatcherReadyListHead, KiIncrementSwitchCounter, KiReadySummary, KiThreadSelectNotifyRoutine, _KTHREAD::NextProcessor, NULL, READY_SKIP_QUANTUM, _KTHREAD::WaitListEntry, and _KTHREAD::WaitTime. Referenced by KeDelayExecutionThread(), KiAdjustQuantumThread(), KiQuantumEnd(), KiSelectNextThread(), KiSetPriorityThread(), and NtYieldExecution().
|
|
Definition at line 270 of file thredsup.c. References BALANCE_INCREMENT, ClearMember, FALSE, FASTCALL, FindFirstSetLeftMember, _KEVENT::Header, IPI_DPC, KeGetCurrentPrcb, KiDispatcherReadyListHead, KiIdleSummary, KiIncrementSwitchCounter, KiIpiSend(), KiProcessInSwapListHead, KiProcessorBlock, KiReadySummary, KiRequestDispatchInterrupt, KiStackInSwapListHead, KiSwapEvent, KiWaitTest(), NULL, PoSleepingSummary, _KTHREAD::Preempted, _KTHREAD::Priority, ProcessInMemory, ProcessInTransition, ProcessOutOfMemory, Ready, _KPROCESS::ReadyListHead, SetMember, _DISPATCHER_HEADER::SignalState, _KPROCESS::StackCount, Standby, _KPROCESS::State, _KPROCESS::SwapListEntry, Transition, TRUE, and _DISPATCHER_HEADER::WaitListHead. Referenced by KeDelayExecutionThread(), KeReadyThread(), KeSetAffinityThread(), KiAttachProcess(), KiInsertQueue(), KiInSwapKernelStacks(), KiInSwapProcesses(), KiOutSwapProcesses(), KiScanReadyQueues(), KiSetPriorityThread(), KiUnwaitThread(), NtReplyWaitSendChannel(), and NtSendWaitReplyChannel().
|
|
Definition at line 479 of file thredsup.c. References KiFindReadyThread(), KiIdleSummary, KiIncrementSwitchCounter, KiProcessorBlock, _KTHREAD::NextProcessor, NULL, and SetMember. Referenced by KeRevertToUserAffinityThread(), KeSetAffinityThread(), and KeSetSystemAffinityThread().
|
|
Definition at line 576 of file thredsup.c. References ASSERT, ClearMember, FALSE, KiDispatcherReadyListHead, KiFindReadyThread(), KiProcessorBlock, KiReadySummary, KiReadyThread(), KiRequestDispatchInterrupt, NULL, Ready, Running, SetMember, Standby, and _KTHREAD::State. Referenced by ExpBoostOwnerThread(), KeDelayExecutionThread(), KeSetBasePriorityThread(), KeSetPriorityProcess(), KeSetPriorityThread(), KiAdjustQuantumThread(), and KiQuantumEnd().
|
|
Definition at line 49 of file thredsup.c.
|
|
Definition at line 770 of file thredsup.c. References _KAPC_STATE::ApcListHead, _KTHREAD::ApcState, FALSE, KeGetCurrentThread, KernelMode, _KAPC::KernelRoutine, KeWaitForSingleObject(), NULL, PsExitSpecialApc(), Suspended, _KTHREAD::SuspendSemaphore, _KAPC_STATE::UserApcPending, and UserMode. Referenced by KeInitializeThread().
|