#include "mi.h"
Go to the source code of this file.
Functions | |
NTSTATUS | NtUnmapViewOfSection (IN HANDLE ProcessHandle, IN PVOID BaseAddress) |
NTSTATUS | MmUnmapViewOfSection (IN PEPROCESS Process, IN PVOID BaseAddress) |
VOID | MiRemoveMappedView (IN PEPROCESS CurrentProcess, IN PMMVAD Vad) |
VOID | MiPurgeImageSection (IN PCONTROL_AREA ControlArea, IN PEPROCESS Process OPTIONAL) |
|
Definition at line 541 of file umapview.c. References APC_LEVEL, ASSERT, _SUBSECTION::ControlArea, DbgPrint, FALSE, FreePageList, KeDelayExecutionThread(), KernelMode, LOCK_PFN, MI_GET_PAGE_FRAME_FROM_TRANSITION_PTE, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MI_WRITE_INVALID_PTE, MiDecrementShareCount(), MiGetSubsectionAddressForPte, MiInsertPageInList(), MiIsPteOnPdeBoundary, MiMakeSystemAddressValidPfnWs(), MiReleasePageFileSpace(), MiUnlinkPageFromList(), MmPageLocationList, MMSECTOR_SHIFT, MmShortTime, NoAccessPte, _SUBSECTION::NumberOfFullSectors, _MMPFN::OriginalPte, PAGE_SIZE, _MMPFN::PteFrame, _SUBSECTION::PtesInSubsection, _SUBSECTION::StartingSector, _SUBSECTION::SubsectionBase, _MMPTE::u, _SUBSECTION::u, _MMPFN::u3, and UNLOCK_PFN. Referenced by MiCheckControlArea().
|
|
Definition at line 265 of file umapview.c. References ASSERT, _MMPTE_FLUSH_LIST::Count, ExAcquireFastMutexUnsafe(), ExFreePool(), ExReleaseFastMutexUnsafe(), FALSE, KeFlushEntireTb(), LOCK_AWE, LOCK_PFN, MI_DECREMENT_USED_PTES_BY_HANDLE, MI_GET_PAGE_FRAME_FROM_PTE, MI_GET_USED_PTES_FROM_HANDLE, MI_GET_USED_PTES_HANDLE, MI_VPN_TO_VA, MI_VPN_TO_VA_ENDING, MI_WRITE_INVALID_PTE, MiCheckControlArea(), MiDecrementShareAndValidCount, MiDeletePte(), MiDeleteVirtualAddresses(), MiGetPdeAddress, MiGetPteAddress, MiGetVirtualAddressMappedByPte, MiIsPteOnPdeBoundary, MM_MAXIMUM_FLUSH_COUNT, MmSectionBasedMutex, NULL, _CONTROL_AREA::NumberOfMappedViews, _CONTROL_AREA::NumberOfUserReferences, PMMEXTEND_INFO, TRUE, UNLOCK_AWE, UNLOCK_PFN, _MI_PHYSICAL_VIEW::Vad, and ZeroPte. Referenced by MmCleanProcessAddressSpace(), and MmUnmapViewOfSection().
|
|
Definition at line 90 of file umapview.c. References DbgkUnMapViewOfSection(), _MMVAD::EndingVpn, ExFreePool(), FALSE, KeAttachProcess(), KeDetachProcess(), LOCK_WS_AND_ADDRESS_SPACE, LOCK_WS_UNSAFE, MI_VPN_TO_VA, MI_VPN_TO_VA_ENDING, MiCheckSecuredVad(), MiDeleteFor4kPage(), MiGetNextVad, MiGetPreviousVad, MiLocateAddress(), MiRemoveMappedView(), MiRemoveVad(), MiReturnPageTablePageCommitment(), MM_SECURE_DELETE_CHECK, NT_SUCCESS, NTSTATUS(), NULL, PAGE_SHIFT, PAGE_SIZE, PAGED_CODE, PsGetCurrentProcess, _MMVAD::StartingVpn, TRUE, _MMVAD::u, UNLOCK_WS_AND_ADDRESS_SPACE, and UNLOCK_WS_UNSAFE. Referenced by CommitReadOnlyMemory(), FreeView(), LpcpDeletePort(), MiGetWritablePagesInSection(), MiLoadImageSection(), NtUnmapViewOfSection(), and UserCreateHeap().
|
|
Definition at line 33 of file umapview.c. References KPROCESSOR_MODE, MmUnmapViewOfSection(), NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, PsProcessType, Status, and UserMode. Referenced by CreateConsoleBitmap(), FreeConsoleBitmap(), LdrFlushAlternateResourceModules(), LdrLoadAlternateResourceModule(), LdrpCheckForLoadedDll(), LdrpMapDll(), LdrUnloadAlternateResourceModule(), LdrUnloadDll(), LdrVerifyImageMatchesChecksum(), PropertiesDlgShow(), PropertiesUpdate(), RtlCreateQueryDebugBuffer(), RtlDestroyQueryDebugBuffer(), RtlpChangeQueryDebugBufferTarget(), RtlpQueryProcessDebugInformationRemote(), SrvRegisterConsoleVDM(), and UnregisterVDM().
|