Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

_KTHREAD Struct Reference

#include <ke.h>

List of all members.

Public Attributes

DISPATCHER_HEADER Header
LIST_ENTRY MutantListHead
PVOID InitialStack
PVOID StackLimit
PVOID Teb
PVOID TlsArray
PVOID KernelStack
BOOLEAN DebugActive
UCHAR State
BOOLEAN Alerted [MaximumMode]
UCHAR Iopl
UCHAR NpxState
CHAR Saturation
SCHAR Priority
KAPC_STATE ApcState
ULONG ContextSwitches
LONG_PTR WaitStatus
KIRQL WaitIrql
KPROCESSOR_MODE WaitMode
BOOLEAN WaitNext
UCHAR WaitReason
PRKWAIT_BLOCK WaitBlockList
LIST_ENTRY WaitListEntry
ULONG WaitTime
SCHAR BasePriority
UCHAR DecrementCount
SCHAR PriorityDecrement
SCHAR Quantum
KWAIT_BLOCK WaitBlock [THREAD_WAIT_OBJECTS+1]
PVOID LegoData
ULONG KernelApcDisable
KAFFINITY UserAffinity
BOOLEAN SystemAffinityActive
UCHAR PowerState
UCHAR NpxIrql
UCHAR Pad [1]
PVOID ServiceTable
PRKQUEUE Queue
KSPIN_LOCK ApcQueueLock
KTIMER Timer
LIST_ENTRY QueueListEntry
KAFFINITY Affinity
BOOLEAN Preempted
BOOLEAN ProcessReadyQueue
BOOLEAN KernelStackResident
UCHAR NextProcessor
PVOID CallbackStack
PVOID Win32Thread
PKTRAP_FRAME TrapFrame
PKAPC_STATE ApcStatePointer [2]
CCHAR PreviousMode
UCHAR EnableStackSwap
UCHAR LargeStack
UCHAR ResourceIndex
ULONG KernelTime
ULONG UserTime
KAPC_STATE SavedApcState
BOOLEAN Alertable
UCHAR ApcStateIndex
BOOLEAN ApcQueueable
BOOLEAN AutoAlignment
PVOID StackBase
KAPC SuspendApc
KSEMAPHORE SuspendSemaphore
LIST_ENTRY ThreadListEntry
CCHAR FreezeCount
CCHAR SuspendCount
UCHAR IdealProcessor
UCHAR DisableBoost


Member Data Documentation

KAFFINITY _KTHREAD::Affinity
 

Definition at line 622 of file ke.h.

Referenced by KeConfineThread(), KeRevertToUserAffinityThread(), KeSetSystemAffinityThread(), and KiFindReadyThread().

BOOLEAN _KTHREAD::Alertable
 

Definition at line 657 of file ke.h.

Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), and KiInsertQueueApc().

BOOLEAN _KTHREAD::Alerted[MaximumMode]
 

Definition at line 570 of file ke.h.

Referenced by KeTestAlertThread().

BOOLEAN _KTHREAD::ApcQueueable
 

Definition at line 659 of file ke.h.

Referenced by KeInsertQueueApc().

KSPIN_LOCK _KTHREAD::ApcQueueLock
 

Definition at line 613 of file ke.h.

Referenced by Ke386VdmInsertQueueApc(), KeRemoveQueueApc(), KeTestAlertThread(), and KiInsertQueueApc().

KAPC_STATE _KTHREAD::ApcState
 

Definition at line 575 of file ke.h.

Referenced by Ke386CallBios(), Ke386SetIOPL(), KeAttachProcess(), KeAttachSessionSpace(), KeBoostCurrentThread(), KeDelayExecutionThread(), KeDetachProcess(), KeDetachSessionSpace(), KeDisableSessionSharing(), KeEnableSessionSharing(), KeFlushEntireTb(), KeFlushMultipleTb(), KeFlushMultipleTb64(), KeFlushSingleTb(), KeFlushSingleTb64(), KeForceAttachProcess(), KeFreezeAllThreads(), KeProfileInterruptWithSource(), KeReleaseMutant(), KeRemoveQueue(), KeSetEventBoostPriority(), KeStackAttachProcess(), KeTestAlertThread(), KeUnstackDetachProcess(), KeUpdateRunTime(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), KiDeliverApc(), KiInsertQueueApc(), KiQuantumEnd(), KiScanReadyQueues(), KiSuspendThread(), KiSyncNewRegionIdTarget(), KiSyncSessionTarget(), NtYieldExecution(), PspExitThread(), and PspUserThreadStartup().

