VfFillAllocatePagesForMdl

VOID __stdcall VfFillAllocatePagesForMdl(MDL *Mdl, MEMORY_CACHING_TYPE CacheType, UINT64 Flags){
  unsigned int ByteCount; 
  void *MappedSystemVa; 
  unsigned int v6; 
  PVOID v7; 
  void *v8; 
  if( (Flags & 1) != 0 && CacheType == MmCached )
  {
    ByteCount = Mdl->ByteCount;
    MappedSystemVa = Mdl->MappedSystemVa;
    v6 = 4096;
    Mdl->ByteCount = 4096;
    v7 = MmMapLockedPagesSpecifyCache(Mdl, 0, MmCached, 0i64, 0, 0x40000010u);
    v8 = v7;
    if( v7 )
    {
      if( ByteCount < 0x1000 )
        v6 = ByteCount;
      VfFillAllocatedMemory(v7, v6);
      MmUnmapLockedPages(v8, Mdl);
      Mdl->MappedSystemVa = MappedSystemVa;
    }
    Mdl->ByteCount = ByteCount;
  }
}

Referenced by:

VerifierMmAllocateNodePagesForMdlEx
VerifierMmAllocatePagesForMdlEx