ReactOS  r74431
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

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

Definition at line 210 of file kefuncs.h.

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

Definition at line 1479 of file kefuncs.h.

Referenced by NdisMRegisterAdapterShutdownHandler().

#define PAGED_CODE ( )    NOP_FUNCTION;

Definition at line 1508 of file kefuncs.h.

#define PAGED_CODE_LOCKED ( )    NOP_FUNCTION;

Definition at line 1509 of file kefuncs.h.

Function Documentation

$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:67
uint64_t ULONGLONG
Definition: typedefs.h:66
Definition: strmini.h:378
NEON128
Definition: ke.h:229
* PNEON128
Definition: ke.h:229
$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 ( _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 ( _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_ ( _Global_critical_region_  )

Definition at line 37 of file semaphor.c.

42 {
43  // www.osr.com/ddk/graphics/gdifncs_14br.htm
44  PTHREADINFO W32Thread;
45 
46  /* On Windows a NULL hsem is ignored */
47  if (hsem == NULL)
48  {
49  DPRINT1("EngAcquireSemaphore called with hsem == NULL!\n");
50  return;
51  }
52 
55  if (W32Thread) W32Thread->dwEngAcquireCount++;
56 }
PVOID NTAPI PsGetThreadWin32Thread(IN PETHREAD Thread)
Definition: thread.c:795
#define PsGetCurrentThread()
Definition: env_spec_w32.h:81
ERESOURCE * PERESOURCE
Definition: env_spec_w32.h:595
smooth NULL
Definition: ftsmooth.c:464
#define DPRINT1
Definition: precomp.h:8
PVOID NTAPI ExEnterCriticalRegionAndAcquireResourceExclusive(IN PERESOURCE Resource)
Definition: resource.c:2189
* LockHandle LockHandle _IRQL_raises_ ( DISPATCH_LEVEL  )
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _IRQL_requires_ ( HIGH_LEVEL  )
_IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 30 of file rmap.c.

36 {
38 }
#define TAG_RMAP
Definition: tag.h:133
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1097
#define P(a, b, c, d, e, x)
_IRQL_requires_max_ ( PASSIVE_LEVEL  )

Definition at line 401 of file event.c.

414 {
415  return KspEnableEvent(Irp, EventSetsCount, EventSet, EventsList, EventsFlags, EventsLock, Allocator, EventItemSize);
416 }
_In_ PIRP Irp
Definition: csq.h:116
NTSTATUS KspEnableEvent(IN PIRP Irp, IN ULONG EventSetsCount, IN const KSEVENT_SET *EventSet, IN OUT PLIST_ENTRY EventsList OPTIONAL, IN KSEVENTS_LOCKTYPE EventsFlags OPTIONAL, IN PVOID EventsLock OPTIONAL, IN PFNKSALLOCATOR Allocator OPTIONAL, IN ULONG EventItemSize OPTIONAL)
Definition: event.c:87
_IRQL_requires_max_ ( APC_LEVEL  )
_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:1615
UCHAR KIRQL
Definition: env_spec_w32.h:591
_IRQL_requires_min_ ( PASSIVE_LEVEL  )
Initial value:
_In_ __drv_strictTypeMatch(__drv_typeCond) KWAIT_REASON WaitReason,
DWORD *typedef PVOID
Definition: winlogon.h:52
_In_ LONG Count
Definition: kefuncs.h:328
_Must_inspect_result_ _In_ WAIT_TYPE WaitType
Definition: fsrtlfuncs.h:1151
#define _In_reads_(size)
Definition: no_sal2.h:228
#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
smooth NULL
Definition: ftsmooth.c:464
_When_(Wait==0, _IRQL_requires_max_(DISPATCH_LEVEL)) _When_(Wait
#define NTKERNELAPI
#define _Out_opt_
Definition: no_sal2.h:339
unsigned char BOOLEAN
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
LONG NTSTATUS
Definition: DriverTester.h:11
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
_Must_inspect_result_ _Post_satisfies_ ( return  = = 1 || return == 0)
_Releases_lock_ ( _Global_critical_region_  )

Definition at line 63 of file semaphor.c.

68 {
69  // www.osr.com/ddk/graphics/gdifncs_5u3r.htm
70  PTHREADINFO W32Thread;
71 
72  /* On Windows a NULL hsem is ignored */
73  if (hsem == NULL)
74  {
75  DPRINT1("EngReleaseSemaphore called with hsem == NULL!\n");
76  return;
77  }
78 
80  if (W32Thread) --W32Thread->dwEngAcquireCount;
82 }
PVOID NTAPI PsGetThreadWin32Thread(IN PETHREAD Thread)
Definition: thread.c:795
#define PsGetCurrentThread()
Definition: env_spec_w32.h:81
ERESOURCE * PERESOURCE
Definition: env_spec_w32.h:595
smooth NULL
Definition: ftsmooth.c:464
VOID FASTCALL ExReleaseResourceAndLeaveCriticalRegion(IN PERESOURCE Resource)
Definition: resource.c:2278
#define DPRINT1
Definition: precomp.h:8
_Requires_lock_held_ ( Number  )
_Must_inspect_result_ _Success_ ( return!  = 0)

Returns the name of an atom.

MSDN: GetRegionData, Return Values:

"If the function succeeds and dwCount specifies an adequate number of bytes, the return value is always dwCount. If dwCount is too small or the function fails, the return value is 0. If lpRgnData is NULL, the return value is the required number of bytes.

If the function fails, the return value is zero."

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 279 of file mapping.c.

289 {
291  PENGSECTION pSection;
292 
293  /* Check parameter */
294  if (cjSize == 0) return NULL;
295 
296  /* Allocate a section object */
297  pSection = EngCreateSectionHack(fl, cjSize, ulTag);
298  if (!pSection)
299  {
300  *ppvSection = NULL;
301  return NULL;
302  }
303 
304  /* Map the section in session space */
305  Status = MmMapViewInSessionSpace(pSection->pvSectionObject,
306  &pSection->pvMappedBase,
307  &pSection->cjViewSize);
308  if (!NT_SUCCESS(Status))
309  {
310  DPRINT1("Failed to map a section Status=0x%x\n", Status);
311  *ppvSection = NULL;
312  EngFreeSectionMem(pSection, NULL);
313  return NULL;
314  }
315 
316  if (fl & FL_ZERO_MEMORY)
317  {
318  RtlZeroMemory(pSection->pvMappedBase, cjSize);
319  }
320 
321  /* Set section pointer and return base address */
322  *ppvSection = pSection;
323  return pSection->pvMappedBase;
324 }
PVOID pvSectionObject
Definition: mapping.h:4
_In_ FLONG fl
Definition: winddi.h:1279
smooth NULL
Definition: ftsmooth.c:464
BOOL APIENTRY EngFreeSectionMem(_In_opt_ PVOID pvSection, _In_opt_ PVOID pvMappedBase)
Definition: mapping.c:246
SIZE_T cjViewSize
Definition: mapping.h:6
PVOID NTAPI EngCreateSectionHack(_In_ ULONG fl, _In_ SIZE_T cjSize, _In_ ULONG ulTag)
Definition: mapping.c:132
#define FL_ZERO_MEMORY
Definition: polytest.cpp:58
Status
Definition: gdiplustypes.h:24
_In_ ULONG _In_ ULONG ulTag
Definition: winddi.h:3941
#define NT_SUCCESS(StatCode)
Definition: cmd.c:149
LONG NTSTATUS
Definition: DriverTester.h:11
#define DPRINT1
Definition: precomp.h:8
_In_ ULONG cjSize
Definition: winddi.h:3634
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
NTSTATUS NTAPI MmMapViewInSessionSpace(IN PVOID Section, OUT PVOID *MappedBase, IN OUT PSIZE_T ViewSize)
Definition: section.c:2987
PVOID pvMappedBase
Definition: mapping.h:5
_When_ ( Wait  = =0,
_IRQL_requires_max_(DISPATCH_LEVEL  
)
* LockHandle LockHandle NTKERNELAPI VOID FASTCALL KeAcquireInStackQueuedSpinLockForDpc ( _Inout_ PKSPIN_LOCK  SpinLock,
_Out_ PKLOCK_QUEUE_HANDLE  LockHandle 
)
NTKERNELAPI DECLSPEC_NORETURN VOID NTAPI KeBugCheck ( _In_ ULONG  BugCheckCode)
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 90 of file rtlcompat.c.

Referenced by ClasspReleaseQueue(), CmGetSystemControlValues(), CmGetSystemDriverList(), CmInitSystem1(), CmpHiveRootSecurityDescriptor(), CmpInitializeCache(), CmpInitializeHiveList(), CmpInitializeSystemHive(), CmpLoadHiveThread(), CmpSecurityMethod(), CmpValueToData(), DoCrashCommand(), ExAllocatePoolWithTag(), ExFreePoolWithTag(), ExpCheckPoolAllocation(), ExpCheckPoolBlocks(), ExpCheckPoolHeader(), ExpCheckPoolIrqlLevel(), ExpCheckPoolLinks(), ExpCreateSystemRootLink(), ExpInitializeExecutive(), ExpInitNls(), ExpLoadInitialProcess(), ExpSystemErrorHandler(), ExpWorkerThreadEntryPoint(), ExQueueWorkItem(), ExReleaseResourceForThreadLite(), ExReturnPoolQuota(), ExSetResourceOwnerPointer(), FatiCleanup(), FatiCommonClose(), FatiCreate(), FatiOpenExistingFcb(), 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(), SeDefaultObjectMethod(), SeInitSystem(), vfatInitFcb(), and xHalTranslateBusAddress().

96 {
97  __assume(0);
98 }
_Must_inspect_result_ NTKERNELAPI BOOLEAN NTAPI KeDeregisterBugCheckCallback ( _Inout_ PKBUGCHECK_CALLBACK_RECORD  CallbackRecord)
NTKERNELAPI USHORT NTAPI KeGetCurrentNodeNumber ( VOID  )
NTKERNELAPI ULONG NTAPI KeGetCurrentProcessorNumberEx ( _Out_opt_ PPROCESSOR_NUMBER  ProcNumber)
ULONG NTAPI KeGetProcessorIndexFromNumber ( _In_ PPROCESSOR_NUMBER  ProcNumber)
NTSTATUS NTAPI KeGetProcessorNumberFromIndex ( _In_ ULONG  ProcIndex,
_Out_ PPROCESSOR_NUMBER  ProcNumber 
)
NTKERNELAPI ULONG NTAPI KeGetRecommendedSharedDataAlignment ( VOID  )

Definition at line 481 of file cpu.c.

Referenced by NdisGetSharedDataAlignment().

482 {
483  /* Return the global variable */
484  return KeLargestCacheLine;
485 }
ULONG KeLargestCacheLine
Definition: cpu.c:32
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 
)
NTKERNELAPI VOID NTAPI KeInitializeQueue ( _Out_ PRKQUEUE  Queue,
_In_ ULONG  Count 
)
FORCEINLINE VOID KeInitializeSpinLock ( _Out_ PKSPIN_LOCK  SpinLock)

Definition at line 251 of file kefuncs.h.

Referenced by acpi_init(), AcpiOsCreateLock(), AcpiOsCreateSemaphore(), alloc_chunk(), BindAdapterByName(), CcRosInitializeFileCache(), CdfsMountVolume(), CdMountVolume(), 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(), load_chunk_root(), MiInitializeLoadedModuleList(), MmCreateProcessAddressSpace(), MmInitializeBalancer(), MmInitializeHandBuiltProcess(), MmInitPagingFile(), mount_vol(), MsfsCreateMailslot(), NdisAllocatePacketPoolEx(), NdisAllocateSpinLock(), NdisIAddDevice(), NdisInitializeReadWriteLock(), NdisInitializeWrapper(), NdisMCreateLog(), NdisMRegisterInterrupt(), NdisOpenConfiguration(), NdisOpenConfigurationKeyByIndex(), NdisOpenConfigurationKeyByName(), NdisOpenProtocolConfiguration(), NdisRegisterProtocol(), NpInitializeWaitQueue(), NtCreatePagingFile(), NtCreateTimer(), PcAddAdapterDevice(), PcmciaAddDevice(), PcNewInterruptSync(), PoInitSystem(), PortsStartup(), PspCreateThread(), read_data(), ScsiPortInitialize(), SerialAddDeviceInternal(), START_TEST(), sys_init(), sys_mbox_new(), SysAudio_AddDevice(), TCPAllocateConnectionEndpoint(), TcpipInitializeSpinLock(), TestSynchronizeExecution(), UDFInitializeVCB(), UDFInitializeZones(), UpdateDeviceObjects(), USBAudioPinCreate(), USBCCGP_AddDevice(), USBSTOR_QueueInitialize(), VideoPortCreateSpinLock(), and WdmaudAddDevice().

252 {
253  /* Clear the lock */
254  *SpinLock = 0;
255 }
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
NTKERNELAPI VOID NTAPI KeInitializeThreadedDpc ( _Out_ PRKDPC  Dpc,
_In_ PKDEFERRED_ROUTINE  DeferredRoutine,
_In_opt_ PVOID  DeferredContext 
)
NTKERNELAPI BOOLEAN NTAPI KeInsertQueueDpc ( _Inout_ PRKDPC  Dpc,
_In_opt_ PVOID  SystemArgument1,
_In_opt_ PVOID  SystemArgument2 
)
NTKERNELAPI USHORT NTAPI KeQueryActiveGroupCount ( VOID  )
NTKERNELAPI ULONG NTAPI KeQueryActiveProcessorCountEx ( _In_ USHORT  GroupNumber)
NTKERNELAPI KAFFINITY NTAPI KeQueryGroupAffinity ( _In_ USHORT  GroupNumber)
NTKERNELAPI USHORT NTAPI KeQueryHighestNodeNumber ( VOID  )
NTKERNELAPI USHORT NTAPI KeQueryMaximumGroupCount ( VOID  )
NTKERNELAPI ULONG NTAPI KeQueryMaximumProcessorCountEx ( _In_ USHORT  GroupNumber)
NTKERNELAPI VOID NTAPI KeQueryNodeActiveAffinity ( _In_ USHORT  NodeNumber,
_Out_opt_ PGROUP_AFFINITY  Affinity,
_Out_opt_ PUSHORT  Count 
)
NTKERNELAPI USHORT NTAPI KeQueryNodeMaximumProcessorCount ( _In_ USHORT  NodeNumber)
NTHALAPI LARGE_INTEGER NTAPI KeQueryPerformanceCounter ( _Out_opt_ PLARGE_INTEGER  PerformanceFrequency)
NTKERNELAPI VOID NTAPI KeQuerySystemTime ( _Out_ PLARGE_INTEGER  CurrentTime)
NTKERNELAPI ULONGLONG NTAPI KeQueryUnbiasedInterruptTime ( 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 
)
_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 
)
_Kernel_float_restored_ NTKERNELAPI VOID NTAPI KeRestoreExtendedProcessorState ( _In_ _Requires_lock_held_ *_Curr_ _Releases_lock_ *_Curr_ PXSTATE_SAVE  XStateSave)
NTKERNELAPI VOID NTAPI KeSetImportanceDpc ( _Inout_ PRKDPC  Dpc,
_In_ KDPC_IMPORTANCE  Importance 
)
_Must_inspect_result_ NTKERNELAPI NTSTATUS NTAPI KeSetTargetProcessorDpcEx ( _Inout_ PKDPC  Dpc,
_In_ PPROCESSOR_NUMBER  ProcNumber 
)
NTHALAPI VOID NTAPI KeStallExecutionProcessor ( _In_ ULONG  MicroSeconds)

Variable Documentation

Definition at line 606 of file kefuncs.h.

_In_ KPRIORITY _In_ LONG Adjustment

Definition at line 451 of file kefuncs.h.

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

_In_ BOOLEAN Alertable

Definition at line 283 of file kefuncs.h.

Definition at line 83 of file kefuncs.h.

_Out_ PKAPC_STATE ApcState

Definition at line 679 of file kefuncs.h.

_In_opt_ PVOID CallbackContext

Definition at line 1203 of file kefuncs.h.

Definition at line 904 of file kefuncs.h.

Definition at line 328 of file kefuncs.h.

* Count PHARDWARE_COUNTER CounterArray

Definition at line 1460 of file kefuncs.h.

_Out_ PULONG64 CycleTimeStamp

Definition at line 1226 of file kefuncs.h.

_Inout_ PKDEVICE_QUEUE_ENTRY DeviceQueueEntry

Definition at line 352 of file kefuncs.h.

Referenced by DECLSPEC_ALIGN(), and IoFreeAdapterChannel().

Definition at line 631 of file kefuncs.h.

Definition at line 1203 of file kefuncs.h.

_In_ KDPC_IMPORTANCE Importance

Definition at line 93 of file kefuncs.h.

Referenced by KeSetImportanceDpc().

_In_ KPRIORITY Increment

Definition at line 101 of file kefuncs.h.

_In_ BOOLEAN InitialOwner

Definition at line 590 of file kefuncs.h.

Definition at line 283 of file kefuncs.h.

Definition at line 1460 of file kefuncs.h.

Definition at line 803 of file kefuncs.h.

Referenced by $if(), _ExAcquireFastMutex(), _ExReleaseFastMutex(), _ExTryToAcquireFastMutex(), _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(), CcCopyData(), CcPurgeCacheSection(), CcUninitializeCacheMap(), ChewWorkItem(), ClassCallback(), ClassCancelRoutine(), ClassRead(), ClassStartIo(), 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(), ExUnregisterCallback(), FFSClearVpbFlag(), FFSSetVpbFlag(), FileCloseAddress(), FindAdapterContextByName(), FindOnLinkInterface(), FreeDeviceData(), FreeMemoryManagement(), GetContext(), GetDefaultInterface(), GetReassemblyInfo(), GspBreakIn(), HalAllocateAdapterChannel(), HalBeginSystemInterrupt(), HalDisplayString(), HalEndSystemInterrupt(), HaliRegisterBusHandler(), HalpApcInterruptHandler(), HalpDispatchInterrupt2(), HalpDispatchInterruptHandler(), HalpEndSoftwareInterrupt2(), HalpGrowMapBuffers(), HalpGrowMapBufferWorker(), HalpPCIConfig(), HalReadDmaCounter(), HandleReadIrp(), HdlspAcquireGlobalLock(), HdlspDispatch(), 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(), IopDeviceRelationsWorker(), IopDisassociateThreadIrp(), IopEditDeviceList(), IopFreeDeviceNode(), IopGetDevicePDO(), IopGetErrorLogEntry(), IopGetSystemPowerDeviceObject(), IopMountInitializeVpb(), IopParseDevice(), IopPerformSynchronousRequest(), IopQueryRemoveChildDevices(), IopQueueIrpToThread(), IopReferenceVerifyVpb(), IopRemoveTimerFromTimerList(), IopSendRemoveChildDevices(), IopStartNextPacket(), IopStartNextPacketByKey(), IopTimerDispatch(), 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(), KeAcquireSpinLockRaiseToDpc(), KeAcquireSpinLockRaiseToSynch(), KeBoostPriorityThread(), KeBugCheckWithTf(), KeCancelTimer(), KeConnectInterrupt(), KeContextToTrapFrame(), KeDeregisterBugCheckCallback(), KeDeregisterBugCheckReasonCallback(), KeDeregisterNmiCallback(), KeDisconnectInterrupt(), KeFlushEntireTb(), KeGenericCallDpc(), KeInitializeMutant(), KeInsertHeadQueue(), KeInsertQueue(), KeInsertQueueDpc(), KeIpiGenericCall(), KePulseEvent(), KeQueryBasePriorityThread(), KeQueryPerformanceCounter(), KeReadyThread(), KeRegisterBugCheckCallback(), KeRegisterBugCheckReasonCallback(), KeRegisterNmiCallback(), KeReleaseMutant(), KeReleaseSemaphore(), KeResetEvent(), KeRevertToUserAffinityThread(), KeRundownQueue(), KeRundownThread(), KeSetAffinityThread(), KeSetBasePriorityThread(), KeSetEvent(), KeSetEventBoostPriority(), KeSetIdealProcessorThread(), KeSetPriorityThread(), KeSetProcess(), KeSetSystemAffinityThread(), KeSetSystemTime(), KeSetTimerEx(), KeSignalGateBoostPriority(), KeStartProfile(), KeStopProfile(), KeSynchronizeExecution(), KeTrapFrameToContext(), KeyboardDeviceWorker(), KfLowerIrql(), KfRaiseIrql(), KiChainedDispatch(), KiCheckForApcDelivery(), KiCheckForKernelApcDelivery(), KiCheckTimerTable(), KiContinue(), KiDecrementerTrap(), KiDpcInterruptHandler(), KiEspToTrapFrame(), KiExitDispatcher(), KiExitSystemCallDebugChecks(), KiExitV86Trap(), KiInterruptDispatch(), KiInterruptHandler(), KillSelectsForFCB(), KiRetireDpcList(), KiScanReadyQueues(), KiSystemService(), KiTimerExpiration(), 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(), MiCheckPurgeAndUpMapCount(), MiDeleteARM3Section(), MiDeleteSystemPageableVm(), MiDeleteVirtualAddresses(), MiDereferenceControlArea(), MiDereferenceSessionFinal(), MiDispatchFault(), MiFillSystemPageDirectory(), MiFindContiguousPages(), MiFlushTbAndCapture(), MiFreeContiguousMemory(), MiFreePoolPages(), MiGetPageProtection(), MiGetPteForProcess(), MiInitializeAndChargePfn(), MiInitializePoolEvents(), MiInitMachineDependent(), MiLoadImageSection(), MiniCheckForHang(), MiniDoRequest(), MiniIndicateData(), MiniIndicateReceivePacket(), MiniIsBusy(), MiniLocateDevice(), MiniportWorker(), MiniQueueWorkItem(), MiniRequestComplete(), MiniReset(), MiniResetComplete(), MiniSendComplete(), MiniStatus(), MiniStatusComplete(), MiniTransferDataComplete(), MiProcessLoaderEntry(), MiProcessValidPteList(), MiProtectVirtualMemory(), MiReadFilePage(), MiReleaseProcessReferenceToSessionDataPage(), MiReleaseSystemPtes(), MiRemoveMappedPtes(), MiRemoveMappedView(), MiReserveAlignedSystemPtes(), MiSegmentDelete(), MiSessionAddProcess(), MiSessionCommitPageTables(), MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), MiSessionLeader(), MiSessionRemoveProcess(), MiSetControlAreaSymbolsLoaded(), 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(), ScsiPortInitialize(), SelectTimeout(), SendOnlineNotificationWorker(), SermouseDeviceWorker(), SetAddressFileInfo(), START_TEST(), sys_arch_mbox_fetch(), TCPAbortListenForSocket(), TCPAccept(), TCPAcceptEventHandler(), TCPClose(), TCPConnect(), TCPDisconnect(), TCPFinEventHandler(), TCPGetSockAddress(), TCPListen(), TCPRemoveIRP(), TCPSendData(), TCPSocket(), Tests_Insert_And_Delete(), TiUnload(), UDPSendDatagram(), UnbindAdapterByContext(), VdmEndExecution(), VdmpStartExecution(), VfatCheckForDismount(), VideoPortCompleteDma(), VideoPortStartDma(), VideoPortSynchronizeExecution(), WaitForOnlinesToComplete(), WdmAudCleanup(), and WorkerThread().

Definition at line 533 of file kefuncs.h.

Definition at line 1071 of file kefuncs.h.

_Out_opt_ PGROUP_AFFINITY PreviousAffinity

Definition at line 1252 of file kefuncs.h.

Definition at line 53 of file kefuncs.h.

Definition at line 1342 of file kefuncs.h.

Definition at line 1071 of file kefuncs.h.

_In_ ULONG SortKey

Definition at line 352 of file kefuncs.h.

Referenced by KeInsertByKeyDeviceQueue(), and Tests_Insert_And_Delete().

Definition at line 26 of file kefuncs.h.

Definition at line 1268 of file kefuncs.h.

Definition at line 26 of file kefuncs.h.

_Out_ PULONG UserTime

Definition at line 784 of file kefuncs.h.

Referenced by NtQueryInformationProcess().

Definition at line 101 of file kefuncs.h.