UCHAR _KTHREAD::ApcStateIndex
 

Definition at line 658 of file ke.h.

Referenced by KeAttachProcess(), KeDetachProcess(), KeForceAttachProcess(), KeStackAttachProcess(), KeUnstackDetachProcess(), KiInsertQueueApc(), and PspExitThread().

PKAPC_STATE _KTHREAD::ApcStatePointer[2]
 

Definition at line 638 of file ke.h.

Referenced by KeDetachProcess(), KeRemoveQueueApc(), KeUnstackDetachProcess(), and KiInsertQueueApc().

BOOLEAN _KTHREAD::AutoAlignment
 

Definition at line 660 of file ke.h.

SCHAR _KTHREAD::BasePriority
 

Definition at line 590 of file ke.h.

Referenced by KeBoostCurrentThread(), KeDelayExecutionThread(), KeSetPriorityProcess(), KiQuantumEnd(), MmZeroPageThread(), and NtYieldExecution().

PVOID _KTHREAD::CallbackStack
 

Definition at line 632 of file ke.h.

ULONG _KTHREAD::ContextSwitches
 

Definition at line 576 of file ke.h.

BOOLEAN _KTHREAD::DebugActive
 

Definition at line 568 of file ke.h.

UCHAR _KTHREAD::DecrementCount
 

Definition at line 591 of file ke.h.

Referenced by KeBoostCurrentThread(), KeSetPriorityProcess(), and KiScanReadyQueues().

UCHAR _KTHREAD::DisableBoost
 

Definition at line 682 of file ke.h.

UCHAR _KTHREAD::EnableStackSwap
 

Definition at line 640 of file ke.h.

Referenced by KeSetKernelStackSwapEnable(), and PspExitThread().

CCHAR _KTHREAD::FreezeCount
 

Definition at line 679 of file ke.h.

Referenced by KeFreezeAllThreads(), KeThawAllThreads(), and PsLockProcess().

DISPATCHER_HEADER _KTHREAD::Header
 

Definition at line 545 of file ke.h.

Referenced by PsLookupProcessThreadByCid(), and PsLookupThreadByThreadId().

UCHAR _KTHREAD::IdealProcessor
 

Definition at line 681 of file ke.h.

Referenced by KiFindReadyThread().

PVOID _KTHREAD::InitialStack
 

Definition at line 556 of file ke.h.

Referenced by IopWriteTriageDump(), Ke386SetIOPL(), KeRestoreFloatingPointState(), KeSaveFloatingPointState(), PspGetSetContextApc(), PspGetSetContextSpecialApc(), PspGetSetContextSpecialApcMain(), PspReaper(), and PspThreadDelete().

UCHAR _KTHREAD::Iopl
 

Definition at line 571 of file ke.h.

Referenced by Ke386SetIOPL().

ULONG _KTHREAD::KernelApcDisable
 

Definition at line 596 of file ke.h.

Referenced by ExpWorkerThread(), KeReleaseMutant(), KiDeliverApc(), KiInsertQueueApc(), PsLockProcess(), and PspExitThread().

PVOID _KTHREAD::KernelStack
 

Definition at line 564 of file ke.h.

BOOLEAN _KTHREAD::KernelStackResident
 

Definition at line 625 of file ke.h.

Referenced by IopWriteTriageDump(), KiInSwapKernelStacks(), and KiOutSwapKernelStacks().

ULONG _KTHREAD::KernelTime
 

Definition at line 648 of file ke.h.

Referenced by KeUpdateRunTime().

UCHAR _KTHREAD::LargeStack
 

Definition at line 641 of file ke.h.

Referenced by PsConvertToGuiThread(), PspReaper(), and PspThreadDelete().

PVOID _KTHREAD::LegoData
 

