25#ifndef _FXREQUESTBUFFERKM_HPP_
26#define _FXREQUESTBUFFERKM_HPP_
53 size_t sizeofCurrentMdl;
69 if (*ReuseMdl && sizeofCurrentMdl <= *
SizeOfMdl) {
80 if (*MdlToFree !=
NULL) {
static ULONG SizeOfMdl(VOID)
VOID __inline FxMdlFree(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in PMDL Mdl)
PMDL FORCEINLINE FxMdlAllocate(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in FxObject *Owner, __in PVOID VirtualAddress, __in ULONG Length, __in BOOLEAN SecondaryBuffer, __in BOOLEAN ChargeQuota)
SIZE_T NTAPI MmSizeOfMdl(IN PVOID Base, IN SIZE_T Length)
#define UNREFERENCED_PARAMETER(P)
_In_ ULONG _In_ ULONG _In_ ULONG Length
union FxRequestBuffer::@4814 u
NTSTATUS GetOrAllocateMdlWorker(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __deref_out PMDL *Mdl, __in BOOLEAN *ReuseMdl, __in LONG Length, __in PVOID Buffer, __inout size_t *SizeOfMdl, __in BOOLEAN UnlockWhenFreed, __deref_out_opt PMDL *MdlToFree)
VOID SetMdl(__in PMDL Mdl, __in ULONG Length)
#define STATUS_INSUFFICIENT_RESOURCES
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
#define MmPrepareMdlForReuse(_Mdl)