ReactOS  0.4.12-dev-418-g3df31a8
kefuncs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define KeAcquireSpinLock(SpinLock, OldIrql)   *(OldIrql) = KeAcquireSpinLockRaiseToDpc(SpinLock)
 
#define KeWaitForMutexObject   KeWaitForSingleObject
 
#define KeInitializeCallbackRecord(CallbackRecord)   CallbackRecord->State = BufferEmpty;
 
#define PAGED_CODE()   NOP_FUNCTION;
 
#define PAGED_CODE_LOCKED()   NOP_FUNCTION;
 

Functions

 $if (_WDMDDK_) NTKERNELAPI VOID NTAPI KeInitializeEvent(_Out_ PRKEVENT Event
 
 _IRQL_requires_max_ (DISPATCH_LEVEL) NTKERNELAPI VOID NTAPI KeClearEvent(_Inout_ PRKEVENT Event)
 
 $endif (_WDMDDK_) $if(_NTDDK_) _IRQL_requires_min_(PASSIVE_LEVEL) _IRQL_requires_max_(DISPATCH_LEVEL) NTKERNELAPI VOID FASTCALL KeInvalidateRangeAllCaches(_In_ PVOID BaseAddress
 
 $endif (_NTDDK_) $if(_NTIFS_) NTSTATUS NTAPI KeGetProcessorNumberFromIndex(_In_ ULONG ProcIndex
 
ULONG NTAPI KeGetProcessorIndexFromNumber (_In_ PPROCESSOR_NUMBER ProcNumber)
 
 $endif (_NTIFS_) $if(_WDMDDK_) _Maybe_raises_SEH_exception_ _IRQL_requires_max_(APC_LEVEL) NTKERNELAPI VOID NTAPI ProbeForWrite(__in_data_source(USER_MODE) _Out_writes_bytes_(Length) PVOID Address
 
 _IRQL_requires_min_ (PASSIVE_LEVEL) _IRQL_requires_max_(DISPATCH_LEVEL) NTKERNELAPI LONG NTAPI KeSetBasePriorityThread(_Inout_ PRKTHREAD Thread
 
 _Acquires_lock_ (_Global_critical_region_) _IRQL_requires_max_(APC_LEVEL) NTKERNELAPI VOID NTAPI KeEnterCriticalRegion(VOID)
 
 _Releases_lock_ (_Global_critical_region_) _IRQL_requires_max_(APC_LEVEL) NTKERNELAPI VOID NTAPI KeLeaveCriticalRegion(VOID)
 
NTKERNELAPI DECLSPEC_NORETURN VOID NTAPI KeBugCheck (_In_ ULONG BugCheckCode)
 
NTKERNELAPI VOID NTAPI KeQuerySystemTime (_Out_ PLARGE_INTEGER CurrentTime)
 
_Requires_lock_not_held_ SpinLock _Acquires_lock_ SpinLock _IRQL_requires_min_ (DISPATCH_LEVEL) NTKERNELAPI VOID NTAPI KeAcquireSpinLockAtDpcLevel(_Inout_ PKSPIN_LOCK SpinLock)
 
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _IRQL_requires_ (DISPATCH_LEVEL) NTKERNELAPI VOID NTAPI KeReleaseSpinLock(_Inout_ PKSPIN_LOCK SpinLock
 
FORCEINLINE VOID KeInitializeSpinLock (_Out_ PKSPIN_LOCK SpinLock)
 
NTKERNELAPI DECLSPEC_NORETURN VOID NTAPI KeBugCheckEx (_In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
 
_Must_inspect_result_ NTKERNELAPI BOOLEAN NTAPI KeDeregisterBugCheckCallback (_Inout_ PKBUGCHECK_CALLBACK_RECORD CallbackRecord)
 
NTKERNELAPI VOID NTAPI KeInitializeDpc (_Out_ __drv_aliasesMem PRKDPC Dpc, _In_ PKDEFERRED_ROUTINE DeferredRoutine, _In_opt_ __drv_aliasesMem PVOID DeferredContext)
 
NTKERNELAPI VOID NTAPI KeInitializeMutex (_Out_ PRKMUTEX Mutex, _In_ ULONG Level)
 
 _IRQL_requires_max_ (PASSIVE_LEVEL) NTKERNELAPI VOID NTAPI KeInitializeSemaphore(_Out_ PRKSEMAPHORE Semaphore
 
NTKERNELAPI BOOLEAN NTAPI KeInsertQueueDpc (_Inout_ PRKDPC Dpc, _In_opt_ PVOID SystemArgument1, _In_opt_ PVOID SystemArgument2)
 
NTHALAPI LARGE_INTEGER NTAPI KeQueryPerformanceCounter (_Out_opt_ PLARGE_INTEGER PerformanceFrequency)
 
NTKERNELAPI ULONG NTAPI KeQueryTimeIncrement (VOID)
 
_Must_inspect_result_ NTKERNELAPI BOOLEAN NTAPI KeRegisterBugCheckCallback (_Out_ PKBUGCHECK_CALLBACK_RECORD CallbackRecord, _In_ PKBUGCHECK_CALLBACK_ROUTINE CallbackRoutine, _In_reads_bytes_opt_(Length) PVOID Buffer, _In_ ULONG Length, _In_ PUCHAR Component)
 
 _When_ (Wait==0, _IRQL_requires_max_(DISPATCH_LEVEL)) _When_(Wait
 
 _IRQL_requires_max_ (APC_LEVEL)) NTKERNELAPI LONG NTAPI KeReleaseMutex(_Inout_ PRKMUTEX Mutex
 
 _IRQL_requires_max_ (HIGH_LEVEL) NTKERNELAPI BOOLEAN NTAPI KeRemoveQueueDpc(_Inout_ PRKDPC Dpc)
 
NTKERNELAPI VOID NTAPI KeSetImportanceDpc (_Inout_ PRKDPC Dpc, _In_ KDPC_IMPORTANCE Importance)
 
NTHALAPI VOID NTAPI KeStallExecutionProcessor (_In_ ULONG MicroSeconds)
 
NTKERNELAPI VOID NTAPI KeInitializeQueue (_Out_ PRKQUEUE Queue, _In_ ULONG Count)
 
_Requires_lock_not_held_ SpinLock _Acquires_lock_ SpinLock _IRQL_raises_ (SYNCH_LEVEL) _IRQL_saves_ NTKERNELAPI KIRQL KeAcquireSpinLockRaiseToSynch(_Inout_ PKSPIN_LOCK SpinLock)
 
*LockHandle LockHandle _IRQL_raises_ (DISPATCH_LEVEL) _DECL_HAL_KE_IMPORT VOID FASTCALL KeAcquireInStackQueuedSpinLock(_Inout_ PKSPIN_LOCK SpinLock
 
NTKERNELAPI ULONG NTAPI KeGetRecommendedSharedDataAlignment (VOID)
 
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _IRQL_requires_ (HIGH_LEVEL) NTKERNELAPI VOID NTAPI KeReleaseInterruptSpinLock(_Inout_ PKINTERRUPT Interrupt
 
_Requires_lock_held_ LockHandle _Releases_lock_ LockHandle LockHandle _DECL_HAL_KE_IMPORT VOID FASTCALL KeReleaseInStackQueuedSpinLock (_In_ PKLOCK_QUEUE_HANDLE LockHandle)
 
 _Requires_lock_held_ (Number) _Releases_lock_(Number) _DECL_HAL_KE_IMPORT VOID FASTCALL KeReleaseQueuedSpinLock(_In_ KSPIN_LOCK_QUEUE_NUMBER Number
 
_Must_inspect_result_ _Post_satisfies_ (return==1||return==0) _DECL_HAL_KE_IMPORT LOGICAL FASTCALL KeTryToAcquireQueuedSpinLock(_In_ KSPIN_LOCK_QUEUE_NUMBER Number
 
_Must_inspect_result_ NTKERNELAPI BOOLEAN NTAPI KeRegisterBugCheckReasonCallback (_Out_ PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord, _In_ PKBUGCHECK_REASON_CALLBACK_ROUTINE CallbackRoutine, _In_ KBUGCHECK_CALLBACK_REASON Reason, _In_ PUCHAR Component)
 
NTKERNELAPI VOID NTAPI KeInitializeThreadedDpc (_Out_ PRKDPC Dpc, _In_ PKDEFERRED_ROUTINE DeferredRoutine, _In_opt_ PVOID DeferredContext)
 
_Must_inspect_result_ NTKERNELAPI BOOLEAN FASTCALL KeTestSpinLock (_In_ PKSPIN_LOCK SpinLock)
 
_Must_inspect_result_ _Success_ (return !=FALSE) _IRQL_requires_max_(APC_LEVEL) _Post_satisfies_(return
 Returns the name of an atom. More...
 
*LockHandle LockHandle NTKERNELAPI VOID FASTCALL KeAcquireInStackQueuedSpinLockForDpc (_Inout_ PKSPIN_LOCK SpinLock, _Out_ PKLOCK_QUEUE_HANDLE LockHandle)
 
_Requires_lock_held_ LockHandle _Releases_lock_ LockHandle LockHandle NTKERNELAPI VOID FASTCALL KeReleaseInStackQueuedSpinLockForDpc (_In_ PKLOCK_QUEUE_HANDLE LockHandle)
 
_Must_inspect_result_ NTKERNELAPI NTSTATUS NTAPI KeSetTargetProcessorDpcEx (_Inout_ PKDPC Dpc, _In_ PPROCESSOR_NUMBER ProcNumber)
 
NTKERNELAPI ULONGLONG NTAPI KeQueryUnbiasedInterruptTime (VOID)
 
NTKERNELAPI ULONG NTAPI KeQueryActiveProcessorCountEx (_In_ USHORT GroupNumber)
 
NTKERNELAPI ULONG NTAPI KeQueryMaximumProcessorCountEx (_In_ USHORT GroupNumber)
 
NTKERNELAPI USHORT NTAPI KeQueryActiveGroupCount (VOID)
 
NTKERNELAPI USHORT NTAPI KeQueryMaximumGroupCount (VOID)
 
NTKERNELAPI KAFFINITY NTAPI KeQueryGroupAffinity (_In_ USHORT GroupNumber)
 
NTKERNELAPI ULONG NTAPI KeGetCurrentProcessorNumberEx (_Out_opt_ PPROCESSOR_NUMBER ProcNumber)
 
NTKERNELAPI VOID NTAPI KeQueryNodeActiveAffinity (_In_ USHORT NodeNumber, _Out_opt_ PGROUP_AFFINITY Affinity, _Out_opt_ PUSHORT Count)
 
NTKERNELAPI USHORT NTAPI KeQueryNodeMaximumProcessorCount (_In_ USHORT NodeNumber)
 
NTKERNELAPI USHORT NTAPI KeQueryHighestNodeNumber (VOID)
 
NTKERNELAPI USHORT NTAPI KeGetCurrentNodeNumber (VOID)
 
_Must_inspect_result_ _When_ (return==0, _Kernel_float_saved_) NTKERNELAPI NTSTATUS NTAPI KeSaveExtendedProcessorState(_In_ ULONG64 Mask
 
_Must_inspect_result_ _Out_ _Requires_lock_not_held_ _Curr_ _When_ (return==0, _Acquires_lock_(*_Curr_)) PXSTATE_SAVE XStateSave)
 
_Kernel_float_restored_ NTKERNELAPI VOID NTAPI KeRestoreExtendedProcessorState (_In_ _Requires_lock_held_(*_Curr_) _Releases_lock_(*_Curr_) PXSTATE_SAVE XStateSave)
 
NTSTATUS NTAPI KeGetProcessorNumberFromIndex (_In_ ULONG ProcIndex, _Out_ PPROCESSOR_NUMBER ProcNumber)
 

Variables

_In_ EVENT_TYPE Type
 
_In_ EVENT_TYPE _In_ BOOLEAN State
 
_In_ ULONG Length
 
_Out_ PPROCESSOR_NUMBER ProcNumber
 
_In_ SIZE_T _In_ ULONG Alignment
 
_In_ KDPC_IMPORTANCE Importance
 
_In_ KPRIORITY Increment
 
_In_ KPRIORITY _In_ BOOLEAN Wait
 
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
 
_In_ BOOLEAN Alertable
 
_In_ BOOLEAN _In_ PLARGE_INTEGER Interval
 
_In_ LONG Count
 
_In_ LONG _In_ LONG Limit
 
_Inout_ PKDEVICE_QUEUE_ENTRY DeviceQueueEntry
 
_Inout_ PKDEVICE_QUEUE_ENTRY _In_ ULONG SortKey
 
_In_ KPRIORITY _In_ LONG Adjustment
 
_In_ KPRIORITY Priority
 
_In_ LARGE_INTEGER DueTime
 
_In_ LARGE_INTEGER _In_opt_ PKDPC Dpc
 
_In_ LARGE_INTEGER _In_ LONG Period OPTIONAL
 
_In_ PKSYNCHRONIZE_ROUTINE SynchronizeRoutine
 
_In_ PKSYNCHRONIZE_ROUTINE _In_opt_ __drv_aliasesMem PVOID SynchronizeContext
 
_In_ BOOLEAN InitialOwner
 
_In_ KPRIORITY _In_ BOOLEAN Abandoned
 
_Inout_ PLIST_ENTRY Entry
 
_Out_ PKAPC_STATE ApcState
 
_In_ UCHAR Processor
 
*LockHandle LockHandle _Out_ PKLOCK_QUEUE_HANDLE LockHandle
 
_Out_ PULONG UserTime
 
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
 
_In_opt_ PVOID Context
 
_In_opt_ PVOID Parameter
 
_In_opt_ PVOID _In_ SIZE_T Size
 
_Out_ PCLIENT_ID ClientId
 
_In_opt_ PVOID CallbackContext
 
_In_opt_ PVOID _In_ ULONG Flags
 
_Out_ PULONG64 CycleTimeStamp
 
_Out_opt_ PGROUP_AFFINITY PreviousAffinity
 
_In_ LARGE_INTEGER _In_ ULONG Period
 
_In_ LARGE_INTEGER _In_ ULONG _In_ ULONG TolerableDelay
 
_In_ LOGICAL_PROCESSOR_RELATIONSHIP RelationshipType
 
_In_ LOGICAL_PROCESSOR_RELATIONSHIP _Out_writes_bytes_opt_ Length PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX Information
 
*Count PHARDWARE_COUNTER CounterArray
 
*Count PHARDWARE_COUNTER _In_ ULONG MaximumCount
 

Macro Definition Documentation

◆ KeAcquireSpinLock

#define KeAcquireSpinLock (   SpinLock,
  OldIrql 
)    *(OldIrql) = KeAcquireSpinLockRaiseToDpc(SpinLock)

Definition at line 210 of file kefuncs.h.

◆ KeInitializeCallbackRecord

#define KeInitializeCallbackRecord (   CallbackRecord)    CallbackRecord->State = BufferEmpty;

Definition at line 1479 of file kefuncs.h.

◆ KeWaitForMutexObject

#define KeWaitForMutexObject   KeWaitForSingleObject

Definition at line 568 of file kefuncs.h.

◆ PAGED_CODE

#define PAGED_CODE ( )    NOP_FUNCTION;

Definition at line 1508 of file kefuncs.h.

◆ PAGED_CODE_LOCKED

#define PAGED_CODE_LOCKED ( )    NOP_FUNCTION;

Definition at line 1509 of file kefuncs.h.

Function Documentation

◆ $endif() [1/3]

$endif ( _WDMDDK_  )

Definition at line 202 of file ke.h.

226 {
227  ULONGLONG Low;
228  LONGLONG High;
229 } NEON128, *PNEON128;
Definition: strmini.h:380
int64_t LONGLONG
Definition: typedefs.h:66
uint64_t ULONGLONG
Definition: typedefs.h:65
Definition: strmini.h:378
NEON128
Definition: ke.h:229
* PNEON128
Definition: ke.h:229

◆ $endif() [2/3]

$endif ( _NTDDK_  )

Definition at line 2487 of file iofuncs.h.

2495 {
2496  PriorityInfo->Size = sizeof(IO_PRIORITY_INFO);
2497  PriorityInfo->ThreadPriority = 0xffff;
2498  PriorityInfo->IoPriority = IoPriorityNormal;
2499  PriorityInfo->PagePriority = 0;
2500 }
struct _IO_PRIORITY_INFO IO_PRIORITY_INFO
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD _Inout_ PIO_PRIORITY_INFO PriorityInfo
Definition: fltkernel.h:2653

◆ $endif() [3/3]

$endif ( _NTIFS_  )

Definition at line 2594 of file iofuncs.h.

2620 {
2621  ASSERT(Irp->CurrentLocation <= Irp->StackCount);
2622  Irp->CurrentLocation++;
2623 #ifdef NONAMELESSUNION
2624  Irp->Tail.Overlay.s.u.CurrentStackLocation++;
2625 #else
2626  Irp->Tail.Overlay.CurrentStackLocation++;
2627 #endif
2628 }
_In_ PIRP Irp
Definition: csq.h:116
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)

◆ $if()

$if ( _WDMDDK_  )

Kernel definitions for AMD64

Kernel definitions for ARM

Definition at line 1 of file ke.h.

31 {
32  ULONG Dummy;
struct _KFLOATING_SAVE KFLOATING_SAVE
struct _KFLOATING_SAVE * PKFLOATING_SAVE
unsigned int ULONG
Definition: retypes.h:1

◆ _Acquires_lock_()

_Acquires_lock_ ( _Global_critical_region_  )

Definition at line 59 of file Object.c.

64 {
66 
67  /* Try acquiring the lock */
69  {
70  /* Someone changed it, use the slow path */
72  }
73 
74  /* Sanity check */
75  FLT_ASSERT(PushLock->Locked);
76 }
#define InterlockedBitTestAndSet
Definition: interlocked.h:30
VOID FASTCALL ExfAcquirePushLockExclusive(PEX_PUSH_LOCK PushLock)
Definition: pushlock.c:471
#define KeEnterCriticalRegion()
Definition: ke_x.h:83
#define EX_PUSH_LOCK_LOCK_V
Definition: Object.c:28
signed int * PLONG
Definition: retypes.h:5
#define FLT_ASSERT(_e)
Definition: fltkernel.h:49

◆ _IRQL_raises_() [1/2]

◆ _IRQL_raises_() [2/2]

* LockHandle LockHandle _IRQL_raises_ ( DISPATCH_LEVEL  )

◆ _IRQL_requires_() [1/2]

Definition at line 1455 of file expool.c.

1460 {
1461  ULONG OldSize = PoolBigPageTableSize;
1462  ULONG NewSize = 2 * OldSize;
1463  ULONG NewSizeInBytes;
1464  PPOOL_TRACKER_BIG_PAGES NewTable;
1465  PPOOL_TRACKER_BIG_PAGES OldTable;
1466  ULONG i;
1467  ULONG PagesFreed;
1468  ULONG Hash;
1469  ULONG HashMask;
1470 
1471  /* Must be holding ExpLargePoolTableLock */
1473 
1474  /* Make sure we don't overflow */
1475  if (!NT_SUCCESS(RtlULongMult(2,
1476  OldSize * sizeof(POOL_TRACKER_BIG_PAGES),
1477  &NewSizeInBytes)))
1478  {
1479  DPRINT1("Overflow expanding big page table. Size=%lu\n", OldSize);
1481  return FALSE;
1482  }
1483 
1484  NewTable = MiAllocatePoolPages(NonPagedPool, NewSizeInBytes);
1485  if (NewTable == NULL)
1486  {
1487  DPRINT1("Could not allocate %lu bytes for new big page table\n", NewSizeInBytes);
1489  return FALSE;
1490  }
1491 
1492  DPRINT("Expanding big pool tracker table to %lu entries\n", NewSize);
1493 
1494  /* Initialize the new table */
1495  RtlZeroMemory(NewTable, NewSizeInBytes);
1496  for (i = 0; i < NewSize; i++)
1497  {
1498  NewTable[i].Va = (PVOID)POOL_BIG_TABLE_ENTRY_FREE;
1499  }
1500 
1501  /* Copy over all items */
1502  OldTable = PoolBigPageTable;
1503  HashMask = NewSize - 1;
1504  for (i = 0; i < OldSize; i++)
1505  {
1506  /* Skip over empty items */
1507  if ((ULONG_PTR)OldTable[i].Va & POOL_BIG_TABLE_ENTRY_FREE)
1508  {
1509  continue;
1510  }
1511 
1512  /* Recalculate the hash due to the new table size */
1513  Hash = ExpComputePartialHashForAddress(OldTable[i].Va) & HashMask;
1514 
1515  /* Find the location in the new table */
1516  while (!((ULONG_PTR)NewTable[Hash].Va & POOL_BIG_TABLE_ENTRY_FREE))
1517  {
1518  Hash = (Hash + 1) & HashMask;
1519  }
1520 
1521  /* We just enlarged the table, so we must have space */
1523 
1524  /* Finally, copy the item */
1525  NewTable[Hash] = OldTable[i];
1526  }
1527 
1528  /* Activate the new table */
1529  PoolBigPageTable = NewTable;
1532 
1533  /* Release the lock, we're done changing global state */
1535 
1536  /* Free the old table and update our tracker */
1537  PagesFreed = MiFreePoolPages(OldTable);
1538  ExpRemovePoolTracker('looP', PagesFreed << PAGE_SHIFT, 0);
1539  ExpInsertPoolTracker('looP', ALIGN_UP_BY(NewSizeInBytes, PAGE_SIZE), 0);
1540 
1541  return TRUE;
1542 }
#define KeGetCurrentIrql()
Definition: env_spec_w32.h:706
static int Hash(const char *)
Definition: reader.c:2258
#define PAGE_SHIFT
Definition: env_spec_w32.h:45
#define TRUE
Definition: types.h:120
uint32_t ULONG_PTR
Definition: typedefs.h:63
KSPIN_LOCK ExpLargePoolTableLock
Definition: expool.c:46
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
SIZE_T PoolBigPageTableSize
Definition: expool.c:39
smooth NULL
Definition: ftsmooth.c:416
void DPRINT(...)
Definition: polytest.cpp:61
void * PVOID
Definition: retypes.h:9
VOID NTAPI ExpRemovePoolTracker(IN ULONG Key, IN SIZE_T NumberOfBytes, IN POOL_TYPE PoolType)
Definition: expool.c:755
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:24
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
PVOID NTAPI MiAllocatePoolPages(IN POOL_TYPE PoolType, IN SIZE_T SizeInBytes)
Definition: pool.c:420
ULONG NTAPI MiFreePoolPages(IN PVOID StartingAddress)
Definition: pool.c:905
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:803
_Must_inspect_result_ _In_ USHORT NewSize
Definition: fltkernel.h:975
#define PAGE_SIZE
Definition: env_spec_w32.h:49
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696
VOID NTAPI ExpInsertPoolTracker(IN ULONG Key, IN SIZE_T NumberOfBytes, IN POOL_TYPE PoolType)
Definition: expool.c:846
#define KeReleaseSpinLock(sl, irql)
Definition: env_spec_w32.h:627
FORCEINLINE ULONG ExpComputePartialHashForAddress(IN PVOID BaseAddress)
Definition: expool.c:448
#define DPRINT1
Definition: precomp.h:8
PPOOL_TRACKER_BIG_PAGES PoolBigPageTable
Definition: expool.c:42
SIZE_T PoolBigPageTableHash
Definition: expool.c:39
#define POOL_BIG_TABLE_ENTRY_FREE
Definition: expool.c:23
unsigned int ULONG
Definition: retypes.h:1
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:261
#define ALIGN_UP_BY(size, align)

◆ _IRQL_requires_() [2/2]

_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _IRQL_requires_ ( HIGH_LEVEL  )

◆ _IRQL_requires_max_() [1/4]

_IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 30 of file rmap.c.

36 {
38 }
#define TAG_RMAP
Definition: tag.h:133
#define P(row, col)
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1099

◆ _IRQL_requires_max_() [2/4]

_IRQL_requires_max_ ( PASSIVE_LEVEL  )

Definition at line 64 of file Messaging.c.

75 {
76  PFLT_SERVER_PORT_OBJECT PortObject;
78 
79  /* The caller must allow at least one connection */
80  if (MaxConnections == 0)
81  {
83  }
84 
85  /* The request must be for a kernel handle */
86  if (!(ObjectAttributes->Attributes & OBJ_KERNEL_HANDLE))
87  {
89  }
90 
91  /*
92  * Get rundown protection on the target to stop the owner
93  * from unloading whilst this port object is open. It gets
94  * removed in the FltpServerPortClose callback
95  */
97  if (!NT_SUCCESS(Status))
98  {
99  return Status;
100  }
101 
102  /* Create the server port object for this filter */
106  KernelMode,
107  NULL,
108  sizeof(FLT_SERVER_PORT_OBJECT),
109  0,
110  0,
111  (PVOID *)&PortObject);
112  if (NT_SUCCESS(Status))
113  {
114  /* Zero out the struct */
115  RtlZeroMemory(PortObject, sizeof(FLT_SERVER_PORT_OBJECT));
116 
117  /* Increment the ref count on the target filter */
119 
120  /* Setup the filter port object */
121  PortObject->Filter = Filter;
122  PortObject->ConnectNotify = ConnectNotifyCallback;
124  PortObject->MessageNotify = MessageNotifyCallback;
125  PortObject->Cookie = ServerPortCookie;
126  PortObject->MaxConnections = MaxConnections;
127 
128  /* Insert the object */
129  Status = ObInsertObject(PortObject,
130  NULL,
132  0,
133  NULL,
135  if (NT_SUCCESS(Status))
136  {
137  /* Lock the connection list */
139 
140  /* Add the new port object to the connection list and increment the count */
143 
144  /* Unlock the connection list*/
146  }
147  }
148 
149  if (!NT_SUCCESS(Status))
150  {
151  /* Allow the filter to be cleaned up */
153  }
154 
155  return Status;
156 }
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:35
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
_Must_inspect_result_ _Outptr_ PFLT_PORT * ServerPort
Definition: fltkernel.h:1873
PFLT_CONNECT_NOTIFY ConnectNotify
Definition: fltmgrint.h:191
VOID FLTAPI FltObjectDereference(_Inout_ PVOID Object)
Definition: Object.c:53
LONG NTSTATUS
Definition: precomp.h:26
#define InsertTailList(ListHead, Entry)
VOID FASTCALL ExReleaseFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:31
ULONG FltpObjectPointerReference(_In_ PFLT_OBJECT Object)
Definition: Object.c:322
LIST_ENTRY mList
Definition: fltmgrint.h:56
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
Definition: fltkernel.h:1802
#define FILE_READ_DATA
Definition: nt_native.h:628
smooth NULL
Definition: ftsmooth.c:416
NTSTATUS NTAPI ObCreateObject(IN KPROCESSOR_MODE ProbeMode OPTIONAL, IN POBJECT_TYPE Type, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN KPROCESSOR_MODE AccessMode, IN OUT PVOID ParseContext OPTIONAL, IN ULONG ObjectSize, IN ULONG PagedPoolCharge OPTIONAL, IN ULONG NonPagedPoolCharge OPTIONAL, OUT PVOID *Object)
Definition: oblife.c:952
POBJECT_TYPE ServerPortObjectType
Definition: Messaging.c:24
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:24
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY DisconnectNotifyCallback
Definition: fltkernel.h:1873
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY ConnectNotifyCallback
Definition: fltkernel.h:1873
Status
Definition: gdiplustypes.h:24
NTSTATUS NTAPI ObInsertObject(IN PVOID Object, IN PACCESS_STATE AccessState OPTIONAL, IN ACCESS_MASK DesiredAccess, IN ULONG ObjectPointerBias, OUT PVOID *NewObject OPTIONAL, OUT PHANDLE Handle)
Definition: obhandle.c:2926
#define STANDARD_RIGHTS_ALL
Definition: nt_native.h:69
VOID FASTCALL ExAcquireFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:23
NTSTATUS FLTAPI FltObjectReference(_Inout_ PVOID Object)
Definition: Object.c:41
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID ServerPortCookie
Definition: fltkernel.h:1873
FAST_MUTEX mLock
Definition: fltmgrint.h:55
PFLT_MESSAGE_NOTIFY MessageNotify
Definition: fltmgrint.h:193
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:261
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY _In_opt_ PFLT_MESSAGE_NOTIFY _In_ LONG MaxConnections
Definition: fltkernel.h:1873
PFLT_DISCONNECT_NOTIFY DisconnectNotify
Definition: fltmgrint.h:192
#define OBJ_KERNEL_HANDLE
Definition: winternl.h:231
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY _In_opt_ PFLT_MESSAGE_NOTIFY MessageNotifyCallback
Definition: fltkernel.h:1873
FLT_MUTEX_LIST_HEAD ConnectionList
Definition: fltmgrint.h:121

◆ _IRQL_requires_max_() [3/4]

_IRQL_requires_max_ ( APC_LEVEL  )

◆ _IRQL_requires_max_() [4/4]

_IRQL_requires_max_ ( HIGH_LEVEL  )

Definition at line 68 of file ke.h.

73 {
74  return (KIRQL)__readcr8();
75 }
__INTRIN_INLINE unsigned long __readcr8(void)
Definition: intrin_x86.h:1726
UCHAR KIRQL
Definition: env_spec_w32.h:591

◆ _IRQL_requires_min_() [1/2]

_IRQL_requires_min_ ( PASSIVE_LEVEL  )
Initial value:
_In_ __drv_strictTypeMatch(__drv_typeCond) KWAIT_REASON WaitReason,
_In_ __drv_strictType(KPROCESSOR_MODE/enum _MODE,__drv_typeConst) KPROCESSOR_MODE WaitMode,
_In_ LONG Count
Definition: kefuncs.h:328
#define _In_reads_(size)
Definition: no_sal2.h:228
LONG NTSTATUS
Definition: precomp.h:26
#define _In_opt_
Definition: no_sal2.h:213
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
unsigned char BOOLEAN
smooth NULL
Definition: ftsmooth.c:416
_When_(Wait==0, _IRQL_requires_max_(DISPATCH_LEVEL)) _When_(Wait
#define NTKERNELAPI
WaitType
Definition: shlextdbg.cpp:19
#define _Out_opt_
Definition: no_sal2.h:339
enum _WAIT_TYPE WAIT_TYPE
_In_ BOOLEAN Alertable
Definition: kefuncs.h:283
CCHAR KPROCESSOR_MODE
Definition: ketypes.h:7
NTSTATUS NTAPI KeWaitForMultipleObjects(IN ULONG Count, IN PVOID Object[], IN WAIT_TYPE WaitType, IN KWAIT_REASON WaitReason, IN KPROCESSOR_MODE WaitMode, IN BOOLEAN Alertable, IN PLARGE_INTEGER Timeout OPTIONAL, OUT PKWAIT_BLOCK WaitBlockArray OPTIONAL)
Definition: wait.c:586
static IUnknown Object
Definition: main.c:512
_MODE
Definition: ketypes.h:10
_Must_inspect_result_ _Maybe_raises_SEH_exception_ _In_ __drv_strictType(KPROCESSOR_MODE/enum _MODE, __drv_typeConst) KPROCESSOR_MODE AccessMode)
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696
#define _In_
Definition: no_sal2.h:204
static ULONG Timeout
Definition: ping.c:61
#define __drv_strictTypeMatch(mode)
Definition: driverspecs.h:312
enum _KWAIT_REASON KWAIT_REASON
unsigned int ULONG
Definition: retypes.h:1
_Must_inspect_result_ _In_ WAIT_TYPE _In_opt_ PLARGE_INTEGER _In_opt_ PKWAIT_BLOCK WaitBlockArray
Definition: fsrtlfuncs.h:1151
#define APC_LEVEL
Definition: env_spec_w32.h:695
_IRQL_requires_max_(DISPATCH_LEVEL) NTKERNELAPI VOID NTAPI KeClearEvent(_Inout_ PRKEVENT Event)
Definition: rmap.c:30

◆ _IRQL_requires_min_() [2/2]

◆ _Post_satisfies_()

_Must_inspect_result_ _Post_satisfies_ ( return  = = 1 || return == 0)

◆ _Releases_lock_()

_Releases_lock_ ( _Global_critical_region_  )

Definition at line 101 of file Object.c.

106 {
107  EX_PUSH_LOCK OldValue = *PushLock;
108  EX_PUSH_LOCK NewValue;
109 
110  /* Sanity checks */
111  FLT_ASSERT(OldValue.Locked);
112 
113  /* Check if the pushlock is shared */
114  if (OldValue.Shared > 1)
115  {
116  /* Decrease the share count */
117  NewValue.Value = OldValue.Value - EX_PUSH_LOCK_SHARE_INC;
118  }
119  else
120  {
121  /* Clear the pushlock entirely */
122  NewValue.Value = 0;
123  }
124 
125  /* Check if nobody is waiting on us and try clearing the lock here */
126  if ((OldValue.Waiting) ||
127  (ExpChangePushlock(PushLock, NewValue.Ptr, OldValue.Ptr) !=
128  OldValue.Ptr))
129  {
130  /* We have waiters, use the long path */
131  ExfReleasePushLock(PushLock);
132  }
133 
135 }
ULONG_PTR Value
Definition: extypes.h:465
PVOID Ptr
Definition: extypes.h:466
ULONG_PTR Waiting
Definition: extypes.h:460
VOID FASTCALL ExfReleasePushLock(PEX_PUSH_LOCK PushLock)
Definition: pushlock.c:810
#define ExpChangePushlock(x, y, z)
Definition: Object.c:23
ULONG_PTR Shared
Definition: extypes.h:463
#define KeLeaveCriticalRegion()
Definition: ke_x.h:114
#define EX_PUSH_LOCK_SHARE_INC
Definition: Object.c:33
ULONG_PTR Locked
Definition: extypes.h:459
#define FLT_ASSERT(_e)
Definition: fltkernel.h:49

◆ _Requires_lock_held_()

_Requires_lock_held_ ( Number  )

◆ _Success_()

_Must_inspect_result_ _Success_ ( return = 0)

Returns the name of an atom.

Parameters
atom- The atom to be queried.
pustrName- Pointer to an initialized UNICODE_STRING that receives the name of the atom. The function does not update the Length member. The string is always NULL-terminated.
Returns
The length of the name in characters, or 0 if the function fails.
Note
The function does not aquire any global lock, since synchronisation is handled by the RtlAtom function.

Definition at line 3139 of file fsctrl.c.

3189 {
3190  PLIST_ENTRY Link;
3191 
3192  PVPB Vpb = Vcb->Vpb;
3193  PVPB OldVpb;
3194 
3195  BOOLEAN Remount = FALSE;
3196 
3197  PAGED_CODE();
3198 
3199  UNREFERENCED_PARAMETER( IrpContext );
3200 
3201  //
3202  // Check whether we are looking for a device only Mvcb.
3203  //
3204 
3205  for (Link = CdData.VcbQueue.Flink;
3206  Link != &CdData.VcbQueue;
3207  Link = Link->Flink) {
3208 
3209  *OldVcb = CONTAINING_RECORD( Link, VCB, VcbLinks );
3210 
3211  //
3212  // Skip ourselves.
3213  //
3214 
3215  if (Vcb == *OldVcb) { continue; }
3216 
3217  //
3218  // Look at the Vpb and state of the previous Vcb.
3219  //
3220 
3221  OldVpb = (*OldVcb)->Vpb;
3222 
3223  if ((OldVpb != Vpb) &&
3224  (OldVpb->RealDevice == Vpb->RealDevice) &&
3225  ((*OldVcb)->VcbCondition == VcbNotMounted)) {
3226 
3227  //
3228  // If the current disk is a raw disk then it can match a previous music or
3229  // raw disk.
3230  //
3231 
3232  if (FlagOn( Vcb->VcbState, VCB_STATE_AUDIO_DISK)) {
3233 
3234  if (FlagOn( (*OldVcb)->VcbState, VCB_STATE_AUDIO_DISK )) {
3235 
3236  //
3237  // If we have both TOC then fail the remount if the lengths
3238  // are different or they don't match.
3239  //
3240 
3241  if ((Vcb->TocLength != (*OldVcb)->TocLength) ||
3242  ((Vcb->TocLength != 0) &&
3243  !RtlEqualMemory( Vcb->CdromToc,
3244  (*OldVcb)->CdromToc,
3245  Vcb->TocLength ))) {
3246 
3247  continue;
3248  }
3249 
3250  Remount = TRUE;
3251  break;
3252  }
3253 
3254  //
3255  // The current disk is not a raw disk. Go ahead and compare
3256  // serial numbers, volume label and TOC.
3257  //
3258 
3259  }
3260  else if ((OldVpb->SerialNumber == Vpb->SerialNumber) &&
3261  (Vcb->TocLength == (*OldVcb)->TocLength) &&
3262  ((Vcb->TocLength == 0) || RtlEqualMemory( Vcb->CdromToc,
3263  (*OldVcb)->CdromToc,
3264  Vcb->TocLength )) &&
3265  (Vpb->VolumeLabelLength == OldVpb->VolumeLabelLength) &&
3266  (RtlEqualMemory( OldVpb->VolumeLabel,
3267  Vpb->VolumeLabel,
3268  Vpb->VolumeLabelLength ))) {
3269  //
3270  // Remember the old Vcb. Then set the return value to
3271  // TRUE and break.
3272  //
3273 
3274  Remount = TRUE;
3275  break;
3276  }
3277  }
3278  }
3279 
3280  return Remount;
3281 }
#define VCB_STATE_AUDIO_DISK
Definition: cdstruc.h:718
#define TRUE
Definition: types.h:120
WCHAR VolumeLabel[MAXIMUM_VOLUME_LABEL_LENGTH/sizeof(WCHAR)]
Definition: iotypes.h:175
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
Definition: cdstruc.h:504
static int Link(const char **args)
Definition: vfdcmd.c:2414
#define PAGED_CODE()
Definition: video.h:57
unsigned char BOOLEAN
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
struct _LIST_ENTRY * Flink
Definition: typedefs.h:119
CD_DATA CdData
Definition: cddata.c:42
NTSYSAPI ULONG NTAPI RtlEqualMemory(CONST VOID *Source1, CONST VOID *Source2, ULONG Length)
struct _DEVICE_OBJECT * RealDevice
Definition: iotypes.h:172
#define Vcb
Definition: cdprocs.h:1425
Definition: typedefs.h:117
#define FlagOn(_F, _SF)
Definition: ext2fs.h:179
LIST_ENTRY VcbQueue
Definition: cdstruc.h:340
Definition: iotypes.h:166
USHORT VolumeLabelLength
Definition: iotypes.h:170
ULONG SerialNumber
Definition: iotypes.h:173
IN OUT PVCB IN PDEVICE_OBJECT IN PVPB Vpb
Definition: fatprocs.h:1664

◆ _When_() [1/3]

_When_ ( Wait  = =0,
_IRQL_requires_max_(DISPATCH_LEVEL  
)

◆ _When_() [2/3]

◆ _When_() [3/3]

◆ KeAcquireInStackQueuedSpinLockForDpc()

* LockHandle LockHandle NTKERNELAPI VOID FASTCALL KeAcquireInStackQueuedSpinLockForDpc ( _Inout_ PKSPIN_LOCK  SpinLock,
_Out_ PKLOCK_QUEUE_HANDLE  LockHandle 
)

◆ KeBugCheck()

NTKERNELAPI DECLSPEC_NORETURN VOID NTAPI KeBugCheck ( _In_ ULONG  BugCheckCode)

◆ KeBugCheckEx()

NTKERNELAPI DECLSPEC_NORETURN VOID NTAPI KeBugCheckEx ( _In_ ULONG  BugCheckCode,
_In_ ULONG_PTR  BugCheckParameter1,
_In_ ULONG_PTR  BugCheckParameter2,
_In_ ULONG_PTR  BugCheckParameter3,
_In_ ULONG_PTR  BugCheckParameter4 
)

Definition at line 107 of file rtlcompat.c.

113 {
114  __assume(0);
115 }

Referenced by _Function_class_(), ClasspReleaseQueue(), CmGetSystemControlValues(), CmGetSystemDriverList(), CmInitSystem1(), CmpHiveRootSecurityDescriptor(), CmpInitializeCache(), CmpInitializeHiveList(), CmpInitializeSystemHive(), CmpSecurityMethod(), CmpValueToData(), DoCrashCommand(), ExAllocatePoolWithTag(), ExFreePoolWithTag(), ExpCheckPoolAllocation(), ExpCheckPoolBlocks(), ExpCheckPoolHeader(), ExpCheckPoolIrqlLevel(), ExpCheckPoolLinks(), ExpCreateSystemRootLink(), ExpInitializeExecutive(), ExpInitNls(), ExpLoadInitialProcess(), ExpSystemErrorHandler(), ExpWorkerThreadEntryPoint(), ExQueueWorkItem(), ExReleaseResourceForThreadLite(), ExReturnPoolQuota(), ExSetResourceOwnerPointer(), FsRtlWorkerThread(), HalInitSystem(), HaliReadMPConfigTable(), HalpAcpiTableCacheInit(), HalpAllocateArray(), HalpCopyBufferMap(), HalpReportResourceUsage(), InitializePool(), IoAssignResources(), IoCancelFileOpen(), IoCancelIrp(), IofCallDriver(), IofCompleteRequest(), IopActionInterrogateDeviceStack(), IopInitializePlugPlayServices(), IopMarkBootPartition(), IopMountVolume(), IopParseDevice(), IopStartRamdisk(), IoReportTargetDeviceChange(), IoReportTargetDeviceChangeAsynchronous(), KeAcquireInStackQueuedSpinLockAtDpcLevel(), KeAcquireQueuedSpinLockAtDpcLevel(), KeAcquireSpinLockAtDpcLevel(), KeAttachProcess(), KefAcquireSpinLockAtDpcLevel(), KefReleaseSpinLockFromDpcLevel(), KeRaiseIrqlToSynchLevel(), KeReleaseInStackQueuedSpinLockFromDpcLevel(), KeReleaseQueuedSpinLockFromDpcLevel(), KeReleaseSpinLockFromDpcLevel(), KeRemoveQueue(), KeRundownThread(), KeStackAttachProcess(), KiDeliverApc(), KiDispatchException(), KiEspToTrapFrame(), KiExitSystemCallDebugChecks(), KiInitializeKernel(), KiInitMachineDependent(), KiSwapContextExit(), KiSwapContextResume(), KiSystemService(), KiUserModeCallout(), MiDecrementReferenceCount(), MiDecrementShareCount(), MiDeletePte(), MiFreeContiguousMemory(), MiInitializePfn(), MiInitializePfnAndMakePteValid(), MiInitializeSessionIds(), MiInsertPageInList(), MiMakeSystemAddressValid(), MiMakeSystemAddressValidPfn(), MiMapPfnDatabase(), MiniResetComplete(), MiRemoveFromSystemSpace(), MiSpecialPoolCheckPattern(), MmAllocateSpecialPool(), MmArmAccessFault(), MmArmInitSystem(), MmCommitSessionMappedView(), MmCreatePageFileMapping(), MmDeterminePoolType(), MmFreePagesFromMdl(), MmFreeSpecialPool(), MmMapLockedPagesSpecifyCache(), MmPageOutSectionView(), MmSetCleanPage(), MmSetDirtyPage(), MmZeroPageThread(), MupDereferenceVcb(), MxGetNextPage(), NdisIPnPStartDevice(), NdisMAllocateSharedMemory(), ObpCloseHandle(), ObpCloseHandleTableEntry(), PciAddDevice(), Phase1InitializationDiscard(), PnpRootAddDevice(), PopShutdownSystem(), PoShutdownBugCheck(), PsInitSystem(), PsLocateSystemDll(), PspCatchCriticalBreak(), PspExitThread(), PspInitializeSystemDll(), PspUnhandledExceptionInSystemThread(), RxAssert(), SeDefaultObjectMethod(), SeInitSystem(), USBPORT_FindUrbInIrpTable(), USBPORT_InsertIrpInTable(), USBPORT_SplitBulkInterruptTransfer(), USBPORT_SplitTransfer(), USBPORT_Unload(), vfatInitFcb(), and xHalTranslateBusAddress().

◆ KeDeregisterBugCheckCallback()

_Must_inspect_result_ NTKERNELAPI BOOLEAN NTAPI KeDeregisterBugCheckCallback ( _Inout_ PKBUGCHECK_CALLBACK_RECORD  CallbackRecord)

◆ KeGetCurrentNodeNumber()

NTKERNELAPI USHORT NTAPI KeGetCurrentNodeNumber ( VOID  )

◆ KeGetCurrentProcessorNumberEx()

NTKERNELAPI ULONG NTAPI KeGetCurrentProcessorNumberEx ( _Out_opt_ PPROCESSOR_NUMBER  ProcNumber)

◆ KeGetProcessorIndexFromNumber()

ULONG NTAPI KeGetProcessorIndexFromNumber ( _In_ PPROCESSOR_NUMBER  ProcNumber)

◆ KeGetProcessorNumberFromIndex()

NTSTATUS NTAPI KeGetProcessorNumberFromIndex ( _In_ ULONG  ProcIndex,
_Out_ PPROCESSOR_NUMBER  ProcNumber 
)

◆ KeGetRecommendedSharedDataAlignment()

NTKERNELAPI ULONG NTAPI KeGetRecommendedSharedDataAlignment ( VOID  )

Definition at line 471 of file cpu.c.

472 {
473  /* Return the global variable */
474  return KeLargestCacheLine;
475 }
ULONG KeLargestCacheLine
Definition: cpu.c:32

Referenced by ExAllocateCacheAwareRundownProtection(), ExInitializeRundownProtectionCacheAware(), ExSizeOfRundownProtectionCacheAware(), and NdisGetSharedDataAlignment().

◆ KeInitializeDpc()

NTKERNELAPI VOID NTAPI KeInitializeDpc ( _Out_ __drv_aliasesMem PRKDPC  Dpc,
_In_ PKDEFERRED_ROUTINE  DeferredRoutine,
_In_opt_ __drv_aliasesMem PVOID  DeferredContext 
)

◆ KeInitializeMutex()

NTKERNELAPI VOID NTAPI KeInitializeMutex ( _Out_ PRKMUTEX  Mutex,
_In_ ULONG  Level 
)

◆ KeInitializeQueue()

NTKERNELAPI VOID NTAPI KeInitializeQueue ( _Out_ PRKQUEUE  Queue,
_In_ ULONG  Count 
)

◆ KeInitializeSpinLock()

FORCEINLINE VOID KeInitializeSpinLock ( _Out_ PKSPIN_LOCK  SpinLock)

Definition at line 251 of file kefuncs.h.

252 {
253  /* Clear the lock */
254  *SpinLock = 0;
255 }
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798

Referenced by acpi_init(), AcpiOsCreateLock(), AcpiOsCreateSemaphore(), BindAdapterByName(), CcInitView(), CcRosInitializeFileCache(), CdRomAllocateMmcResources(), CdRomInitDevice(), ChewInit(), ClassCreateDeviceObject(), ClasspAllocateReleaseRequest(), ClassPnpStartDevice(), CreateCdRomDeviceObject(), CreateClassDeviceObject(), CreateDiskDeviceObject(), CreatePartitionDeviceObjects(), CServiceGroup::CServiceGroup(), CTEInitEvent(), DiskInitializeReregistration(), DllInitialize(), DriverEntry(), ExCreateCallback(), ExInitializeResourceLite(), ExpInitializeTimerImplementation(), ExpInitLookasideLists(), ExpResourceInitialization(), FdoStartDevice(), FileOpenAddress(), FileOpenControlChannel(), FreeBT_AddDevice(), FsRtlPrivateLock(), HalInitSystem(), HalpDmaAllocateMasterAdapter(), HalpInitBusHandler(), HalpInitializePciBus(), HalpInitializePciStubs(), HidClass_Create(), HidRegisterMinidriver(), IKsFilterFactory_fnInitialize(), InbvDriverInitialize(), CUSBDevice::Initialize(), CHubController::Initialize(), InitializeDeviceData(), InitializeDictionary(), InitializeMemoryManagement(), InitializePool(), InterlockedPopEntrySList(), IntVideoPortSetupInterrupt(), IoInitializeRemoveLockEx(), IoInitSystem(), IopInitializePlugPlayServices(), IsaAddDevice(), KdbInitialize(), KdpInitDebugLog(), KdpScreenInit(), KdpSerialInit(), KeInitializeDeviceQueue(), KeInitializeInterrupt(), KeInitInterrupts(), KeInitThread(), KiInitializeKernel(), KiInitSpinLocks(), KiInitSystem(), KsAllocateDefaultClockEx(), KsCreateBusEnumObject(), KspCreateFilter(), KspCreatePin(), KsRegisterWorker(), LANRegisterAdapter(), LANRegisterProtocol(), MiInitializeLoadedModuleList(), MmCreateProcessAddressSpace(), MmInitializeBalancer(), MmInitializeHandBuiltProcess(), MsfsCreateMailslot(), NdisAllocatePacketPoolEx(), NdisAllocateSpinLock(), NdisIAddDevice(), NdisInitializeReadWriteLock(), NdisInitializeWrapper(), NdisMCreateLog(), NdisMRegisterInterrupt(), NdisOpenConfiguration(), NdisOpenConfigurationKeyByIndex(), NdisOpenConfigurationKeyByName(), NdisOpenProtocolConfiguration(), NdisRegisterProtocol(), NpInitializeWaitQueue(), NtCreateTimer(), PcAddAdapterDevice(), PcmciaAddDevice(), PcNewInterruptSync(), PoInitSystem(), PortsStartup(), PspCreateThread(), RxDriverEntry(), RxInitializeBufferingManager(), RxInitializeDispatcher(), RxInitializeRxTimer(), RxInitializeTopLevelIrpPackage(), RxInitializeWorkQueue(), RxRegisterMinirdr(), ScsiPortInitialize(), SerialAddDeviceInternal(), START_TEST(), StorPortInitialize(), StorPortNotification(), sys_init(), sys_mbox_new(), SysAudio_AddDevice(), TCPAllocateConnectionEndpoint(), TcpipInitializeSpinLock(), TestSynchronizeExecution(), UDFInitializeVCB(), UDFInitializeZones(), UpdateDeviceObjects(), USBAudioPinCreate(), USBCCGP_AddDevice(), USBH_CreateDevice(), USBH_StartHubFdoDevice(), USBH_SyncSubmitUrb(), USBPORT_AllocateTransfer(), USBPORT_OpenPipe(), USBPORT_RegisterUSBPortDriver(), USBPORT_StartDevice(), USBSTOR_QueueInitialize(), VfdCreateDevice(), VideoPortCreateSpinLock(), and WdmaudAddDevice().

◆ KeInitializeThreadedDpc()

NTKERNELAPI VOID NTAPI KeInitializeThreadedDpc ( _Out_ PRKDPC  Dpc,
_In_ PKDEFERRED_ROUTINE  DeferredRoutine,
_In_opt_ PVOID  DeferredContext 
)

◆ KeInsertQueueDpc()

NTKERNELAPI BOOLEAN NTAPI KeInsertQueueDpc ( _Inout_ PRKDPC  Dpc,
_In_opt_ PVOID  SystemArgument1,
_In_opt_ PVOID  SystemArgument2 
)

◆ KeQueryActiveGroupCount()

NTKERNELAPI USHORT NTAPI KeQueryActiveGroupCount ( VOID  )

◆ KeQueryActiveProcessorCountEx()

NTKERNELAPI ULONG NTAPI KeQueryActiveProcessorCountEx ( _In_ USHORT  GroupNumber)

◆ KeQueryGroupAffinity()

NTKERNELAPI KAFFINITY NTAPI KeQueryGroupAffinity ( _In_ USHORT  GroupNumber)

◆ KeQueryHighestNodeNumber()

NTKERNELAPI USHORT NTAPI KeQueryHighestNodeNumber ( VOID  )

◆ KeQueryMaximumGroupCount()

NTKERNELAPI USHORT NTAPI KeQueryMaximumGroupCount ( VOID  )

◆ KeQueryMaximumProcessorCountEx()

NTKERNELAPI ULONG NTAPI KeQueryMaximumProcessorCountEx ( _In_ USHORT  GroupNumber)

◆ KeQueryNodeActiveAffinity()

NTKERNELAPI VOID NTAPI KeQueryNodeActiveAffinity ( _In_ USHORT  NodeNumber,
_Out_opt_ PGROUP_AFFINITY  Affinity,
_Out_opt_ PUSHORT  Count 
)

◆ KeQueryNodeMaximumProcessorCount()

NTKERNELAPI USHORT NTAPI KeQueryNodeMaximumProcessorCount ( _In_ USHORT  NodeNumber)

◆ KeQueryPerformanceCounter()

NTHALAPI LARGE_INTEGER NTAPI KeQueryPerformanceCounter ( _Out_opt_ PLARGE_INTEGER  PerformanceFrequency)

◆ KeQuerySystemTime()

NTKERNELAPI VOID NTAPI KeQuerySystemTime ( _Out_ PLARGE_INTEGER  CurrentTime)

◆ KeQueryTimeIncrement()

◆ KeQueryUnbiasedInterruptTime()

NTKERNELAPI ULONGLONG NTAPI KeQueryUnbiasedInterruptTime ( VOID  )

◆ KeRegisterBugCheckCallback()

_Must_inspect_result_ NTKERNELAPI BOOLEAN NTAPI KeRegisterBugCheckCallback ( _Out_ PKBUGCHECK_CALLBACK_RECORD  CallbackRecord,
_In_ PKBUGCHECK_CALLBACK_ROUTINE  CallbackRoutine,
_In_reads_bytes_opt_(Length) PVOID  Buffer,
_In_ ULONG  Length,
_In_ PUCHAR  Component 
)

◆ KeRegisterBugCheckReasonCallback()

_Must_inspect_result_ NTKERNELAPI BOOLEAN NTAPI KeRegisterBugCheckReasonCallback ( _Out_ PKBUGCHECK_REASON_CALLBACK_RECORD  CallbackRecord,
_In_ PKBUGCHECK_REASON_CALLBACK_ROUTINE  CallbackRoutine,
_In_ KBUGCHECK_CALLBACK_REASON  Reason,
_In_ PUCHAR  Component 
)

◆ KeReleaseInStackQueuedSpinLock()

◆ KeReleaseInStackQueuedSpinLockForDpc()

◆ KeRestoreExtendedProcessorState()

_Kernel_float_restored_ NTKERNELAPI VOID NTAPI KeRestoreExtendedProcessorState ( _In_ _Requires_lock_held_ *_Curr_ _Releases_lock_ *_Curr_ PXSTATE_SAVE  XStateSave)

◆ KeSetImportanceDpc()

NTKERNELAPI VOID NTAPI KeSetImportanceDpc ( _Inout_ PRKDPC  Dpc,
_In_ KDPC_IMPORTANCE  Importance 
)

◆ KeSetTargetProcessorDpcEx()

_Must_inspect_result_ NTKERNELAPI NTSTATUS NTAPI KeSetTargetProcessorDpcEx ( _Inout_ PKDPC  Dpc,
_In_ PPROCESSOR_NUMBER  ProcNumber 
)

◆ KeStallExecutionProcessor()

NTHALAPI VOID NTAPI KeStallExecutionProcessor ( _In_ ULONG  MicroSeconds)

◆ KeTestSpinLock()

Variable Documentation

◆ Abandoned

Definition at line 606 of file kefuncs.h.

◆ Adjustment

_In_ KPRIORITY _In_ LONG Adjustment

Definition at line 451 of file kefuncs.h.

Referenced by gettimeofday(), KeReleaseSemaphore(), and KiComputeNewPriority().

◆ Alertable

_In_ BOOLEAN Alertable

Definition at line 283 of file kefuncs.h.

◆ Alignment

Definition at line 83 of file kefuncs.h.

◆ ApcState

_Out_ PKAPC_STATE ApcState

Definition at line 679 of file kefuncs.h.

◆ CallbackContext

_In_opt_ PVOID CallbackContext

Definition at line 1203 of file kefuncs.h.

◆ ClientId

Definition at line 1176 of file kefuncs.h.

Referenced by AVrfInitializeVerifier(), AvrfpResolveThunks(), BasepNotifyCsrOfThread(), ContinueDebugEvent(), CreatePipe(), CreateProcessInternalW(), CreateRemoteThread(), CSR_API(), CsrAddStaticServerThread(), CsrApiPortInitialize(), CsrCreateProcess(), CsrCreateRemoteThread(), CsrCreateThread(), CsrDestroyProcess(), CsrDestroyThread(), CsrExecServerThread(), CsrLocateThreadByClientId(), CsrpCheckRequestThreads(), CsrSbApiPortInitialize(), DbgUiContinue(), DbgUiIssueRemoteBreakin(), ElfChangeNotify(), ExitThread(), extfmt_default_dbg_vlog(), GetCurrentProcessId(), GetCurrentThreadId(), GuiConsoleInputThread(), GuiInit(), IntNotifyWinEvent(), LpcpFindDataInfoMessage(), LpcpFreeDataInfoMessage(), LpcpMoveMessage(), Main(), MmCreateTeb(), NtCreateThread(), NtDebugContinue(), NtImpersonateClientOfPort(), NtOpenProcess(), NtOpenThread(), NtUserSetWindowsHookAW(), OpenProcess(), OpenThread(), PostMessageA(), PostMessageW(), PrintProcess(), ProcessIdToHandle(), ProcessIdToSessionId(), PsCreateSystemThread(), PspCreateThread(), rosfmt_default_dbg_vlog(), RtlAcquireResourceExclusive(), RtlAcquireResourceShared(), RtlCreateUserThread(), RtlGetCriticalSectionRecursionCount(), RtlInitializeCriticalSectionAndSpinCount(), RtlpFreeDebugInfo(), RtlpPageHeapCreate(), RtlpPageHeapDestroy(), RtlQueryProcessDebugInformation(), RtlTryEnterCriticalSection(), SetWindowsHookA(), SetWindowsHookW(), SmpLocateKnownSubSysByCid(), STRUCT(), TerminateThread(), TestWindowProcess(), UnhandledExceptionFilter(), and winefmt_default_dbg_vlog().

◆ Context

Definition at line 904 of file kefuncs.h.

◆ Count

Definition at line 328 of file kefuncs.h.

◆ CounterArray

* Count PHARDWARE_COUNTER CounterArray

Definition at line 1460 of file kefuncs.h.

◆ CycleTimeStamp

_Out_ PULONG64 CycleTimeStamp

Definition at line 1226 of file kefuncs.h.

◆ DeviceQueueEntry

◆ Dpc

◆ DueTime

◆ Entry

Definition at line 631 of file kefuncs.h.

◆ Flags

Definition at line 1203 of file kefuncs.h.

◆ Importance

_In_ KDPC_IMPORTANCE Importance

Definition at line 93 of file kefuncs.h.

Referenced by KeSetImportanceDpc().

◆ Increment

_In_ KPRIORITY Increment

Definition at line 101 of file kefuncs.h.

◆ Information

◆ InitialOwner

_In_ BOOLEAN InitialOwner

Definition at line 590 of file kefuncs.h.

Referenced by KeInitializeMutant(), and NtCreateMutant().

◆ Interval

Definition at line 283 of file kefuncs.h.

◆ Length

◆ Limit

◆ LockHandle

◆ MaximumCount

Definition at line 1460 of file kefuncs.h.

Referenced by NtCreateSemaphore().

◆ NewIrql

◆ OldIrql

Definition at line 803 of file kefuncs.h.

Referenced by $if(), _ExAcquireFastMutex(), _ExReleaseFastMutex(), _ExTryToAcquireFastMutex(), _HalpDismissIrqGeneric(), _HalpDismissIrqLevel(), _IRQL_requires_(), _MiFlushMappedSection(), _MiWriteBackPage(), acpi_bus_generate_event_dpc(), acpi_bus_receive_event(), AcpiOsAcquireLock(), AcpiOsReleaseLock(), AcpiOsSignalSemaphore(), AcpiOsWaitSemaphore(), AddEntity(), AddrFileFree(), AddrFindShared(), AddrLocateInterface(), AddrSearchFirst(), AddrSearchNext(), AfdCancelHandler(), AfdEventReceive(), AfdEventReceiveDatagramHandler(), AfdSelect(), AllocateAnyPort(), AllocatePort(), AllocatePortFromRange(), BeepCleanup(), CcCanIWrite(), CcCopyData(), CcDeferWrite(), CcLazyWriteScan(), CcMapData(), CcpDereferenceBcb(), CcPerformReadAhead(), CcpGetAppropriateBcb(), CcPostDeferredWrites(), CcPostWorkQueue(), CcpPinData(), CcPurgeCacheSection(), CcRosDeleteFileCache(), CcRosDereferenceCache(), CcRosFlushDirtyPages(), CcRosGetVacb(), CcRosInitializeFileCache(), CcRosReferenceCache(), CcRosReleaseFileCache(), CcRosRemoveIfClosed(), CcScheduleReadAhead(), CcSetAdditionalCacheAttributes(), CcUninitializeCacheMap(), CcUnpinRepinnedBcb(), CcWaitForCurrentLazyWriterActivity(), CcWorkerThread(), ChewWorkItem(), ClassCallback(), ClassCancelRoutine(), ClassRead(), ClassStartIo(), Cleanup(), ConnectionFree(), CountInterfaces(), CreateDMA(), CTEScheduleEvent(), DeallocatePort(), DereferenceAdapterContextWithOpenEntry(), DestroyPortDriver(), DGDeliverData(), DGReceiveDatagram(), DGRemoveIRP(), DispPrepareIrpForCancel(), DispTdiAssociateAddress(), DispTdiListen(), DispTdiSetEventHandler(), ExAcquireFastMutex(), ExAllocatePoolWithTag(), ExDeleteNPagedLookasideList(), ExDeletePagedLookasideList(), ExFreePoolWithTag(), ExfUnblockPushLock(), ExfWakePushLock(), ExInterlockedCompareExchange64(), ExInterlockedExtendZone(), ExiTryToAcquireFastMutex(), ExNotifyCallback(), ExpAddTagForBigPages(), ExpCheckPoolAllocation(), ExpDeleteTimer(), ExpExpandResourceOwnerTable(), ExpFindAndRemoveTagBigPages(), ExpInsertPoolTracker(), ExpTimerApcKernelRoutine(), ExRegisterCallback(), ExReleaseFastMutex(), Ext2ClearVpbFlag(), Ext2SetVpbFlag(), ExTimerRundown(), ExUnlockPool(), ExUnregisterCallback(), FatPnpAdjustVpbRefCount(), FFSClearVpbFlag(), FFSSetVpbFlag(), FileCloseAddress(), FindAdapterContextByName(), FindOnLinkInterface(), FreeDeviceData(), FreeMemoryManagement(), GetContext(), GetDefaultInterface(), GetReassemblyInfo(), GspBreakIn(), HalAllocateAdapterChannel(), HalBeginSystemInterrupt(), HalDisplayString(), HalEndSystemInterrupt(), HalEndSystemInterrupt2(), HaliRegisterBusHandler(), HalpApcInterruptHandler(), HalpDismissIrq07(), HalpDismissIrq07Level(), HalpDismissIrq13(), HalpDismissIrq13Level(), HalpDismissIrq15(), HalpDismissIrq15Level(), HalpDismissIrqGeneric(), HalpDismissIrqLevel(), HalpDispatchInterrupt2(), HalpDispatchInterruptHandler(), HalpEndSoftwareInterrupt2(), HalpGrowMapBuffers(), HalpGrowMapBufferWorker(), HalpPCIConfig(), HalReadDmaCounter(), HandleReadIrp(), HdlspAcquireGlobalLock(), HdlspDispatch(), HdlspReleaseGlobalLock(), i8042RemoveDevice(), ICMPSendDatagram(), InbvAcquireLock(), InbvReleaseLock(), InfoTdiQueryEntityType(), InfoTdiQueryGetAddrTable(), InfoTdiQueryGetRouteTable(), InfoTdiQueryListEntities(), InterfacePciDevicePresent(), InterfacePciDevicePresentEx(), InterlockedPopEntrySList(), InternalWorker(), IoAcquireRemoveLockEx(), IoAllocateDriverObjectExtension(), IoCancelFileOpen(), IoCancelIrp(), IoCancelThreadIo(), IoEnumerateDeviceObjectList(), IoFreeAdapterChannel(), IoFreeMapRegisters(), IoGetDiskDeviceObject(), IoGetDriverObjectExtension(), IoInvalidateDeviceRelations(), IoMapTransfer(), IopAbortInterruptedIrp(), IopCancelRemoveChildDevices(), IopCheckVpbMounted(), IopCloseFile(), IopCreateDeviceNode(), IopDecrementDeviceObjectRef(), IopDeleteFile(), IopDereferenceVpbAndFree(), IopDeviceActionWorker(), IopDisassociateThreadIrp(), IopEditDeviceList(), IopFreeDeviceNode(), IopGetDevicePDO(), IopGetErrorLogEntry(), IopGetSystemPowerDeviceObject(), IopMountInitializeVpb(), IopParseDevice(), IopPerformSynchronousRequest(), IopQueryRemoveChildDevices(), IopQueueIrpToThread(), IopReferenceVerifyVpb(), IopRemoveTimerFromTimerList(), IopSendRemoveChildDevices(), IopStartNextPacket(), IopStartNextPacketByKey(), IopTimerDispatch(), IopVerifyDeviceObjectOnStack(), IoReleaseRemoveLockEx(), IoStartPacket(), IoStartTimer(), IoStopTimer(), IoUnregisterShutdownNotification(), IPFreeReassemblyList(), IPRegisterInterface(), IRPFinish(), IsaFdoQueryDeviceRelations(), IsaFdoStartDevice(), KbdHid_DispatchInputData(), KdbEnterDebuggerException(), KdDisableDebugger(), KdDisableDebuggerWithLock(), KdEnableDebugger(), KdEnableDebuggerWithLock(), KdpPrintToLogFile(), KdpPrompt(), KdpScreenPrint(), KdpSerialDebugPrint(), KdpTimeSlipWork(), KdRegisterDebuggerDataBlock(), KeAcquireInterruptSpinLock(), KeAcquireQueuedSpinLock(), KeAcquireQueuedSpinLockRaiseToSynch(), KeAcquireSpinLock(), KeAcquireSpinLockRaiseToDpc(), KeAcquireSpinLockRaiseToSynch(), KeBoostPriorityThread(), KeBugCheckWithTf(), KeCancelTimer(), KeConnectInterrupt(), KeContextToTrapFrame(), KeDeregisterBugCheckCallback(), KeDeregisterBugCheckReasonCallback(), KeDeregisterNmiCallback(), KeDisconnectInterrupt(), KeFlushEntireTb(), KeGenericCallDpc(), KeInitializeMutant(), KeInsertHeadQueue(), KeInsertQueue(), KeInsertQueueDpc(), KeIpiGenericCall(), KePulseEvent(), KeQueryBasePriorityThread(), KeQueryPerformanceCounter(), KeRaiseIrql(), KeReadyThread(), KeRegisterBugCheckCallback(), KeRegisterBugCheckReasonCallback(), KeRegisterNmiCallback(), KeReleaseInterruptSpinLock(), KeReleaseMutant(), KeReleaseQueuedSpinLock(), KeReleaseSemaphore(), KeReleaseSpinLock(), KeResetEvent(), KeRevertToUserAffinityThread(), KeRundownQueue(), KeRundownThread(), KeSetAffinityThread(), KeSetBasePriorityThread(), KeSetEvent(), KeSetEventBoostPriority(), KeSetIdealProcessorThread(), KeSetPriorityThread(), KeSetProcess(), KeSetSystemAffinityThread(), KeSetSystemTime(), KeSetTimerEx(), KeSignalGateBoostPriority(), KeStartProfile(), KeStopProfile(), KeSynchronizeExecution(), KeTrapFrameToContext(), KeTryToAcquireQueuedSpinLock(), KeTryToAcquireQueuedSpinLockRaiseToSynch(), KeyboardDeviceWorker(), KfLowerIrql(), KfRaiseIrql(), KfReleaseSpinLock(), KiAcquireNmiListLock(), KiChainedDispatch(), KiCheckForApcDelivery(), KiCheckForKernelApcDelivery(), KiCheckTimerTable(), KiContinue(), KiDecrementerTrap(), KiDpcInterruptHandler(), KiEspToTrapFrame(), KiExitDispatcher(), KiExitInterrupt(), KiExitSystemCallDebugChecks(), KiExitV86Trap(), KiInterruptDispatch(), KiInterruptHandler(), KillSelectsForFCB(), KiReleaseDispatcherLock(), KiReleaseNmiListLock(), KiRetireDpcList(), KiScanReadyQueues(), KiSystemService(), KiTimerExpiration(), KiTimerListExpire(), KiTrap02(), KiTrap06Handler(), KiTrap0DHandler(), KiUnexpectedInterruptTailHandler(), KsQueueWorkItem(), KsRemoveIrpFromCancelableQueue(), KsUnregisterWorker(), LanAdapterInfo(), LanCloseProtocol(), LanEnumAdapters(), LanSetBufferedMode(), LANTransmit(), LANTransmitInternal(), LANUnregisterAdapter(), LANUnregisterProtocol(), LibTCPGetDataFromConnectionQueue(), LocateAdapterBindingByName(), LogActiveObjects(), LwipThreadMain(), MiAcquireExpansionLock(), MiAllocatePagesForMdl(), MiAllocatePoolPages(), MiBalancerThread(), MiBuildPagedPool(), MiBuildPfnDatabaseFromLoaderBlock(), MiCheckControlArea(), MiCheckPurgeAndUpMapCount(), MiCompleteProtoPteFault(), MiDeleteARM3Section(), MiDeleteSystemPageableVm(), MiDeleteVirtualAddresses(), MiDereferenceControlArea(), MiDereferenceSessionFinal(), MiDispatchFault(), MiFillSystemPageDirectory(), MiFindContiguousPages(), MiFlushTbAndCapture(), MiFreeContiguousMemory(), MiFreePoolPages(), MiGetPageProtection(), MiGetPteForProcess(), MiInitializeAndChargePfn(), MiInitializePoolEvents(), MiInitMachineDependent(), MiLoadImageSection(), MiMakePdeExistAndMakeValid(), MiMakeSystemAddressValidPfn(), MiMapLockedPagesInUserSpace(), MiMapPageInHyperSpace(), MiniCheckForHang(), MiniDoRequest(), MiniIndicateData(), MiniIndicateReceivePacket(), MiniIsBusy(), MiniLocateDevice(), MiniportCloseEndpoint(), MiniportOpenEndpoint(), MiniportWorker(), MiniQueueWorkItem(), MiniRequestComplete(), MiniReset(), MiniResetComplete(), MiniSendComplete(), MiniStatus(), MiniStatusComplete(), MiniTransferDataComplete(), MiProcessLoaderEntry(), MiProcessValidPteList(), MiProtectVirtualMemory(), MiReadFilePage(), MiReleaseExpansionLock(), MiReleasePfnLock(), MiReleaseProcessReferenceToSessionDataPage(), MiReleaseSystemPtes(), MiRemoveMappedPtes(), MiRemoveMappedView(), MiReserveAlignedSystemPtes(), MiResolveDemandZeroFault(), MiResolvePageFileFault(), MiResolveProtoPteFault(), MiResolveTransitionFault(), MiSegmentDelete(), MiSessionAddProcess(), MiSessionCommitPageTables(), MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), MiSessionLeader(), MiSessionRemoveProcess(), MiSetControlAreaSymbolsLoaded(), MiUnmapLockedPagesInUserSpace(), MiUnmapPageInHyperSpace(), MiZeroPhysicalPage(), MmAllocPage(), MmArmAccessFault(), MmCreateArm3Section(), MmCreateCacheSection(), MmCreateKernelStack(), MmCreateProcessAddressSpace(), MmDeleteKernelStack(), MmDeleteProcessAddressSpace(), MmDeleteProcessAddressSpace2(), MmDereferencePage(), MmDumpArmPfnDatabase(), MmFinalizeSegment(), MmFreeLoaderBlock(), MmFreeMemoryArea(), MmFreePagesFromMdl(), MmGetLRUFirstUserPage(), MmGetLRUNextUserPage(), MmGetPhysicalMemoryRanges(), MmGetSessionById(), MmGrowKernelStackEx(), MmInitializeProcessAddressSpace(), MmInsertLRULastUserPage(), MmNotPresentFaultCachePage(), MmPageOutSectionView(), MmProbeAndLockPages(), MmRemoveLRUUserPage(), MmUnlockPages(), MmZeroPageThread(), MouHid_DispatchInputData(), MountMgrChangeNotify(), MountMgrCleanup(), MountMgrNotify(), MyAllocatePool(), MyFreePool(), NBAddNeighbor(), NBCopyNeighbors(), NBDestroyNeighborsForInterface(), NBLocateNeighbor(), NBQueuePacket(), NBRemoveNeighbor(), NBResetNeighborTimeout(), NBShutdown(), NBUpdateNeighbor(), NdisMAllocateMapRegisters(), NdisMCancelTimer(), NdisMCloseLog(), NdisMCreateLog(), NdisMFlushLog(), NdisMFreeMapRegisters(), NdisMQueryInformationComplete(), NdisMSetInformationComplete(), NdisMSetPeriodicTimer(), NdisMSetTimer(), NdisMSetupDmaTransfer(), NdisReturnPackets(), NduDispatchRead(), NpAddWaiter(), NpCancelWaiter(), NpCancelWaitQueueIrp(), NpTimerDispatch(), NtCancelIoFile(), NtCancelTimer(), NtQueryInformationFile(), NtQueryInformationThread(), NtSetInformationFile(), NtSetTimer(), NtYieldExecution(), OpenDeviceReadWrite(), PcIoTimerRoutine(), PcRegisterIoTimeout(), PcUnregisterIoTimeout(), PdoPnpControl(), PollReeval(), PoNotifySystemTimeSet(), PopGetDope(), PoRemoveVolumeDevice(), PostOnlineNotification(), ProcessFragment(), ProIndicatePacket(), ProSend(), ProtocolTransferDataComplete(), ProTransferData(), PspDestroyQuotaBlock(), PspInsertQuotaBlock(), PspUserThreadStartup(), QSI_DEF(), QueryBinding(), QueueWorkItem(), RawCheckForDismount(), RawIPSendDatagram(), ReadWritePassive(), RemoveEntityByContext(), RemoveIPDR(), RfsdClearVpbFlag(), RfsdSetVpbFlag(), RouterCreateRoute(), RouterGetRoute(), RouterRemoveRoute(), RouterRemoveRoutesForInterface(), RouterShutdown(), RxAddToTopLevelIrpAllocatedContextsList(), RxAddToWorkque(), RxCancelNotifyChangeDirectoryRequestsForFobx(), RxCancelNotifyChangeDirectoryRequestsForVNetRoot(), RxCancelOperationInOverflowQueue(), RxCancelRoutine(), RxCompleteRequest_Real(), RxCompleteSrvOpenKeyAssociation(), RxCreateRxContext(), RxCreateSrvCallCallBack(), RxDereferenceAndDeleteRxContext_Real(), RxFinishSrvCallConstructionDispatcher(), RxFsdCommonDispatch(), RxGatherRequestsForSrvOpen(), RxInsertWorkQueueItem(), RxIsMemberOfTopLevelIrpAllocatedContextsList(), RxpDispatchChangeBufferingStateRequests(), RxPostOneShotTimerRequest(), RxpWorkerThreadDispatcher(), RxRemoveFromTopLevelIrpAllocatedContextsList(), RxRemoveOverflowEntry(), RxSpinUpRequestsDispatcher(), RxSpinUpWorkerThread(), ScsiPortInitialize(), SelectTimeout(), SendOnlineNotificationWorker(), SermouseDeviceWorker(), SetAddressFileInfo(), START_TEST(), StorPortAcquireMSISpinLock(), StorPortReleaseMSISpinLock(), sys_arch_mbox_fetch(), TCPAbortListenForSocket(), TCPAccept(), TCPAcceptEventHandler(), TCPClose(), TCPConnect(), TCPDisconnect(), TCPFinEventHandler(), TCPGetSockAddress(), TCPListen(), TCPRemoveIRP(), TCPSendData(), TCPSocket(), Tests_Insert_And_Delete(), TiUnload(), UDPSendDatagram(), UnbindAdapterByContext(), USB2_RebalanceEndpoint(), USBH_FdoIdleNotificationCallback(), USBH_FdoQueryBusRelations(), USBH_FdoWWIrpIoCompletion(), USBH_HubQueuePortWakeIrps(), USBH_SelectConfigOrInterfaceComplete(), USBH_SyncIrpComplete(), USBH_UrbTimeoutDPC(), USBH_Worker(), USBHI_RootHubInitNotification(), USBPORT_CancelActiveTransferIrp(), USBPORT_CancelPendingTransferIrp(), USBPORT_CancelPendingWakeIrp(), USBPORT_CancelSplitTransfer(), USBPORT_ClosePipe(), USBPORT_CompletePdoWaitWake(), USBPORT_CompleteTransfer(), USBPORT_DeleteEndpoint(), USBPORT_DmaEndpointActive(), USBPORT_DmaEndpointPaused(), USBPORT_DoIdleNotificationCallback(), USBPORT_DoneSplitTransfer(), USBPORT_DoneTransfer(), USBPORT_FindCompanionControllers(), USBPORT_FindMiniPort(), USBPORT_FindUSB2Controller(), USBPORT_FlushAllEndpoints(), USBPORT_FlushCancelList(), USBPORT_FlushClosedEndpointList(), USBPORT_FlushController(), USBPORT_FlushDoneTransfers(), USBPORT_FlushMapTransfers(), USBPORT_FlushPendingTransfers(), USBPORT_HandleGetCurrentFrame(), USBPORT_InvalidateEndpointHandler(), USBPORT_MiniportCompleteTransfer(), USBPORT_MiniportInterrupts(), USBPORT_NukeAllEndpoints(), USBPORT_OpenPipe(), USBPORT_PdoPower(), USBPORT_QueueActiveUrbToEndpoint(), USBPORT_RemoveDevice(), USBPORT_RemoveDeviceHandle(), USBPORT_RemoveUSBxFdo(), USBPORT_RestoreDevice(), USBPORT_ResumeController(), USBPORT_RootHubClassCommand(), USBPORT_RootHubEndpointWorker(), USBPORT_RootHubStandardCommand(), USBPORT_SetEndpointState(), USBPORT_SignalWorkerThread(), USBPORT_TimerDpc(), USBPORT_ValidateDeviceHandle(), USBPORT_WorkerThread(), USBPORT_WorkerThreadHandler(), VdmEndExecution(), VdmpStartExecution(), VfatCheckForDismount(), VideoPortAcquireSpinLock(), VideoPortCompleteDma(), VideoPortStartDma(), VideoPortSynchronizeExecution(), WaitForOnlinesToComplete(), WdmAudCleanup(), and WorkerThread().

◆ OPTIONAL

Definition at line 533 of file kefuncs.h.

◆ Parameter

Definition at line 1071 of file kefuncs.h.

◆ Period

◆ PreviousAffinity

_Out_opt_ PGROUP_AFFINITY PreviousAffinity

Definition at line 1252 of file kefuncs.h.

◆ Priority

◆ Processor

◆ ProcNumber

Definition at line 53 of file kefuncs.h.

Referenced by ExGetRunRefForGivenProcessor().

◆ RelationshipType

Definition at line 1342 of file kefuncs.h.

◆ Size

Definition at line 1071 of file kefuncs.h.

◆ SortKey

◆ State

Definition at line 26 of file kefuncs.h.

◆ SynchronizeContext

◆ SynchronizeRoutine

◆ TolerableDelay

Definition at line 1268 of file kefuncs.h.

◆ Type

Definition at line 26 of file kefuncs.h.

◆ UserTime

_Out_ PULONG UserTime

◆ Wait

Definition at line 101 of file kefuncs.h.