Definition at line 595 of file ke.h.

Referenced by PspExitThread().

LIST_ENTRY _KTHREAD::MutantListHead
 

Definition at line 546 of file ke.h.

Referenced by KeInitializeMutant(), and KeRundownThread().

UCHAR _KTHREAD::NextProcessor
 

Definition at line 626 of file ke.h.

Referenced by KeConfineThread(), KeDelayExecutionThread(), KiFindReadyThread(), KiInsertQueueApc(), KiQuantumEnd(), KiSelectNextThread(), and NtYieldExecution().

UCHAR _KTHREAD::NpxIrql
 

Definition at line 600 of file ke.h.

Referenced by KeRestoreFloatingPointState(), and KeSaveFloatingPointState().

UCHAR _KTHREAD::NpxState
 

Definition at line 572 of file ke.h.

Referenced by KeRestoreFloatingPointState(), and KeSaveFloatingPointState().

UCHAR _KTHREAD::Pad[1]
 

Definition at line 601 of file ke.h.

UCHAR _KTHREAD::PowerState
 

Definition at line 599 of file ke.h.

BOOLEAN _KTHREAD::Preempted
 

Definition at line 623 of file ke.h.

Referenced by KeDelayExecutionThread(), KiQuantumEnd(), and KiReadyThread().

CCHAR _KTHREAD::PreviousMode
 

Definition at line 639 of file ke.h.

Referenced by KiSystemServiceHandler().

SCHAR _KTHREAD::Priority
 

Definition at line 574 of file ke.h.

Referenced by KeBoostCurrentThread(), KeDelayExecutionThread(), KiQuantumEnd(), KiReadyThread(), KiScanReadyQueues(), NtYieldExecution(), and PspExitThread().

SCHAR _KTHREAD::PriorityDecrement
 

Definition at line 592 of file ke.h.

Referenced by KeBoostCurrentThread(), KeDelayExecutionThread(), KeSetPriorityProcess(), KiQuantumEnd(), KiScanReadyQueues(), and NtYieldExecution().

BOOLEAN _KTHREAD::ProcessReadyQueue
 

Definition at line 624 of file ke.h.

Referenced by KiAttachProcess(), KiInSwapProcesses(), and KiOutSwapProcesses().

SCHAR _KTHREAD::Quantum
 

Definition at line 593 of file ke.h.

Referenced by KeBoostCurrentThread(), KeDelayExecutionThread(), KeSetEventBoostPriority(), KeSetPriorityProcess(), KeUpdateRunTime(), KiDecrementQuantum(), KiQuantumEnd(), KiScanReadyQueues(), and NtYieldExecution().

PRKQUEUE _KTHREAD::Queue
 

Definition at line 612 of file ke.h.

Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeRundownQueue(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), and KiInsertQueue().

LIST_ENTRY _KTHREAD::QueueListEntry
 

Definition at line 615 of file ke.h.

Referenced by KeRemoveQueue().

UCHAR _KTHREAD::ResourceIndex
 

Definition at line 642 of file ke.h.

CHAR _KTHREAD::Saturation
 

Definition at line 573 of file ke.h.

Referenced by KeSetPriorityProcess().

KAPC_STATE _KTHREAD::SavedApcState
 

Definition at line 656 of file ke.h.

Referenced by KeAttachProcess(), KeDetachProcess(), KeForceAttachProcess(), KeStackAttachProcess(), and KeUnstackDetachProcess().

PVOID _KTHREAD::ServiceTable
 

Definition at line 602 of file ke.h.

Referenced by PsConvertToGuiThread().

PVOID _KTHREAD::StackBase
 

Definition at line 667 of file ke.h.

Referenced by MmGrowKernelStack(), and PspReaper().

PVOID _KTHREAD::StackLimit
 

Definition at line 557 of file ke.h.

Referenced by MmGrowKernelStack(), and PspGetSetContextApc().

UCHAR _KTHREAD::State
 

Definition at line 569 of file ke.h.

Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeRevertToUserAffinityThread(), KeSetAffinityThread(), KeSetSystemAffinityThread(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), KiAdjustQuantumThread(), KiInsertQueueApc(), KiQuantumEnd(), KiSetPriorityThread(), and NtYieldExecution().

