ReactOS 0.4.16-dev-306-g647d351
ke.c File Reference
#include <ntdef.h>
#include <ntifs.h>
Include dependency graph for ke.c:

Go to the source code of this file.

Functions

NTKRNLVISTAAPI ULONG NTAPI KeQueryActiveProcessorCount (OUT PKAFFINITY ActiveProcessors OPTIONAL)
 
NTKRNLVISTAAPI USHORT NTAPI KeQueryHighestNodeNumber ()
 
NTKRNLVISTAAPI USHORT NTAPI KeGetCurrentNodeNumber ()
 
 _IRQL_requires_max_ (DISPATCH_LEVEL)
 

Function Documentation

◆ _IRQL_requires_max_()

_IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 45 of file ke.c.

55{
57}
BOOLEAN NTAPI KeSetTimerEx(IN OUT PKTIMER Timer, IN LARGE_INTEGER DueTime, IN LONG Period, IN PKDPC Dpc OPTIONAL)
Definition: timerobj.c:294
_Must_inspect_result_ _In_ PWDF_DPC_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFDPC * Dpc
Definition: wdfdpc.h:112
_In_ WDFTIMER _In_ LONGLONG DueTime
Definition: wdftimer.h:190
_In_ LARGE_INTEGER _In_ ULONG Period
Definition: kefuncs.h:1313

◆ KeGetCurrentNodeNumber()

NTKRNLVISTAAPI USHORT NTAPI KeGetCurrentNodeNumber ( )

Definition at line 40 of file ke.c.

41{
42 return 0;
43}

Referenced by __drv_allocatesMem(), and DequeueFreeTransferPacket().

◆ KeQueryActiveProcessorCount()

NTKRNLVISTAAPI ULONG NTAPI KeQueryActiveProcessorCount ( OUT PKAFFINITY ActiveProcessors  OPTIONAL)

Definition at line 15 of file ke.c.

16{
19
20 if (ActiveProcessors != NULL)
21 {
22 *ActiveProcessors = ActiveMap;
23 }
24
25 RtlInitializeBitMap(&Bitmap, (PULONG)&ActiveMap, sizeof(ActiveMap) * 8);
27}
#define RtlInitializeBitMap
Definition: dbgbitmap.h:326
#define RtlNumberOfSetBits
Definition: dbgbitmap.h:343
#define NULL
Definition: types.h:112
ULONG_PTR KAFFINITY
Definition: compat.h:85
KAFFINITY NTAPI KeQueryActiveProcessors(VOID)
Definition: cpu.c:672
uint32_t * PULONG
Definition: typedefs.h:59

◆ KeQueryHighestNodeNumber()

NTKRNLVISTAAPI USHORT NTAPI KeQueryHighestNodeNumber ( )

Definition at line 32 of file ke.c.

33{
34 return 0;
35}

Referenced by DestroyAllTransferPackets(), and InitializeTransferPackets().