1498 DPRINT1(
"Overflow expanding big page table. Size=%lu\n", OldSize);
1510 DPRINT1(
"Overflow while calculating big page table size. Size=%lu\n", OldSize);
1516 if (NewTable ==
NULL)
1518 DPRINT(
"Could not allocate %lu bytes for new big page table\n", NewSizeInBytes);
1523 DPRINT(
"%s big pool tracker table to %lu entries\n", Shrink ?
"Shrinking" :
"Expanding",
NewSize);
1535 for (
i = 0;
i < OldSize;
i++)
1557 NewTable[
Hash] = OldTable[
i];
#define KeGetCurrentIrql()
static int Hash(const char *)
KSPIN_LOCK ExpLargePoolTableLock
SIZE_T PoolBigPageTableSize
ULONG ExpPoolBigEntriesInUse
VOID NTAPI ExpRemovePoolTracker(IN ULONG Key, IN SIZE_T NumberOfBytes, IN POOL_TYPE PoolType)
#define NT_SUCCESS(StatCode)
PVOID NTAPI MiAllocatePoolPages(IN POOL_TYPE PoolType, IN SIZE_T SizeInBytes)
ULONG NTAPI MiFreePoolPages(IN PVOID StartingAddress)
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
_Must_inspect_result_ _In_ USHORT NewSize
#define ALIGN_DOWN_BY(size, align)
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
VOID NTAPI ExpInsertPoolTracker(IN ULONG Key, IN SIZE_T NumberOfBytes, IN POOL_TYPE PoolType)
#define KeReleaseSpinLock(sl, irql)
FORCEINLINE ULONG ExpComputePartialHashForAddress(IN PVOID BaseAddress)
PPOOL_TRACKER_BIG_PAGES PoolBigPageTable
SIZE_T PoolBigPageTableHash
#define POOL_BIG_TABLE_ENTRY_FREE
#define RtlZeroMemory(Destination, Length)
#define ALIGN_UP_BY(size, align)