#include "ki.h"
Go to the source code of this file.
Defines | |
#define | ASSERT_PROCESS(E) |
Functions | |
VOID | KiAttachProcess (IN PRKTHREAD Thread, IN PRKPROCESS Process, IN KIRQL OldIrql, OUT PRKAPC_STATE SavedApcState) |
VOID | KiMoveApcState (IN PKAPC_STATE Source, OUT PKAPC_STATE Destination) |
VOID | KeInitializeProcess (IN PRKPROCESS Process, IN KPRIORITY BasePriority, IN KAFFINITY Affinity, IN ULONG_PTR DirectoryTableBase[2], IN BOOLEAN Enable) |
VOID | KeAttachProcess (IN PRKPROCESS Process) |
LOGICAL | KeForceAttachProcess (IN PRKPROCESS Process) |
VOID | KeStackAttachProcess (IN PRKPROCESS Process, OUT PRKAPC_STATE ApcState) |
VOID | KeDetachProcess (VOID) |
VOID | KeUnstackDetachProcess (IN PRKAPC_STATE ApcState) |
LONG | KeReadStateProcess (IN PRKPROCESS Process) |
LONG | KeSetProcess (IN PRKPROCESS Process, IN KPRIORITY Increment, IN BOOLEAN Wait) |
KPRIORITY | KeSetPriorityProcess (IN PKPROCESS Process, IN KPRIORITY NewBase) |
LOGICAL | KeSetDisableQuantumProcess (IN PKPROCESS Process, IN LOGICAL Disable) |
VOID | KiAttachProcess (IN PRKTHREAD Thread, IN PKPROCESS Process, IN KIRQL OldIrql, OUT PRKAPC_STATE SavedApcState) |
|
Value: |
|
|
Definition at line 405 of file procobj.c. References APC_LEVEL, _KAPC_STATE::ApcListHead, _KTHREAD::ApcState, _KTHREAD::ApcStateIndex, _KTHREAD::ApcStatePointer, ASSERT, BALANCE_INCREMENT, DISPATCH_LEVEL, FALSE, _KEVENT::Header, KeBugCheck(), KeGetCurrentThread, _KAPC_STATE::KernelApcInProgress, _KAPC_STATE::KernelApcPending, KernelMode, KiLockDispatcherDatabase, KiMoveApcState(), KiProcessOutSwapListHead, KiRequestSoftwareInterrupt(), KiSwapEvent, KiSwapProcess(), KiUnlockDispatcherDatabase(), KiWaitTest(), NULL, _KAPC_STATE::Process, ProcessInTransition, _KTHREAD::SavedApcState, _DISPATCHER_HEADER::SignalState, _KPROCESS::StackCount, _KPROCESS::State, _KPROCESS::SwapListEntry, _KPROCESS::ThreadListHead, TRUE, UserMode, and _DISPATCHER_HEADER::WaitListHead. Referenced by _GetComboBoxInfo(), _GetListBoxInfo(), CheckWHFBits(), MiCloneProcessAddressSpace(), MiCreatePebOrTeb(), MiDoMappedCopy(), MiDoPoolCopy(), MiEmptyAllWorkingSetsWorker(), MiGetWorkingSetInfo(), MiLoadImageSection(), MiLoadSystemImage(), MmAssignProcessToJob(), MmCreatePeb(), MmCreateTeb(), MmDeleteTeb(), MmFlushVirtualMemory(), MmInitializeProcessAddressSpace(), MmMapViewOfSection(), MmProbeAndLockProcessPages(), MmSetBankedSection(), MmSetMemoryPriorityProcess(), MmUnmapViewOfSection(), MmWorkingSetManager(), NtAllocateUserPhysicalPages(), NtAllocateVirtualMemory(), NtDuplicateObject(), NtFlushInstructionCache(), NtFreeUserPhysicalPages(), NtFreeVirtualMemory(), NtLockVirtualMemory(), NtProtectVirtualMemory(), NtQueryVirtualMemory(), NtSetInformationJobObject(), NtSetInformationProcess(), NtUnlockVirtualMemory(), ObReferenceObjectByHandle(), PsAssignImpersonationToken(), PspAddProcessToJob(), PspCreateProcess(), PspSetQuotaLimits(), SepRmCallLsa(), SetProcessFlags(), SmbTraceCompleteRdr(), SmbTraceDisconnect(), SmbTraceStop(), xxxCheckImeShowStatus(), xxxCreateDisconnectDesktop(), xxxCreateWindowStation(), xxxGetThreadDesktop(), xxxImmActivateAndUnloadThreadsLayout(), xxxMinMaximize(), xxxNotifyImeShowStatus(), xxxSendMessageToUI(), and zzzSetWindowsHookEx().
|
|
Definition at line 228 of file procobj.c. References _KTHREAD::ApcState, _KTHREAD::ApcStateIndex, ASSERT, ASSERT_PROCESS, DISPATCH_LEVEL, FALSE, KeBugCheckEx(), KeGetCurrentThread, KiAttachProcess(), KiLockDispatcherDatabase, KiUnlockDispatcherDatabase(), _KAPC_STATE::Process, ProcessInMemory, ProcessInSwap, ProcessInTransition, ProcessOutSwap, _KTHREAD::SavedApcState, and TRUE. Referenced by MmWorkingSetManager().
|
|
Definition at line 63 of file procobj.c. References ProcessInMemory, ProcessObject, and THREAD_QUANTUM. Referenced by KiInitializeKernel(), and PspCreateProcess().
|
|
Definition at line 624 of file procobj.c. References ASSERT_PROCESS. Referenced by NtSetInformationJobObject(), NtSetInformationProcess(), and PsLockProcess().
|
|
Definition at line 907 of file procobj.c. References ASSERT_PROCESS. Referenced by PspApplyJobLimitsToProcess().
|
|
Definition at line 738 of file procobj.c. References ASSERT, ASSERT_PROCESS, _KTHREAD::BasePriority, _KTHREAD::DecrementCount, DISPATCH_LEVEL, KiLockDispatcherDatabase, KiSetPriorityThread(), KiUnlockDispatcherDatabase(), _KTHREAD::PriorityDecrement, _KTHREAD::Quantum, and _KTHREAD::Saturation. Referenced by NtSetInformationProcess(), and PsSetProcessPriorityByClass().
|
|
Definition at line 656 of file procobj.c. References ASSERT, ASSERT_PROCESS, DISPATCH_LEVEL, Increment, KeGetCurrentThread, KiLockDispatcherDatabase, KiUnlockDispatcherDatabase(), KiWaitTest(), _KTHREAD::WaitIrql, and _KTHREAD::WaitNext. Referenced by PspExitProcess(), and PspExitThread().
|
|
Definition at line 324 of file procobj.c. References _KTHREAD::ApcState, _KTHREAD::ApcStateIndex, ASSERT, ASSERT_PROCESS, DISPATCH_LEVEL, FALSE, KeBugCheckEx(), KeGetCurrentThread, KiAttachProcess(), KiLockDispatcherDatabase, KiUnlockDispatcherDatabase(), NULL, _KAPC_STATE::Process, and _KTHREAD::SavedApcState. Referenced by NtClose(), NtSetInformationObject(), NtWaitForMultipleObjects(), ObpCreateHandle(), ObpCreateUnnamedHandle(), and PspProcessDelete().
|
|
Definition at line 512 of file procobj.c. References APC_LEVEL, _KAPC_STATE::ApcListHead, _KTHREAD::ApcState, _KTHREAD::ApcStateIndex, _KTHREAD::ApcStatePointer, ASSERT, BALANCE_INCREMENT, DISPATCH_LEVEL, FALSE, _KEVENT::Header, KeBugCheck(), KeGetCurrentThread, _KAPC_STATE::KernelApcInProgress, _KAPC_STATE::KernelApcPending, KernelMode, KiLockDispatcherDatabase, KiMoveApcState(), KiProcessOutSwapListHead, KiRequestSoftwareInterrupt(), KiSwapEvent, KiSwapProcess(), KiUnlockDispatcherDatabase(), KiWaitTest(), NULL, _KAPC_STATE::Process, ProcessInTransition, _KTHREAD::SavedApcState, _DISPATCHER_HEADER::SignalState, _KPROCESS::StackCount, _KPROCESS::State, _KPROCESS::SwapListEntry, _KPROCESS::ThreadListHead, TRUE, UserMode, and _DISPATCHER_HEADER::WaitListHead. Referenced by NtClose(), NtSetInformationObject(), NtWaitForMultipleObjects(), ObpCreateHandle(), ObpCreateUnnamedHandle(), and PspProcessDelete().
|
|
Definition at line 955 of file procobj.c. References ASSERT, BALANCE_INCREMENT, FALSE, _KEVENT::Header, KeGetCurrentPrcb, KernelMode, KiLockContextSwap, KiMoveApcState(), KiProcessInSwapListHead, KiReadyThread(), KiSwapEvent, KiSwapProcess(), KiSwapThread(), KiUnlockContextSwap, KiUnlockDispatcherDatabase(), KiWaitTest(), ProcessInMemory, ProcessInTransition, ProcessOutOfMemory, _KTHREAD::ProcessReadyQueue, Ready, _DISPATCHER_HEADER::SignalState, TRUE, UserMode, and _DISPATCHER_HEADER::WaitListHead. Referenced by KeAttachProcess(), KeForceAttachProcess(), and KeStackAttachProcess().
|
|
|
|
Definition at line 1092 of file procobj.c. References FALSE, KernelMode, and UserMode. Referenced by KeDetachProcess(), KeUnstackDetachProcess(), and KiAttachProcess().
|