ReactOS 0.4.15-dev-7991-ge77da17
kdbg.c File Reference
#include <ntoskrnl.h>
#include <debug.h>
#include <mm/ARM3/miarm.h>
Include dependency graph for kdbg.c:

Go to the source code of this file.

Classes

struct  _IRP_FIND_CTXT
 

Macros

#define NDEBUG
 
#define MODULE_INVOLVED_IN_ARM3
 
#define POOL_BIG_TABLE_ENTRY_FREE   0x1
 
#define POOL_ENTRY(x)   (PPOOL_HEADER)((ULONG_PTR)(x) - sizeof(POOL_HEADER))
 
#define POOL_FREE_BLOCK(x)   (PLIST_ENTRY)((ULONG_PTR)(x) + sizeof(POOL_HEADER))
 
#define POOL_BLOCK(x, i)   (PPOOL_HEADER)((ULONG_PTR)(x) + ((i) * POOL_BLOCK_SIZE))
 
#define POOL_NEXT_BLOCK(x)   POOL_BLOCK((x), (x)->BlockSize)
 
#define POOL_PREV_BLOCK(x)   POOL_BLOCK((x), -((x)->PreviousSize))
 

Typedefs

typedef struct _IRP_FIND_CTXT IRP_FIND_CTXT
 
typedef struct _IRP_FIND_CTXTPIRP_FIND_CTXT
 

Functions

VOID MiDumpPoolConsumers (BOOLEAN CalledFromDbg, ULONG Tag, ULONG Mask, ULONG Flags)
 

Variables

PVOID MmNonPagedPoolEnd0
 
SIZE_T PoolBigPageTableSize
 
PPOOL_TRACKER_BIG_PAGES PoolBigPageTable
 

Macro Definition Documentation

◆ MODULE_INVOLVED_IN_ARM3

#define MODULE_INVOLVED_IN_ARM3

Definition at line 16 of file kdbg.c.

◆ NDEBUG

#define NDEBUG

Definition at line 13 of file kdbg.c.

◆ POOL_BIG_TABLE_ENTRY_FREE

#define POOL_BIG_TABLE_ENTRY_FREE   0x1

Definition at line 32 of file kdbg.c.

◆ POOL_BLOCK

#define POOL_BLOCK (   x,
  i 
)    (PPOOL_HEADER)((ULONG_PTR)(x) + ((i) * POOL_BLOCK_SIZE))

Definition at line 37 of file kdbg.c.

◆ POOL_ENTRY

#define POOL_ENTRY (   x)    (PPOOL_HEADER)((ULONG_PTR)(x) - sizeof(POOL_HEADER))

Definition at line 35 of file kdbg.c.

◆ POOL_FREE_BLOCK

#define POOL_FREE_BLOCK (   x)    (PLIST_ENTRY)((ULONG_PTR)(x) + sizeof(POOL_HEADER))

Definition at line 36 of file kdbg.c.

◆ POOL_NEXT_BLOCK

#define POOL_NEXT_BLOCK (   x)    POOL_BLOCK((x), (x)->BlockSize)

Definition at line 38 of file kdbg.c.

◆ POOL_PREV_BLOCK

#define POOL_PREV_BLOCK (   x)    POOL_BLOCK((x), -((x)->PreviousSize))

Definition at line 39 of file kdbg.c.

Typedef Documentation

◆ IRP_FIND_CTXT

◆ PIRP_FIND_CTXT

Function Documentation

◆ MiDumpPoolConsumers()

VOID MiDumpPoolConsumers ( BOOLEAN  CalledFromDbg,
ULONG  Tag,
ULONG  Mask,
ULONG  Flags 
)

Referenced by ExAllocatePoolWithTag().

Variable Documentation

◆ MmNonPagedPoolEnd0

PVOID MmNonPagedPoolEnd0
extern

Definition at line 22 of file pool.c.

Referenced by MiInitializeNonPagedPool().

◆ PoolBigPageTable

◆ PoolBigPageTableSize

SIZE_T PoolBigPageTableSize
extern