ReactOS 0.4.16-dev-106-g10b08aa
|
Go to the source code of this file.
Classes | |
struct | _WOW64_PROCESS |
struct | _KPROFILE_SOURCE_OBJECT |
struct | _DISPATCH_INFO |
struct | _PROCESS_VALUES |
struct | _DEFERRED_REVERSE_BARRIER |
struct | _KI_SAMPLE_MAP |
struct | _DPC_QUEUE_ENTRY |
struct | _KNMI_HANDLER_CALLBACK |
Macros | |
#define | MAX_TIMER_DPCS 16 |
#define | PRIORITY_MASK(Priority) (1UL << (Priority)) |
#define | TIMER_OR_EVENT_TYPE 0x7L |
#define | TIMER_WAIT_BLOCK 0x3L |
Enumerations | |
enum | _CONNECT_TYPE { NoConnect , NormalConnect , ChainConnect , UnknownConnect } |
typedef enum _CONNECT_TYPE CONNECT_TYPE |
typedef struct _DISPATCH_INFO DISPATCH_INFO |
typedef struct _DPC_QUEUE_ENTRY DPC_QUEUE_ENTRY |
typedef struct _KI_SAMPLE_MAP KI_SAMPLE_MAP |
typedef enum _CONNECT_TYPE * PCONNECT_TYPE |
typedef struct _DISPATCH_INFO * PDISPATCH_INFO |
typedef struct _DPC_QUEUE_ENTRY * PDPC_QUEUE_ENTRY |
typedef struct _KI_SAMPLE_MAP * PKI_SAMPLE_MAP |
typedef struct _PROCESS_VALUES * PPROCESS_VALUES |
typedef struct _PROCESS_VALUES PROCESS_VALUES |
typedef struct _WOW64_PROCESS * PWOW64_PROCESS |
typedef struct _WOW64_PROCESS WOW64_PROCESS |
Enumerator | |
---|---|
NoConnect | |
NormalConnect | |
ChainConnect | |
UnknownConnect |
Definition at line 25 of file ke.h.
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _IRQL_requires_min_ | ( | DISPATCH_LEVEL | ) | -> Lock) _Acquires_exclusive_lock_(*LockHandle->Lock) VOID FASTCALL KeAcquireQueuedSpinLockAtDpcLevel(_Inout_ PKSPIN_LOCK_QUEUE LockQueue) |
Definition at line 121 of file spinlock.c.
Definition at line 581 of file v86vdm.c.
Referenced by NtSetInformationProcess().
Definition at line 124 of file thrdobj.c.
Referenced by NtAlertResumeThread().
Definition at line 176 of file thrdobj.c.
Referenced by NtAlertThread().
Definition at line 137 of file balmgr.c.
Referenced by MmInitBsmThread().
Definition at line 220 of file thrdobj.c.
Referenced by NtSetInformationProcess().
Definition at line 518 of file bug.c.
Referenced by KeBugCheckWithTf(), KeRosDumpStackFrameArray(), and KiDisplayBlueScreen().
DECLSPEC_NORETURN VOID NTAPI KeBugCheckWithTf | ( | ULONG | BugCheckCode, |
ULONG_PTR | BugCheckParameter1, | ||
ULONG_PTR | BugCheckParameter2, | ||
ULONG_PTR | BugCheckParameter3, | ||
ULONG_PTR | BugCheckParameter4, | ||
PKTRAP_FRAME | Tf | ||
) |
VOID NTAPI KeContextToTrapFrame | ( | PCONTEXT | Context, |
PKEXCEPTION_FRAME | ExeptionFrame, | ||
PKTRAP_FRAME | TrapFrame, | ||
ULONG | ContextFlags, | ||
KPROCESSOR_MODE | PreviousMode | ||
) |
Definition at line 22 of file thrdobj.c.
Referenced by KeInitializeProcess(), and KeStartThread().
Definition at line 526 of file cpu.c.
Referenced by KeFlushEntireTb(), KeThawExecution(), KiFlushTargetEntireTb(), MiDeletePte(), MiFlushTbAndCapture(), MiFlushTlbIpiRoutine(), MiInitializePageTable(), MiInitMachineDependent(), MiProcessValidPteList(), MiRemoveMappedPtes(), MmChangeKernelResourceSectionProtection(), and MmFreeLoaderBlock().
PLIST_ENTRY NTAPI KeFlushQueueApc | ( | IN PKTHREAD | Thread, |
IN KPROCESSOR_MODE | PreviousMode | ||
) |
Definition at line 793 of file apc.c.
Referenced by PspExitThread().
Definition at line 267 of file thrdobj.c.
Referenced by PspCreateThread(), PspExitThread(), PspTerminateThreadByPointer(), and PsSuspendThread().
Definition at line 306 of file thrdobj.c.
Referenced by DbgkpSuspendProcess().
BOOLEAN NTAPI KeFreezeExecution | ( | IN PKTRAP_FRAME | TrapFrame, |
IN PKEXCEPTION_FRAME | ExceptionFrame | ||
) |
Definition at line 26 of file freeze.c.
Referenced by KdEnterDebugger().
Definition at line 59 of file except.c.
Referenced by KiSystemStartup().
VOID NTAPI KeInitializeEventPair | ( | PKEVENT_PAIR | EventPair | ) |
Referenced by NtCreateEventPair().
Referenced by _KeInitializeGuardedMutex(), ExfAcquirePushLockExclusive(), and ExfAcquirePushLockShared().
VOID NTAPI KeInitializeProcess | ( | struct _KPROCESS * | Process, |
KPRIORITY | Priority, | ||
KAFFINITY | Affinity, | ||
PULONG_PTR | DirectoryTableBase, | ||
IN BOOLEAN | Enable | ||
) |
Referenced by KiInitializeKernel(), and PspCreateProcess().
VOID NTAPI KeInitializeProfile | ( | struct _KPROFILE * | Profile, |
struct _KPROCESS * | Process, | ||
PVOID | ImageBase, | ||
SIZE_T | ImageSize, | ||
ULONG | BucketSize, | ||
KPROFILE_SOURCE | ProfileSource, | ||
KAFFINITY | Affinity | ||
) |
Referenced by NtStartProfile().
VOID NTAPI KeInitializeThread | ( | IN PKPROCESS | Process, |
IN OUT PKTHREAD | Thread, | ||
IN PKSYSTEM_ROUTINE | SystemRoutine, | ||
IN PKSTART_ROUTINE | StartRoutine, | ||
IN PVOID | StartContext, | ||
IN PCONTEXT | Context, | ||
IN PVOID | Teb, | ||
IN PVOID | KernelStack | ||
) |
Definition at line 891 of file thrdobj.c.
Referenced by KiInitializeHandBuiltThread(), and KiInitializeKernel().
Definition at line 296 of file krnlinit.c.
Referenced by Phase1InitializationDiscard().
NTSTATUS NTAPI KeInitThread | ( | IN OUT PKTHREAD | Thread, |
IN PVOID | KernelStack, | ||
IN PKSYSTEM_ROUTINE | SystemRoutine, | ||
IN PKSTART_ROUTINE | StartRoutine, | ||
IN PVOID | StartContext, | ||
IN PCONTEXT | Context, | ||
IN PVOID | Teb, | ||
IN PKPROCESS | Process | ||
) |
Definition at line 756 of file thrdobj.c.
Referenced by KeInitializeThread(), and PspCreateThread().
Definition at line 756 of file exp.c.
Definition at line 698 of file cpu.c.
Referenced by MiMapLockedPagesInUserSpace(), and MmMapIoSpace().
Definition at line 52 of file thrdobj.c.
Referenced by NtQueryInformationThread().
ULONG NTAPI KeQueryIntervalProfile | ( | KPROFILE_SOURCE | ProfileSource | ) |
Referenced by NtQueryIntervalProfile().
Definition at line 860 of file procobj.c.
Referenced by NtQueryInformationProcess(), and QSI_DEF().
VOID NTAPI KeQueryValuesProcess | ( | IN PKPROCESS | Process, |
PPROCESS_VALUES | Values | ||
) |
Definition at line 525 of file procobj.c.
Referenced by NtQueryInformationJobObject(), and NtQueryInformationProcess().
Definition at line 42 of file thrdobj.c.
Referenced by NtQueryInformationThread(), and PspExitThread().
Definition at line 106 of file thrdobj.c.
Referenced by PspCreateThread().
Referenced by ExTimerRundown(), NtCancelTimer(), and NtSetTimer().
Definition at line 388 of file thrdobj.c.
Referenced by PspCreateThread(), PsResumeProcess(), and PsResumeThread().
VOID NTAPI KeRosDumpStackFrames | ( | PULONG_PTR | Frame, |
ULONG | FrameCount | ||
) |
Definition at line 430 of file thrdobj.c.
Referenced by PspExitThread().
Definition at line 265 of file procobj.c.
Referenced by NtSetInformationProcess().
Definition at line 313 of file procobj.c.
Referenced by NtSetInformationProcess().
Definition at line 331 of file procobj.c.
Referenced by NtSetInformationProcess().
Definition at line 86 of file thrdobj.c.
Referenced by NtSetInformationProcess(), and NtSetInformationThread().
VOID NTAPI KeSetIntervalProfile | ( | ULONG | Interval, |
KPROFILE_SOURCE | ProfileSource | ||
) |
Referenced by NtSetIntervalProfile().
KPRIORITY NTAPI KeSetPriorityAndQuantumProcess | ( | IN PKPROCESS | Process, |
IN KPRIORITY | Priority, | ||
IN UCHAR Quantum | OPTIONAL | ||
) |
Definition at line 349 of file procobj.c.
Referenced by NtSetInformationProcess(), and PsSetProcessPriorityByClass().
Referenced by PspExitThread().
Definition at line 229 of file procobj.c.
Referenced by PsChangeQuantumTable().
VOID NTAPI KeSetSystemTime | ( | IN PLARGE_INTEGER | NewSystemTime, |
OUT PLARGE_INTEGER | OldSystemTime, | ||
IN BOOLEAN | FixInterruptTime, | ||
IN PLARGE_INTEGER | HalTime | ||
) |
Definition at line 28 of file clock.c.
Referenced by ExpSetTimeZoneInformation(), NtSetSystemTime(), and Phase1InitializationDiscard().
Referenced by _KeReleaseGuardedMutex(), _KeReleaseGuardedMutexUnsafe(), and ExfWakePushLock().
Definition at line 20 of file mproc.c.
Referenced by Phase1InitializationDiscard().
Referenced by NtStartProfile().
Definition at line 489 of file thrdobj.c.
Referenced by KeInitializeThread(), and PspCreateThread().
Referenced by ExpDeleteProfile(), and NtStopProfile().
Definition at line 601 of file thrdobj.c.
Referenced by NtSetSystemPowerState(), PspCreateThread(), and PsSuspendThread().
Referenced by PsConvertToGuiThread().
BOOLEAN NTAPI KeTestAlertThread | ( | IN KPROCESSOR_MODE | AlertMode | ) |
Definition at line 722 of file thrdobj.c.
Referenced by KiDeliverApc(), NtContinue(), and NtTestAlert().
Definition at line 660 of file thrdobj.c.
Referenced by DbgkpResumeProcess().
Definition at line 65 of file freeze.c.
Referenced by KdExitDebugger().
VOID NTAPI KeTrapFrameToContext | ( | IN PKTRAP_FRAME | TrapFrame, |
IN PKEXCEPTION_FRAME | ExceptionFrame, | ||
IN OUT PCONTEXT | Context | ||
) |
Definition at line 169 of file context.c.
Referenced by _IRQL_requires_(), Ke386SetIOPL(), KiDispatchException(), KiInitializeUserApc(), KiSaveProcessorState(), and PspGetContext().
Definition at line 917 of file thrdobj.c.
Referenced by PspCreateThread().
VOID NTAPI KeUpdateRunTime | ( | PKTRAP_FRAME | TrapFrame, |
KIRQL | Irql | ||
) |
ULONG NTAPI KeV86Exception | ( | ULONG | ExceptionNr, |
PKTRAP_FRAME | Tf, | ||
ULONG | address | ||
) |
VOID FASTCALL KeWaitForGate | ( | PKGATE | Gate, |
KWAIT_REASON | WaitReason, | ||
KPROCESSOR_MODE | WaitMode | ||
) |
Referenced by ExfAcquirePushLockExclusive(), ExfAcquirePushLockShared(), and KiAcquireGuardedMutex().
Definition at line 56 of file cpu.c.
Referenced by MiSessionInitializeWorkingSetList(), MiZeroPfn(), MiZeroPhysicalPage(), and MmZeroPageThread().
VOID FASTCALL KiAcquireFastMutex | ( | IN PFAST_MUTEX | FastMutex | ) |
Definition at line 107 of file wait.c.
Referenced by _ExAcquireFastMutex(), and _ExAcquireFastMutexUnsafe().
VOID FASTCALL KiAcquireGuardedMutex | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 122 of file wait.c.
Referenced by _KeAcquireGuardedMutex(), and _KeAcquireGuardedMutexUnsafe().
Definition at line 24 of file queue.c.
Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeTerminateThread(), KeWaitForGate(), KeWaitForMultipleObjects(), and KeWaitForSingleObject().
VOID NTAPI KiAddProfileEvent | ( | KPROFILE_SOURCE | Source, |
ULONG | Pc | ||
) |
Definition at line 461 of file thrdschd.c.
Referenced by KeDelayExecutionThread(), KeWaitForMultipleObjects(), and KeWaitForSingleObject().
VOID NTAPI KiAttachProcess | ( | struct _KTHREAD * | Thread, |
struct _KPROCESS * | Process, | ||
PKLOCK_QUEUE_HANDLE | ApcLock, | ||
struct _KAPC_STATE * | SavedApcState | ||
) |
Referenced by NtCallbackReturn().
VOID FASTCALL KiChainedDispatch | ( | IN PKTRAP_FRAME | TrapFrame, |
IN PKINTERRUPT | Interrupt | ||
) |
Definition at line 231 of file irqobj.c.
Referenced by KiGetVectorDispatch().
Definition at line 36 of file apc.c.
Definition at line 167 of file timerobj.c.
Referenced by KxInsertTimer().
Definition at line 123 of file krnlinit.c.
Referenced by KiInitializeKernel().
NTSTATUS NTAPI KiContinue | ( | IN PCONTEXT | Context, |
IN PKEXCEPTION_FRAME | ExceptionFrame, | ||
IN PKTRAP_FRAME | TrapFrame | ||
) |
Definition at line 42 of file except.c.
Referenced by NtContinue().
Definition at line 79 of file thrdschd.c.
Referenced by _Requires_lock_held_(), KiDeferredReadyThread(), KiInsertDeferredReadyList(), and KiProcessDeferredReadyList().
BOOLEAN NTAPI KiDeliverUserApc | ( | PKTRAP_FRAME | TrapFrame | ) |
VOID NTAPI KiDispatchException | ( | PEXCEPTION_RECORD | ExceptionRecord, |
PKEXCEPTION_FRAME | ExceptionFrame, | ||
PKTRAP_FRAME | Tf, | ||
KPROCESSOR_MODE | PreviousMode, | ||
BOOLEAN | SearchFrames | ||
) |
Referenced by KiInitializeUserApc(), and KiPrefetchAbortHandler().
Referenced by KeAlertResumeThread(), KeAlertThread(), KeDetachProcess(), KeForceResumeThread(), KeFreezeAllThreads(), KeInsertQueueApc(), KeRemoveQueue(), KeResumeThread(), KeRundownQueue(), KeSetAffinityProcess(), KeSetPriorityAndQuantumProcess(), KeSetTimerEx(), KeSignalGateBoostPriority(), KeSuspendThread(), KeThawAllThreads(), KeUnstackDetachProcess(), KiAdjustQuantumThread(), KiAttachProcess(), and KiReleaseDispatcherLock().
VOID NTAPI KiExpireTimers | ( | PKDPC | Dpc, |
PVOID | DeferredContext, | ||
PVOID | SystemArgument1, | ||
PVOID | SystemArgument2 | ||
) |
Definition at line 1165 of file bug.c.
Referenced by KiNmiInterruptHandler(), and KiTrap02Handler().
DECLSPEC_NORETURN VOID KiIdleLoop | ( | VOID | ) |
Definition at line 99 of file stubs.c.
Referenced by KiInitializeSystem(), and KiSystemStartupBootStack().
Definition at line 32 of file thrdschd.c.
Definition at line 300 of file bug.c.
Referenced by ExpInitializeExecutive().
VOID NTAPI KiInitializeContextThread | ( | PKTHREAD | Thread, |
PKSYSTEM_ROUTINE | SystemRoutine, | ||
PKSTART_ROUTINE | StartRoutine, | ||
PVOID | StartContext, | ||
PCONTEXT | Context | ||
) |
Referenced by KeInitThread().
Definition at line 309 of file kiinit.c.
Referenced by KiInitializeSystem(), and KiSystemStartup().
VOID NTAPI KiInitializeUserApc | ( | IN PKEXCEPTION_FRAME | Reserved, |
IN PKTRAP_FRAME | TrapFrame, | ||
IN PKNORMAL_ROUTINE | NormalRoutine, | ||
IN PVOID | NormalContext, | ||
IN PVOID | SystemArgument1, | ||
IN PVOID | SystemArgument2 | ||
) |
Definition at line 266 of file usercall.c.
Referenced by KiDeliverApc(), and PspUserThreadStartup().
Definition at line 48 of file kiinit.c.
Referenced by KeInitSystem().
Definition at line 187 of file krnlinit.c.
Referenced by KiInitializeKernel(), and KiSystemStartupBootStack().
Definition at line 71 of file krnlinit.c.