ReactOS
0.4.15-dev-1627-gaf0f858
|
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 1577 of file ke_x.h.
Referenced by KeAcquireGuardedMutex().
FORCEINLINE VOID _KeAcquireGuardedMutexUnsafe | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 1512 of file ke_x.h.
Referenced by KeAcquireGuardedMutexUnsafe().
FORCEINLINE VOID _KeInitializeGuardedMutex | ( | OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 1499 of file ke_x.h.
Referenced by KeInitializeGuardedMutex().
FORCEINLINE VOID _KeReleaseGuardedMutex | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 1602 of file ke_x.h.
Referenced by KeReleaseGuardedMutex().
FORCEINLINE VOID _KeReleaseGuardedMutexUnsafe | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 1536 of file ke_x.h.
Referenced by KeReleaseGuardedMutexUnsafe().
FORCEINLINE BOOLEAN _KeTryToAcquireGuardedMutex | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 1645 of file ke_x.h.
Referenced by KeTryToAcquireGuardedMutex().
FORCEINLINE KPROCESSOR_MODE KeGetPreviousMode | ( | VOID | ) |
FORCEINLINE VOID KiAcquireApcLockAtSynchLevel | ( | IN PKTHREAD | Thread, |
IN PKLOCK_QUEUE_HANDLE | Handle | ||
) |
Definition at line 611 of file ke_x.h.
Referenced by KeFreezeAllThreads(), and KeThawAllThreads().
FORCEINLINE VOID KiAcquireApcLockRaiseToDpc | ( | IN PKTHREAD | Thread, |
IN PKLOCK_QUEUE_HANDLE | Handle | ||
) |
Definition at line 621 of file ke_x.h.
Referenced by KiDeliverApc().
FORCEINLINE VOID KiAcquireApcLockRaiseToSynch | ( | IN PKTHREAD | Thread, |
IN PKLOCK_QUEUE_HANDLE | Handle | ||
) |
Definition at line 602 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 671 of file ke_x.h.
Referenced by KeInsertByKeyDeviceQueue(), KeInsertDeviceQueue(), KeRemoveByKeyDeviceQueue(), KeRemoveByKeyDeviceQueueIfBusy(), KeRemoveDeviceQueue(), and KeRemoveEntryDeviceQueue().
FORCEINLINE KIRQL KiAcquireDispatcherLock | ( | VOID | ) |
Definition at line 144 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 160 of file ke_x.h.
Referenced by KeAlertResumeThread(), KeAlertThread(), KeAttachProcess(), KeDelayExecutionThread(), KeDetachProcess(), KeForceResumeThread(), KeFreezeAllThreads(), KeRemoveQueue(), KeRemoveQueueApc(), KeResumeThread(), KeSetAffinityProcess(), KeSignalGateBoostPriority(), KeStackAttachProcess(), KeStartThread(), KeSuspendThread(), KeTerminateThread(), KeThawAllThreads(), KeUnstackDetachProcess(), KeWaitForGate(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), and KiCompleteTimer().
FORCEINLINE VOID KiAcquireDispatcherObject | ( | IN DISPATCHER_HEADER * | Object | ) |
Definition at line 127 of file ke_x.h.
Referenced by KeSignalGateBoostPriority(), KeWaitForGate(), and KiInsertQueueApc().
FORCEINLINE VOID KiAcquireNmiListLock | ( | OUT PKIRQL | OldIrql | ) |
Definition at line 1672 of file ke_x.h.
Referenced by KeDeregisterNmiCallback(), and KeRegisterNmiCallback().
FORCEINLINE VOID KiAcquirePrcbLock | ( | IN PKPRCB | Prcb | ) |
Definition at line 215 of file ke_x.h.
Referenced by KeRevertToUserAffinityThread(), KeSetSystemAffinityThread(), KiAdjustQuantumThread(), KiDeferredReadyThread(), KiExitDispatcher(), KiInitializeKernel(), KiQuantumEnd(), KiScanReadyQueues(), KiSetPriorityThread(), KiSwapThread(), KiSystemStartupBootStack(), and NtYieldExecution().
FORCEINLINE VOID KiAcquireProcessLockRaiseToSynch | ( | IN PKPROCESS | Process, |
IN PKLOCK_QUEUE_HANDLE | Handle | ||
) |
Definition at line 646 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 235 of file ke_x.h.
Referenced by ExpBoostOwnerThread(), KeBoostPriorityThread(), KeQueryBasePriorityThread(), KeSetBasePriorityThread(), KeSetPriorityAndQuantumProcess(), KeSetPriorityThread(), KeWaitForGate(), KiAdjustQuantumThread(), KiDeferredReadyThread(), KiInsertQueueApc(), KiQuantumEnd(), and NtYieldExecution().
FORCEINLINE PKSPIN_LOCK_QUEUE KiAcquireTimerLock | ( | IN ULONG | Hand | ) |
Definition at line 281 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 836 of file ke_x.h.
Referenced by KeDelayExecutionThread(), KeWaitForMultipleObjects(), and KeWaitForSingleObject().
FORCEINLINE VOID KiCheckDeferredReadyList | ( | IN PKPRCB | Prcb | ) |
FORCEINLINE BOOLEAN KiCheckThreadStackSwap | ( | IN PKTHREAD | Thread, |
IN KPROCESSOR_MODE | WaitMode | ||
) |
Definition at line 798 of file ke_x.h.
FORCEINLINE BOOLEAN KiComputeDueTime | ( | IN PKTIMER | Timer, |
IN LARGE_INTEGER | DueTime, | ||
OUT PULONG | Hand | ||
) |
Definition at line 947 of file ke_x.h.
Referenced by KeSetTimerEx(), and KiInsertTreeTimer().
Definition at line 1462 of file ke_x.h.
Referenced by KeSetBasePriorityThread(), KeSetEventBoostPriority(), KiAdjustQuantumThread(), KiDeferredReadyThread(), KiQuantumEnd(), and NtYieldExecution().
FORCEINLINE ULONG KiComputeTimerTableIndex | ( | IN ULONGLONG | DueTime | ) |
Definition at line 876 of file ke_x.h.
Referenced by KeSetSystemTime(), KiComputeDueTime(), KiInsertTimerTable(), and KxSetTimerForThreadWait().
FORCEINLINE VOID KiInsertDeferredReadyList | ( | IN PKTHREAD | Thread | ) |
Definition at line 180 of file ke_x.h.
Referenced by KiInsertQueueApc(), KiReadyThread(), KiScanReadyQueues(), and KiSetPriorityThread().
FORCEINLINE PLARGE_INTEGER KiRecalculateDueTime | ( | IN PLARGE_INTEGER | OriginalDueTime, |
IN PLARGE_INTEGER | DueTime, | ||
IN OUT PLARGE_INTEGER | NewDueTime | ||
) |
Definition at line 780 of file ke_x.h.
Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeWaitForMultipleObjects(), and KeWaitForSingleObject().
FORCEINLINE VOID KiReleaseApcLock | ( | IN PKLOCK_QUEUE_HANDLE | Handle | ) |
Definition at line 630 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 638 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 691 of file ke_x.h.
Referenced by KeInsertByKeyDeviceQueue(), KeInsertDeviceQueue(), KeRemoveByKeyDeviceQueue(), KeRemoveByKeyDeviceQueueIfBusy(), KeRemoveDeviceQueue(), and KeRemoveEntryDeviceQueue().
FORCEINLINE VOID KiReleaseDispatcherLock | ( | IN KIRQL | OldIrql | ) |
Definition at line 152 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 169 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 137 of file ke_x.h.
Referenced by KeSignalGateBoostPriority(), KeWaitForGate(), and KiInsertQueueApc().
FORCEINLINE VOID KiReleaseNmiListLock | ( | IN KIRQL | OldIrql | ) |
Definition at line 1679 of file ke_x.h.
Referenced by KeDeregisterNmiCallback(), and KeRegisterNmiCallback().
FORCEINLINE VOID KiReleasePrcbLock | ( | IN PKPRCB | Prcb | ) |
Definition at line 225 of file ke_x.h.
Referenced by KeRevertToUserAffinityThread(), KeSetSystemAffinityThread(), KiAdjustQuantumThread(), KiDeferredReadyThread(), KiInitializeKernel(), KiQuantumEnd(), KiScanReadyQueues(), KiSetPriorityThread(), KiSwapThread(), KiSystemStartupBootStack(), KxQueueReadyThread(), and NtYieldExecution().
FORCEINLINE VOID KiReleaseProcessLock | ( | IN PKLOCK_QUEUE_HANDLE | Handle | ) |
Definition at line 655 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 663 of file ke_x.h.
Referenced by KeFreezeAllThreads(), KeSetAffinityProcess(), KeSetPriorityAndQuantumProcess(), KeTerminateThread(), and KeThawAllThreads().
FORCEINLINE VOID KiReleaseThreadLock | ( | IN PKTHREAD | Thread | ) |
Definition at line 245 of file ke_x.h.
Referenced by ExpBoostOwnerThread(), KeBoostPriorityThread(), KeQueryBasePriorityThread(), KeSetBasePriorityThread(), KeSetPriorityAndQuantumProcess(), KeSetPriorityThread(), KeSignalGateBoostPriority(), KeWaitForGate(), KiAdjustQuantumThread(), KiDeferredReadyThread(), KiInsertQueueApc(), KiQuantumEnd(), and NtYieldExecution().
FORCEINLINE VOID KiReleaseTimerLock | ( | IN PKSPIN_LOCK_QUEUE | LockQueue | ) |
Definition at line 292 of file ke_x.h.
Referenced by KeSetSystemTime(), KiCompleteTimer(), KiInsertTreeTimer(), KiTimerExpiration(), KxInsertTimer(), and KxRemoveTreeTimer().
FORCEINLINE VOID KiRemoveEntryTimer | ( | IN PKTIMER | Timer | ) |
Definition at line 887 of file ke_x.h.
Referenced by KeSetSystemTime(), KiCompleteTimer(), KiInsertTreeTimer(), and KiTimerExpiration().
Definition at line 1412 of file ke_x.h.
Referenced by KiAdjustQuantumThread(), KiQuantumEnd(), KiSelectNextThread(), KiSetPriorityThread(), KiSwapThread(), and NtYieldExecution().
FORCEINLINE VOID KiSetThreadSwapBusy | ( | IN PKTHREAD | Thread | ) |
Definition at line 205 of file ke_x.h.
Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeTerminateThread(), KeWaitForGate(), KeWaitForMultipleObjects(), KeWaitForSingleObject(), KiExitDispatcher(), KiQuantumEnd(), and NtYieldExecution().
FORCEINLINE BOOLEAN KiTryThreadLock | ( | IN PKTHREAD | Thread | ) |
Definition at line 918 of file ke_x.h.
Referenced by KeDelayExecutionThread(), KeRemoveQueue(), KeSetTimerEx(), KeWaitForMultipleObjects(), and KeWaitForSingleObject().
Definition at line 1347 of file ke_x.h.
Referenced by KiDispatchInterrupt(), KiDpcInterruptHandler(), KiExitDispatcher(), KiQuantumEnd(), KiQueueReadyThread(), and NtYieldExecution().
FORCEINLINE VOID KxRemoveTreeTimer | ( | IN PKTIMER | Timer | ) |
Definition at line 999 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 1029 of file ke_x.h.
FORCEINLINE VOID KxUnwaitThread | ( | IN DISPATCHER_HEADER * | Object, |
IN KPRIORITY | Increment | ||
) |
Definition at line 1254 of file ke_x.h.
Referenced by KeSetEvent(), KeSetProcess(), KeTerminateThread(), KiSignalTimer(), KiTimerExpiration(), and KiTimerListExpire().
Definition at line 1299 of file ke_x.h.
Referenced by KeSetEvent(), KeSetEventBoostPriority(), KiSignalTimer(), KiTimerExpiration(), and KiTimerListExpire().