MmMapLockedRestartPages

VOID *__fastcall MmMapLockedRestartPages(_MDL *MemoryDescriptorList, INT64 a2, INT64 a3, UINT64 a4){
  _MMPTE *v5; 
  signed int AnyMultiplexedVm; 
  _MMPTE *v7; 
  _MEMORY_CACHING_TYPE v8; 

  if( (a3 & 0xBFFFFFFF) != 0 )
    return 0i64;
  if( (a4 & 0xFFFFFFFFFFDFFFFFui64) != 0 )
    return 0i64;
  v5 = MiReserveDriverPtes(
         (((LODWORD(MemoryDescriptorList->StartVa) + MemoryDescriptorList->ByteOffset) & 0xFFF)
        + (unsigned __int64)MemoryDescriptorList->ByteCount
        + 4095) >> 12,
         a4);
  if( !v5 )
    return 0i64;
  AnyMultiplexedVm = (unsigned int)MiGetAnyMultiplexedVm(MiWorkingSetTypeSystemViews, v5);
  return MiMapMdlCommon(MemoryDescriptorList, v7, (_MEMORY_CACHING_TYPE)AnyMultiplexedVm, v8);
}

Referenced by:

No references.