#include "mi.h"
Go to the source code of this file.
Functions | |
ULONG | MiLookupWsleHashIndex (IN ULONG_PTR WsleEntry, IN PMMWSL WorkingSetList) |
VOID | MiCheckWsleHash (IN PMMWSL WorkingSetList) |
VOID FASTCALL | MiInsertWsle (IN WSLE_NUMBER Entry, IN PMMWSL WorkingSetList) |
WSLE_NUMBER FASTCALL | MiLocateWsle (IN PVOID VirtualAddress, IN PMMWSL WorkingSetList, IN WSLE_NUMBER WsPfnIndex) |
VOID FASTCALL | MiRemoveWsle (IN WSLE_NUMBER Entry, IN PMMWSL WorkingSetList) |
VOID | MiSwapWslEntries (IN WSLE_NUMBER SwapEntry, IN WSLE_NUMBER Entry, IN PMMSUPPORT WsInfo) |
VOID | MiRemoveWsleFromFreeList (IN ULONG Entry, IN PMMWSLE Wsle, IN PMMWSL WorkingSetList) |
Variables | |
ULONG | MmSystemCodePage |
ULONG | MmSystemCachePage |
ULONG | MmPagedPoolPage |
ULONG | MmSystemDriverPage |
|
Referenced by MiGrowWsleHash(), and MiInsertWsle(). |
|
Definition at line 51 of file wstree.c. References _MMSUPPORT::AllowWorkingSetAdjustment, ASSERT, DbgPrint, _MMWSLENTRY::Direct, _MMWSLE::e1, _MMWSLE_HASH::Index, Index, KeQueryTickCount(), Key, _MMWSLE_HASH::Key, LOCK_EXPANSION_IF_ALPHA, _MMWSLE::Long, MI_WSLE_HASH, MiCheckWsleHash(), MiFreeWsle(), MiGetPteAddress, MM_DBG_PTE_UPDATE, MM_GROW_WSLE_HASH, MmSessionSpace, MmSystemCacheWorkingSetList, MmSystemCacheWs, MmWorkingSetList, NULL, PAGE_ALIGN, PAGE_SIZE, PERFINFO_GET_PAGE_INFO, PERFINFO_LOG_WS_REMOVAL, PERFINFO_PAGE_INFO_DECL, PsGetCurrentProcess, Size, TickCount(), TRUE, _MMSUPPORT::u, _MMWSLE::u1, UNLOCK_EXPANSION_IF_ALPHA, _MMWSLENTRY::Valid, _MMWSLE::VirtualAddress, _MM_SESSION_SPACE::Vm, and WSLE_NUMBER. Referenced by MiRemoveWorkingSetPages(), and MiUpdateWsle().
|
|
Definition at line 248 of file wstree.c. References ASSERT, _MMWSLE_HASH::Index, KeBugCheckEx(), _MMWSLE_HASH::Key, MI_GET_WORKING_SET_FROM_PTE, MI_MAXIMUM_PTE_WORKING_SET_INDEX, MI_WSLE_HASH, MiGetPteAddress, PAGE_ALIGN, _MMPTE::u, _MMWSLE::u1, _MMWSLE::VirtualAddress, and WSLE_NUMBER. Referenced by MiAllocatePoolPages(), MiCloneProcessAddressSpace(), MiCopyOnWrite(), MiDecommitPages(), MiDeleteAddressesInWorkingSet(), MiDeletePte(), MiDeleteSystemPagableVm(), MiGetPageProtection(), MiLockCode(), MiRemoveMappedPtes(), MiRemovePageFromWorkingSet(), MiSessionCommitPageTables(), MiSessionCopyOnWrite(), MiSetProtectionOnSection(), MmUnmapViewInSystemCache(), NtLockVirtualMemory(), and NtUnlockVirtualMemory().
|
|
Definition at line 765 of file wstree.c. References KeBugCheckEx(), _MMWSLE_HASH::Key, MI_WSLE_HASH, and PAGE_SIZE. Referenced by MiSwapWslEntries().
|
|
Definition at line 464 of file wstree.c. References ASSERT, DbgPrint, _MMWSLE::e1, KeBugCheckEx(), _MMWSLE_HASH::Key, _MMWSLE::Long, MI_IS_SYSTEM_CACHE_ADDRESS, MI_WSLE_HASH, MiDumpWsl(), MM_DBG_DUMP_WSL, MM_DBG_PTE_UPDATE, MM_PAGED_POOL_START, MmNonPagedSystemStart, MmPagedPoolPage, MmSystemCachePage, MmSystemCacheStart, MmSystemCacheWorkingSetList, MmSystemCodePage, MmSystemDriverPage, PAGE_ALIGN, _MMWSLE::u1, _MMWSLENTRY::Valid, and _MMWSLE::VirtualAddress. Referenced by MiDecommitPages(), MiDeletePte(), MiDeleteSystemPagableVm(), MiFreeWsle(), MiLockCode(), MiRemoveMappedPtes(), MiRemovePageFromWorkingSet(), MiRemoveWorkingSetPages(), and MmUnmapViewInSystemCache().
|
|
Definition at line 799 of file wstree.c. References ASSERT, MM_FREE_WSLE_SHIFT, WSLE_NULL_INDEX, and WSLE_NUMBER. Referenced by MiSwapWslEntries().
|
|
Definition at line 576 of file wstree.c. References ASSERT, _MMWSL::FirstFree, _MMWSL::HashTable, _MMWSLE_HASH::Index, _MMWSL::LastInitializedWsle, LOCK_PFN, MI_PFN_ELEMENT, MI_SET_PTE_IN_WORKING_SET, MiGetPteAddress, MiLookupWsleHashIndex(), MiRemoveWsleFromFreeList(), MM_FREE_WSLE_SHIFT, _MMPTE::u, _MMPFN::u1, _MMWSLE::u1, UNLOCK_PFN, _MMWSL::Wsle, WSLE_NULL_INDEX, and WSLE_NUMBER. Referenced by MiAddWorkingSetPage(), MiAddWsleHash(), MiAllocatePoolPages(), MiDecommitPages(), MiDeleteAddressesInWorkingSet(), MiDeletePte(), MiDeleteSystemPagableVm(), MiLockCode(), MiRemovePageFromWorkingSet(), MiSessionCommitPageTables(), MiUpdateWsle(), NtLockVirtualMemory(), and NtUnlockVirtualMemory().
|
|
|
|
|
|
|
|
|