#include "mi.h"
Go to the source code of this file.
Functions | |
VOID | MiInsertVad (IN PMMVAD Vad) |
VOID | MiRemoveVad (IN PMMVAD Vad) |
PMMVAD FASTCALL | MiLocateAddress (IN PVOID VirtualAddress) |
PVOID | MiFindEmptyAddressRange (IN SIZE_T SizeOfRange, IN ULONG_PTR Alignment, IN ULONG QuickCheck) |
|
Definition at line 431 of file vadtree.c. References _MMVAD::EndingVpn, MI_ROUND_TO_SIZE, MI_VPN_TO_VA, MI_VPN_TO_VA_ENDING, MiFindEmptyAddressRangeInTree(), MiGetNextVad, NULL, PsGetCurrentProcess, _MMVAD::StartingVpn, _EPROCESS::VadFreeHint, and _EPROCESS::VadRoot. Referenced by MiMapLockedPagesInUserSpace(), MiMapViewOfDataSection(), MiMapViewOfImageSection(), MiMapViewOfPhysicalSection(), and NtAllocateVirtualMemory().
|
|
Definition at line 30 of file vadtree.c. References ASSERT, _EPROCESS::CommitCharge, _EPROCESS::CommitChargeLimit, _EPROCESS::CommitChargePeak, _MMWSL::CommittedPageTables, EXCEPTION_EXECUTE_HANDLER, ExRaiseStatus(), FALSE, _EPROCESS::Job, _EPROCESS::JobStatus, MI_CHECK_BIT, MI_SET_BIT, MI_VA_TO_VPN, MI_VPN_TO_VA, MiChargeCommitment(), MiChargePageFileQuota(), MiGetPpePdeOffset, MiInsertNode(), MiReturnPageFileQuota(), MM_DBG_COMMIT_INSERT_VAD, MM_MAX_COMMIT, MM_TRACK_COMMIT, MMVAD, MmWorkingSetList, NonPagedPool, NULL, _MMWSL::NumberOfCommittedPageTables, PagedPool, PDE_PER_PAGE, PS_JOB_STATUS_REPORT_COMMIT_CHANGES, PsChangeJobMemoryUsage(), PsChargePoolQuota(), PsGetCurrentProcess, PsReportProcessMemoryLimitViolation(), PsReturnPoolQuota(), PTE_SHIFT, TRUE, _EPROCESS::VadFreeHint, _EPROCESS::VadHint, _EPROCESS::VadRoot, and X64K. Referenced by MiCloneProcessAddressSpace(), MiCreatePebOrTeb(), MiMapLockedPagesInUserSpace(), MiMapViewOfDataSection(), MiMapViewOfImageSection(), MiMapViewOfPhysicalSection(), MmInitializeProcessAddressSpace(), NtAllocateVirtualMemory(), and NtFreeVirtualMemory().
|
|
Definition at line 380 of file vadtree.c. References MI_VA_TO_VPN, MiLocateAddressInTree(), NULL, PsGetCurrentProcess, _EPROCESS::VadHint, and _EPROCESS::VadRoot. Referenced by MiCheckVirtualAddress(), MiUnmapLockedPagesInUserSpace(), MmDeleteTeb(), MmFlushVirtualMemory(), MmMapUserAddressesToPage(), MmSecureVirtualMemory(), MmSetBankedSection(), MmUnmapViewOfSection(), MmUnsecureVirtualMemory(), NtAreMappedFilesTheSame(), NtFreeVirtualMemory(), NtLockVirtualMemory(), and NtUnlockVirtualMemory().
|
|
Definition at line 256 of file vadtree.c. References BYTES_TO_PAGES, _EPROCESS::CommitCharge, ExFreePool(), _EPROCESS::JobStatus, _MMSECURE_ENTRY::List, List, MiGetPreviousVad, MiRemoveNode(), MiReturnCommitment(), MiReturnPageFileQuota(), MM_DBG_COMMIT_RETURN_VAD, MM_MAX_COMMIT, MM_TRACK_COMMIT, NonPagedPool, NULL, PagedPool, PS_JOB_STATUS_REPORT_COMMIT_CHANGES, PsChangeJobMemoryUsage(), PsGetCurrentProcess, PsReturnPoolQuota(), PTE_SHIFT, _EPROCESS::VadFreeHint, _EPROCESS::VadHint, and _EPROCESS::VadRoot. Referenced by MiUnmapLockedPagesInUserSpace(), MmCleanProcessAddressSpace(), MmDeleteTeb(), MmUnmapViewOfSection(), NtAllocateVirtualMemory(), and NtFreeVirtualMemory().
|