MmUnmapLockedRestartPages
VOID __fastcall MmUnmapLockedRestartPages(MDL *MemoryDescriptorList){
void *MappedSystemVa;
unsigned __int64 v3;
CHAR *AnyMultiplexedVm;
_MMPTE *PteAddress;
MappedSystemVa = MemoryDescriptorList->MappedSystemVa;
v3 = (((LODWORD(MemoryDescriptorList->StartVa) + MemoryDescriptorList->ByteOffset) & 0xFFF)
+ (unsigned __int64)MemoryDescriptorList->ByteCount
+ 4095) >> 12;
AnyMultiplexedVm = MiGetAnyMultiplexedVm(1i64);
MiUnmapMdlCommon((UINT64)MappedSystemVa, (INT64)AnyMultiplexedVm, 0i64, (INT64)MemoryDescriptorList, v3);
MemoryDescriptorList->MdlFlags &= 0xFFDEu;
PteAddress = MiGetPteAddress(MappedSystemVa);
MiReleaseDriverPtes(0i64, PteAddress, (unsigned int)v3);
}Referenced by:
No references.