SmKmUnlockMdl
VOID __fastcall SmKmUnlockMdl(MDL *MemoryDescriptorList, UINT64 a2, INT64 a3){
if( (MemoryDescriptorList->MdlFlags & 1) != 0 )
{
if( a2 )
SmFpFree(a2, 5i64, a3, (INT64)MemoryDescriptorList);
else
MmUnmapLockedPages(MemoryDescriptorList->MappedSystemVa, MemoryDescriptorList);
}
if( MemoryDescriptorList->Next )
{
SmFpFree(a2, 4i64, a3, (INT64)MemoryDescriptorList->Next);
MemoryDescriptorList->Next = 0i64;
}
MiUnlockStoreLockedPages(MemoryDescriptorList, a2);
}Referenced by:
SMKM_STORE::SmStUnmapVirtualRegion
SmKmStoreHelperCommandCleanup
SmKmStoreHelperCommandProcess