MmAllocatePagesForMdlEx

PMDL __stdcall MmAllocatePagesForMdlEx(SIZE_T TotalBytes, MEMORY_CACHING_TYPE CacheType, UINT32 Flags){
  UINT64 v3; 
  UINT64 IdealNode; 
  UINT64 v6; 
  MEMORY_CACHING_TYPE CacheTypea; 
  ULONG Flagsa; 
  LODWORD(v6) = Flagsa;
  LODWORD(IdealNode) = *(unsigned __int16 *)(*((_QWORD *)*(&KiProcessorBlock
                                                         + *((unsigned int *)KeGetCurrentThread() + 147))
                                             + 24)
                                           + 146i64);
  return MmAllocatePartitionNodePagesForMdlEx(
           (LARGE_INTEGER)TotalBytes,
           *(LARGE_INTEGER *)&CacheType,
           *(LARGE_INTEGER *)&Flags,
           v3,
           CacheTypea,
           IdealNode,
           v6,
           0i64);
}

Referenced by:

BgpFwAllocateMemory
EtwpAllocateTraceBuffer
HalpAllocateCommonBufferThin
IoReserveKsrPersistentMemory
PopGenerateMdl
PopGenerateScratchMdl
PpmHeteroInitializeHgsSupport
ResFwGetContext
SMKM_STORE::SmStAllocatePhysicalRegion