28#include "fxobjectpch.hpp"
32#if defined(EVENT_TRACING)
33#include "wdfpoolkm.tmh"
97 pExtension = FxDriverGlobals->DebugExtension;
98 if (pExtension ==
NULL) {
113 ppNext = &pAllocated->
Next;
114 pAllocated = pAllocated->
Next;
117 if (pAllocated ==
NULL) {
124 if (pAllocated !=
NULL) {
129 *ppNext = pAllocated;
178 pExtension = FxDriverGlobals->DebugExtension;
179 if (pExtension ==
NULL) {
191 while (pAllocated !=
NULL) {
198 sizeof(pAllocated->
Info[
i]));
202 if (pAllocated->
Count == 0 &&
207 *ppNext = pAllocated->
Next;
224 ppNext = &pAllocated->
Next;
225 pAllocated = pAllocated->
Next;
230 if (found ==
FALSE) {
246 if (FxDriverGlobals->DebugExtension ==
NULL) {
252 for (
pCur = &FxDriverGlobals->DebugExtension->AllocatedMdls;
263 "PMDL 0x%p leaked, FxObject owner %p, Callers Address %p",
265 pCur->Info[
i].Caller);
#define __drv_maxIRQL(irql)
#define ExAllocatePoolWithTag(hernya, size, tag)
#define KeReleaseSpinLock(sl, irql)
#define KeAcquireSpinLock(sl, irql)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
FxVerifierDbgBreakPoint(pFxDriverGlobals)
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
_Out_writes_bytes_to_opt_ AbsoluteSecurityDescriptorSize PSECURITY_DESCRIPTOR _Inout_ PULONG _Out_writes_bytes_to_opt_ DaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ SaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ OwnerSize PSID Owner
_In_ ULONG _In_ ULONG _In_ ULONG Length
#define TRACE_LEVEL_ERROR
FxMdlDebugInfo Info[NUM_MDLS_IN_INFO]
struct FxAllocatedMdls * Next
FxAllocatedMdls AllocatedMdls
KSPIN_LOCK AllocatedMdlsLock
struct _SINGLE_LIST_ENTRY * Next
#define RtlZeroMemory(Destination, Length)
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL _In_ PVOID VirtualAddress
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
__in ULONG __in BOOLEAN SecondaryBuffer
__in ULONG __in BOOLEAN __in BOOLEAN ChargeQuota
VOID FxMdlDump(__in PFX_DRIVER_GLOBALS FxDriverGlobals)
PMDL FxMdlAllocateDebug(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in FxObject *Owner, __in PVOID VirtualAddress, __in ULONG Length, __in BOOLEAN SecondaryBuffer, __in BOOLEAN ChargeQuota, __in PVOID CallersAddress)
VOID FxMdlFreeDebug(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in PMDL Mdl)