KAPC _KTHREAD::SuspendApc
 

Definition at line 668 of file ke.h.

Referenced by KeFreezeAllThreads().

CCHAR _KTHREAD::SuspendCount
 

Definition at line 680 of file ke.h.

Referenced by KeFreezeAllThreads(), and KeThawAllThreads().

KSEMAPHORE _KTHREAD::SuspendSemaphore
 

Definition at line 669 of file ke.h.

Referenced by KeFreezeAllThreads(), KeThawAllThreads(), and KiSuspendThread().

BOOLEAN _KTHREAD::SystemAffinityActive
 

Definition at line 598 of file ke.h.

Referenced by KeRevertToUserAffinityThread(), and KeSetSystemAffinityThread().

PVOID _KTHREAD::Teb
 

Definition at line 562 of file ke.h.

Referenced by KeBugCheckEx(), KeRaiseUserException(), NtSetInformationProcess(), and PspExitThread().

LIST_ENTRY _KTHREAD::ThreadListEntry
 

Definition at line 670 of file ke.h.

KTIMER _KTHREAD::Timer
 

Definition at line 614 of file ke.h.

Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), and KiInsertQueue().

PVOID _KTHREAD::TlsArray
 

Definition at line 563 of file ke.h.

PKTRAP_FRAME _KTHREAD::TrapFrame
 

Definition at line 637 of file ke.h.

Referenced by KeRaiseUserException().

KAFFINITY _KTHREAD::UserAffinity
 

Definition at line 597 of file ke.h.

Referenced by KeRevertToUserAffinityThread().

ULONG _KTHREAD::UserTime
 

Definition at line 649 of file ke.h.

Referenced by KeUpdateRunTime().

KWAIT_BLOCK _KTHREAD::WaitBlock[THREAD_WAIT_OBJECTS+1]
 

Definition at line 594 of file ke.h.

Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeWaitForMultipleObjects(), and KeWaitForSingleObject().

PRKWAIT_BLOCK _KTHREAD::WaitBlockList
 

Definition at line 587 of file ke.h.

Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeWaitForMultipleObjects(), and KeWaitForSingleObject().

KIRQL _KTHREAD::WaitIrql
 

Definition at line 583 of file ke.h.

Referenced by ExpWaitForResource(), KeDelayExecutionThread(), KePulseEvent(), KeReleaseMutant(), KeReleaseSemaphore(), KeRemoveQueue(), KeSetEvent(), KeSetProcess(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), KiInsertQueueApc(), and NtYieldExecution().

LIST_ENTRY _KTHREAD::WaitListEntry
 

Definition at line 588 of file ke.h.

Referenced by KiFindReadyThread(), KiInsertQueue(), and NtYieldExecution().

KPROCESSOR_MODE _KTHREAD::WaitMode
 

Definition at line 584 of file ke.h.

Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), KiInsertQueueApc(), and KiOutSwapKernelStacks().

BOOLEAN _KTHREAD::WaitNext
 

Definition at line 585 of file ke.h.

Referenced by ExpWaitForResource(), KeDelayExecutionThread(), KePulseEvent(), KeReleaseMutant(), KeReleaseSemaphore(), KeRemoveQueue(), KeSetEvent(), KeSetProcess(), KeWaitForMultipleObjects(), and KeWaitForSingleObject().

UCHAR _KTHREAD::WaitReason
 

Definition at line 586 of file ke.h.

Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), and KiInsertQueue().

LONG_PTR _KTHREAD::WaitStatus
 

Definition at line 582 of file ke.h.

Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), and KiInsertQueue().

ULONG _KTHREAD::WaitTime
 

Definition at line 589 of file ke.h.

Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), KiFindReadyThread(), KiOutSwapKernelStacks(), and KiScanReadyQueues().

PVOID _KTHREAD::Win32Thread
 

Definition at line 636 of file ke.h.

Referenced by PsConvertToGuiThread(), PspExitThread(), PspThreadDelete(), and xxxCreateThreadInfo().


The documentation for this struct was generated from the following file:
Generated on Sat May 15 19:46:19 2004 for test by doxygen 1.3.7