|
ReactOS 0.4.17-dev-1196-gb6224c3
|
Go to the source code of this file.
Macros | |
| #define | KeEnterGuardedRegionThread(_Thread) |
| #define | KeEnterGuardedRegion() |
| #define | KeLeaveGuardedRegionThread(_Thread) |
| #define | KeLeaveGuardedRegion() |
| #define | KeEnterCriticalRegionThread(_Thread) |
| #define | KeEnterCriticalRegion() |
| #define | KeLeaveCriticalRegionThread(_Thread) |
| #define | KeLeaveCriticalRegion() |
| #define | KiSatisfyMutantWait(Object, Thread) |
| #define | KiSatisfyNonMutantWait(Object) |
| #define | KiSatisfyObjectWait(Object, Thread) |
| #define | KiAddThreadToWaitList(Thread, Swappable) |
| #define | KxDelayThreadWait() |
| #define | KxMultiThreadWait() |
| #define | KxSingleThreadWait() |
| #define | KxQueueThreadWait() |
| #define KeEnterCriticalRegion | ( | ) |
| #define KeEnterCriticalRegionThread | ( | _Thread | ) |
| #define KeEnterGuardedRegion | ( | ) |
| #define KeEnterGuardedRegionThread | ( | _Thread | ) |
| #define KeLeaveCriticalRegion | ( | ) |
| #define KeLeaveCriticalRegionThread | ( | _Thread | ) |
| #define KeLeaveGuardedRegion | ( | ) |
| #define KeLeaveGuardedRegionThread | ( | _Thread | ) |
| #define KxDelayThreadWait | ( | ) |
| FORCEINLINE VOID _KeAcquireGuardedMutex | ( | IN PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 1566 of file ke_x.h.
Referenced by KeAcquireGuardedMutex().
| FORCEINLINE VOID _KeAcquireGuardedMutexUnsafe | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 1501 of file ke_x.h.
Referenced by KeAcquireGuardedMutexUnsafe().
| FORCEINLINE VOID _KeInitializeGuardedMutex | ( | OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 1488 of file ke_x.h.
Referenced by KeInitializeGuardedMutex().
| FORCEINLINE VOID _KeReleaseGuardedMutex | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 1591 of file ke_x.h.
Referenced by KeReleaseGuardedMutex().
| FORCEINLINE VOID _KeReleaseGuardedMutexUnsafe | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 1525 of file ke_x.h.
Referenced by KeReleaseGuardedMutexUnsafe().
| FORCEINLINE BOOLEAN _KeTryToAcquireGuardedMutex | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 1634 of file ke_x.h.
Referenced by KeTryToAcquireGuardedMutex().
| _Requires_lock_held_ | ( | Prcb-> | PrcbLock | ) | -> PrcbLock) FORCEINLINE VOID KxQueueReadyThread(IN PKTHREAD Thread, IN PKPRCB Prcb) |
Definition at line 1329 of file ke_x.h.
| FORCEINLINE KPROCESSOR_MODE KeGetPreviousMode | ( | VOID | ) |
| FORCEINLINE VOID KiAcquireApcLockAtSynchLevel | ( | IN PKTHREAD | Thread, |
| IN PKLOCK_QUEUE_HANDLE | Handle | ||
| ) |
Definition at line 595 of file ke_x.h.
Referenced by KeFreezeAllThreads(), and KeThawAllThreads().
| FORCEINLINE VOID KiAcquireApcLockRaiseToDpc | ( | IN PKTHREAD | Thread, |
| IN PKLOCK_QUEUE_HANDLE | Handle | ||
| ) |
Definition at line 605 of file ke_x.h.
Referenced by KiDeliverApc().
| FORCEINLINE VOID KiAcquireApcLockRaiseToSynch | ( | IN PKTHREAD | Thread, |
| IN PKLOCK_QUEUE_HANDLE | Handle | ||
| ) |
Definition at line 586 of file ke_x.h.
Referenced by KeAlertResumeThread(), KeAlertThread(), KeAttachProcess(), KeDetachProcess(), KeFlushQueueApc(), KeForceResumeThread(), KeInsertQueueApc(), KeRemoveQueueApc(), KeResumeThread(), KeStackAttachProcess(), KeSuspendThread(), KeTestAlertThread(), KeUnstackDetachProcess(), and KeWaitForGate().
| FORCEINLINE VOID KiAcquireDeviceQueueLock | ( | IN PKDEVICE_QUEUE | DeviceQueue, |
| IN PKLOCK_QUEUE_HANDLE | DeviceLock | ||
| ) |
Definition at line 655 of file ke_x.h.
Referenced by KeInsertByKeyDeviceQueue(), KeInsertDeviceQueue(), KeRemoveByKeyDeviceQueue(), KeRemoveByKeyDeviceQueueIfBusy(), KeRemoveDeviceQueue(), and KeRemoveEntryDeviceQueue().
| FORCEINLINE KIRQL KiAcquireDispatcherLock | ( | VOID | ) |
Definition at line 149 of file ke_x.h.
Referenced by ExpExpandResourceOwnerTable(), ExpWaitForResource(), KeBoostPriorityThread(), KeCancelTimer(), KeConnectInterrupt(), KeDisconnectInterrupt(), KeInitializeMutant(), KeInsertHeadQueue(), KeInsertQueue(), KePulseEvent(), KeReadyThread(), KeReleaseMutant(), KeReleaseSemaphore(), KeResetEvent(), KeRevertToUserAffinityThread(), KeRundownQueue(), KeRundownThread(), KeSetAffinityThread(), KeSetBasePriorityThread(), KeSetEvent(), KeSetEventBoostPriority(), KeSetIdealProcessorThread(), KeSetPriorityThread(), KeSetProcess(), KeSetSystemAffinityThread(), KeSetSystemTime(), KeSetTimerEx(), KiInsertQueueApc(), KiScanReadyQueues(), and KiTimerExpiration().
| FORCEINLINE VOID KiAcquireDispatcherLockAtSynchLevel | ( | VOID | ) |
Definition at line 165 of file ke_x.h.
Referenced by KeAlertResumeThread(), KeAlertThread(), KeAttachProcess(), KeDelayExecutionThread(), KeDetachProcess(), KeForceResumeThread(), KeFreezeAllThreads(), KeRemoveQueue(), KeRemoveQueueApc(), KeResumeThread(), KeSetAffinityProcess(), KeSetPriorityAndQuantumProcess(), KeSignalGateBoostPriority(), KeStackAttachProcess(), KeStartThread(), KeSuspendThread(), KeTerminateThread(), KeThawAllThreads(), KeUnstackDetachProcess(), KeWaitForGate(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), and KiCompleteTimer().
| FORCEINLINE VOID KiAcquireDispatcherObject | ( | IN DISPATCHER_HEADER * | Object | ) |
Definition at line 132 of file ke_x.h.
Referenced by KeSignalGateBoostPriority(), KeWaitForGate(), and KiInsertQueueApc().
| FORCEINLINE VOID KiAcquireNmiListLock | ( | OUT PKIRQL | OldIrql | ) |
Definition at line 1661 of file ke_x.h.
Referenced by KeDeregisterNmiCallback(), and KeRegisterNmiCallback().
| FORCEINLINE VOID KiAcquirePrcbLock | ( | IN PKPRCB | Prcb | ) |
Definition at line 220 of file ke_x.h.
Referenced by _Requires_lock_not_held_(), KeRevertToUserAffinityThread(), KeSetSystemAffinityThread(), KiAdjustQuantumThread(), KiDeferredReadyThread(), KiDispatchInterrupt(), KiExitDispatcher(), KiInitializeKernel(), KiScanReadyQueues(), KiSetPriorityThread(), KiSwapThread(), KiSystemStartupBootStack(), and NtYieldExecution().
| FORCEINLINE VOID KiAcquireProcessLockRaiseToSynch | ( | IN PKPROCESS | Process, |
| IN PKLOCK_QUEUE_HANDLE | Handle | ||
| ) |
Definition at line 630 of file ke_x.h.
Referenced by KeFreezeAllThreads(), KeQueryRuntimeProcess(), KeQueryValuesProcess(), KeSetAffinityProcess(), KeSetPriorityAndQuantumProcess(), KeSetQuantumProcess(), KeStartThread(), KeTerminateThread(), KeThawAllThreads(), and MmSetExecuteOptions().
| FORCEINLINE VOID KiAcquireThreadLock | ( | IN PKTHREAD | Thread | ) |
Definition at line 240 of file ke_x.h.
Referenced by _Requires_lock_not_held_(), ExpBoostOwnerThread(), KeBoostPriorityThread(), KeQueryBasePriorityThread(), KeSetBasePriorityThread(), KeSetPriorityAndQuantumProcess(), KeSetPriorityThread(), KeWaitForGate(), KiAdjustQuantumThread(), KiDeferredReadyThread(), KiInsertQueueApc(), and NtYieldExecution().
| FORCEINLINE PKSPIN_LOCK_QUEUE KiAcquireTimerLock | ( | IN ULONG | Hand | ) |
Definition at line 286 of file ke_x.h.
Referenced by KeSetSystemTime(), KiInsertTreeTimer(), KiTimerExpiration(), KxInsertTimer(), and KxRemoveTreeTimer().
| FORCEINLINE NTSTATUS KiCheckAlertability | ( | IN PKTHREAD | Thread, |
| IN BOOLEAN | Alertable, | ||
| IN KPROCESSOR_MODE | WaitMode | ||
| ) |
Definition at line 820 of file ke_x.h.
Referenced by KeDelayExecutionThread(), KeWaitForMultipleObjects(), and KeWaitForSingleObject().
| FORCEINLINE VOID KiCheckDeferredReadyList | ( | IN PKPRCB | Prcb | ) |
Definition at line 268 of file ke_x.h.
Referenced by KiExitDispatcher().
| FORCEINLINE BOOLEAN KiCheckThreadStackSwap | ( | IN PKTHREAD | Thread, |
| IN KPROCESSOR_MODE | WaitMode | ||
| ) |
| FORCEINLINE BOOLEAN KiComputeDueTime | ( | IN PKTIMER | Timer, |
| IN LARGE_INTEGER | DueTime, | ||
| OUT PULONG | Hand | ||
| ) |
Definition at line 931 of file ke_x.h.
Referenced by KeSetTimerEx(), and KiInsertTreeTimer().
Definition at line 1451 of file ke_x.h.
Referenced by _Requires_lock_not_held_(), KeSetBasePriorityThread(), KeSetEventBoostPriority(), KiAdjustQuantumThread(), KiDeferredReadyThread(), and NtYieldExecution().
| FORCEINLINE ULONG KiComputeTimerTableIndex | ( | IN ULONGLONG | DueTime | ) |
Definition at line 860 of file ke_x.h.
Referenced by KeSetSystemTime(), KiComputeDueTime(), KiInsertTimerTable(), and KxSetTimerForThreadWait().
| FORCEINLINE VOID KiInsertDeferredReadyList | ( | IN PKTHREAD | Thread | ) |
Definition at line 185 of file ke_x.h.
Referenced by KiInsertQueueApc(), KiReadyThread(), KiScanReadyQueues(), and KiSetPriorityThread().
| FORCEINLINE ULONG64 KiReadThreadCycleTime | ( | _In_ PKTHREAD | Thread | ) |
Definition at line 1696 of file ke_x.h.
Referenced by _IRQL_requires_max_().
| FORCEINLINE PLARGE_INTEGER KiRecalculateDueTime | ( | IN PLARGE_INTEGER | OriginalDueTime, |
| IN PLARGE_INTEGER | DueTime, | ||
| IN OUT PLARGE_INTEGER | NewDueTime | ||
| ) |
Definition at line 764 of file ke_x.h.
Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeWaitForMultipleObjects(), and KeWaitForSingleObject().
| FORCEINLINE VOID KiReleaseApcLock | ( | IN PKLOCK_QUEUE_HANDLE | Handle | ) |
Definition at line 614 of file ke_x.h.
Referenced by KeFlushQueueApc(), KeRemoveQueueApc(), KeSuspendThread(), KeTestAlertThread(), KeUnstackDetachProcess(), KeWaitForGate(), and KiDeliverApc().
| FORCEINLINE VOID KiReleaseApcLockFromSynchLevel | ( | IN PKLOCK_QUEUE_HANDLE | Handle | ) |
Definition at line 622 of file ke_x.h.
Referenced by KeAlertResumeThread(), KeAlertThread(), KeDetachProcess(), KeForceResumeThread(), KeFreezeAllThreads(), KeInsertQueueApc(), KeResumeThread(), KeSuspendThread(), KeThawAllThreads(), KeUnstackDetachProcess(), KeWaitForGate(), and KiAttachProcess().
| FORCEINLINE VOID KiReleaseDeviceQueueLock | ( | IN PKLOCK_QUEUE_HANDLE | DeviceLock | ) |
Definition at line 675 of file ke_x.h.
Referenced by KeInsertByKeyDeviceQueue(), KeInsertDeviceQueue(), KeRemoveByKeyDeviceQueue(), KeRemoveByKeyDeviceQueueIfBusy(), KeRemoveDeviceQueue(), and KeRemoveEntryDeviceQueue().
| FORCEINLINE VOID KiReleaseDispatcherLock | ( | IN KIRQL | OldIrql | ) |
Definition at line 157 of file ke_x.h.
Referenced by ExpExpandResourceOwnerTable(), KeBoostPriorityThread(), KeCancelTimer(), KeConnectInterrupt(), KeDelayExecutionThread(), KeDisconnectInterrupt(), KeInitializeMutant(), KeInsertHeadQueue(), KeInsertQueue(), KePulseEvent(), KeReadyThread(), KeReleaseMutant(), KeReleaseSemaphore(), KeResetEvent(), KeRevertToUserAffinityThread(), KeRundownThread(), KeSetAffinityThread(), KeSetBasePriorityThread(), KeSetEvent(), KeSetEventBoostPriority(), KeSetIdealProcessorThread(), KeSetPriorityThread(), KeSetProcess(), KeSetSystemAffinityThread(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), KiScanReadyQueues(), KiTimerExpiration(), and KiTimerListExpire().
| FORCEINLINE VOID KiReleaseDispatcherLockFromSynchLevel | ( | VOID | ) |
Definition at line 174 of file ke_x.h.
Referenced by KeAlertResumeThread(), KeAlertThread(), KeDelayExecutionThread(), KeDetachProcess(), KeForceResumeThread(), KeFreezeAllThreads(), KeRemoveQueue(), KeRemoveQueueApc(), KeResumeThread(), KeRundownQueue(), KeSetAffinityProcess(), KeSetPriorityAndQuantumProcess(), KeSetTimerEx(), KeSignalGateBoostPriority(), KeStartThread(), KeSuspendThread(), KeTerminateThread(), KeThawAllThreads(), KeUnstackDetachProcess(), KeWaitForGate(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), KiAttachProcess(), KiCompleteTimer(), KiInsertQueueApc(), and KxInsertTimer().
| FORCEINLINE VOID KiReleaseDispatcherObject | ( | IN DISPATCHER_HEADER * | Object | ) |
Definition at line 142 of file ke_x.h.
Referenced by KeSignalGateBoostPriority(), KeWaitForGate(), and KiInsertQueueApc().
| FORCEINLINE VOID KiReleaseNmiListLock | ( | IN KIRQL | OldIrql | ) |
Definition at line 1668 of file ke_x.h.
Referenced by KeDeregisterNmiCallback(), and KeRegisterNmiCallback().
| FORCEINLINE VOID KiReleasePrcbLock | ( | IN PKPRCB | Prcb | ) |
Definition at line 230 of file ke_x.h.
Referenced by _Requires_lock_held_(), _Requires_lock_not_held_(), KeRevertToUserAffinityThread(), KeSetSystemAffinityThread(), KiAdjustQuantumThread(), KiDeferredReadyThread(), KiInitializeKernel(), KiScanReadyQueues(), KiSetPriorityThread(), KiSwapThread(), KiSystemStartupBootStack(), and NtYieldExecution().
| FORCEINLINE VOID KiReleaseProcessLock | ( | IN PKLOCK_QUEUE_HANDLE | Handle | ) |
Definition at line 639 of file ke_x.h.
Referenced by KeFreezeAllThreads(), KeQueryRuntimeProcess(), KeQueryValuesProcess(), KeSetQuantumProcess(), KeStartThread(), and MmSetExecuteOptions().
| FORCEINLINE VOID KiReleaseProcessLockFromSynchLevel | ( | IN PKLOCK_QUEUE_HANDLE | Handle | ) |
Definition at line 647 of file ke_x.h.
Referenced by KeFreezeAllThreads(), KeSetAffinityProcess(), KeSetPriorityAndQuantumProcess(), KeTerminateThread(), and KeThawAllThreads().
| FORCEINLINE VOID KiReleaseThreadLock | ( | IN PKTHREAD | Thread | ) |
Definition at line 250 of file ke_x.h.
Referenced by _Requires_lock_not_held_(), ExpBoostOwnerThread(), KeBoostPriorityThread(), KeQueryBasePriorityThread(), KeSetBasePriorityThread(), KeSetPriorityAndQuantumProcess(), KeSetPriorityThread(), KeSignalGateBoostPriority(), KeWaitForGate(), KiAdjustQuantumThread(), KiDeferredReadyThread(), KiInsertQueueApc(), and NtYieldExecution().
| FORCEINLINE VOID KiReleaseTimerLock | ( | IN PKSPIN_LOCK_QUEUE | LockQueue | ) |
Definition at line 297 of file ke_x.h.
Referenced by KeSetSystemTime(), KiCompleteTimer(), KiInsertTreeTimer(), KiTimerExpiration(), KxInsertTimer(), and KxRemoveTreeTimer().
| FORCEINLINE VOID KiRemoveEntryTimer | ( | IN PKTIMER | Timer | ) |
Definition at line 871 of file ke_x.h.
Referenced by KeSetSystemTime(), KiCompleteTimer(), KiInsertTreeTimer(), and KiTimerExpiration().
Definition at line 276 of file ke_x.h.
Referenced by KiInsertQueueApc().
Definition at line 197 of file ke_x.h.
Definition at line 1401 of file ke_x.h.
Referenced by _Requires_lock_not_held_(), KiAdjustQuantumThread(), KiSelectNextThread(), KiSetPriorityThread(), KiSwapThread(), and NtYieldExecution().
| FORCEINLINE VOID KiSetThreadSwapBusy | ( | IN PKTHREAD | Thread | ) |
Definition at line 210 of file ke_x.h.
Referenced by _Requires_lock_not_held_(), KeDelayExecutionThread(), KeRemoveQueue(), KeTerminateThread(), KeWaitForGate(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), KiExitDispatcher(), and NtYieldExecution().
| FORCEINLINE BOOLEAN KiTryToAcquireThreadLock | ( | IN PKTHREAD | Thread | ) |
Definition at line 260 of file ke_x.h.
Referenced by KeSignalGateBoostPriority().
Definition at line 1723 of file ke_x.h.
Referenced by KiSwapContextExit().
Definition at line 902 of file ke_x.h.
Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeSetTimerEx(), KeWaitForMultipleObjects(), and KeWaitForSingleObject().
| FORCEINLINE VOID KxRemoveTreeTimer | ( | IN PKTIMER | Timer | ) |
Definition at line 983 of file ke_x.h.
Referenced by KeCancelTimer(), KeSetTimerEx(), KiInsertQueue(), and KiUnlinkThread().
| FORCEINLINE VOID KxSetTimerForThreadWait | ( | IN PKTIMER | Timer, |
| IN LARGE_INTEGER | Interval, | ||
| OUT PULONG | Hand | ||
| ) |
Definition at line 1013 of file ke_x.h.
| FORCEINLINE VOID KxUnwaitThread | ( | IN DISPATCHER_HEADER * | Object, |
| IN KPRIORITY | Increment | ||
| ) |
Definition at line 1238 of file ke_x.h.
Referenced by KeSetEvent(), KeSetProcess(), KeTerminateThread(), KiSignalTimer(), KiTimerExpiration(), and KiTimerListExpire().
Definition at line 1283 of file ke_x.h.
Referenced by KeSetEvent(), KeSetEventBoostPriority(), KiSignalTimer(), KiTimerExpiration(), and KiTimerListExpire().