Go to the source code of this file.
Classes | |
struct | _PHYSICAL_MEMORY_RUN |
struct | _PHYSICAL_MEMORY_DESCRIPTOR |
struct | _MMINFO_COUNTERS |
struct | _MMPFNLIST |
struct | _PHYSICAL_MEMORY_RANGE |
Defines | |
#define | MAX_PHYSICAL_MEMORY_FRAGMENTS 20 |
#define | MM_ALLOCATION_GRANULARITY ((ULONG)0x10000) |
#define | MM_MAXIMUM_READ_CLUSTER_SIZE (15) |
#define | MM_MAXIMUM_DISK_IO_SIZE (0x10000) |
#define | ROUND_TO_PAGES(Size) (((ULONG_PTR)(Size) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)) |
#define | BYTES_TO_PAGES(Size) |
#define | BYTE_OFFSET(Va) ((ULONG)((LONG_PTR)(Va) & (PAGE_SIZE - 1))) |
#define | PAGE_ALIGN(Va) ((PVOID)((ULONG_PTR)(Va) & ~(PAGE_SIZE - 1))) |
#define | ADDRESS_AND_SIZE_TO_SPAN_PAGES(Va, Size) |
#define | COMPUTE_PAGES_SPANNED(Va, Size) ((ULONG)((((ULONG_PTR)(Va) & (PAGE_SIZE -1)) + (Size) + (PAGE_SIZE - 1)) >> PAGE_SHIFT)) |
#define | IS_SYSTEM_ADDRESS(VA) ((VA) >= MM_SYSTEM_RANGE_START) |
#define | MmGetMdlPfnArray(Mdl) ((PPFN_NUMBER)(Mdl + 1)) |
#define | MmGetMdlVirtualAddress(Mdl) ((PVOID) ((PCHAR) ((Mdl)->StartVa) + (Mdl)->ByteOffset)) |
#define | MmGetMdlByteCount(Mdl) ((Mdl)->ByteCount) |
#define | MmGetMdlByteOffset(Mdl) ((Mdl)->ByteOffset) |
#define | MmGetMdlBaseVa(Mdl) ((Mdl)->StartVa) |
#define | MmIsRecursiveIoFault() |
#define | MmDisablePageFaultClustering(SavedState) |
#define | MmEnablePageFaultClustering(SavedState) |
#define | MmSavePageFaultReadAhead(Thread, SavedState) |
#define | MmSetPageFaultReadAhead(Thread, ReadAhead) |
#define | MmResetPageFaultReadAhead(Thread, SavedState) |
#define | NUMBER_OF_PAGE_LISTS 8 |
#define | MmEnoughMemoryForWrite() |
#define | MmInitializeMdl(MemoryDescriptorList, BaseVa, Length) |
#define | MmGetSystemAddressForMdlSafe(MDL, PRIORITY) |
#define | MmGetSystemAddressForMdl(MDL) |
#define | MmPrepareMdlForReuse(MDL) |
#define | MMNONPAGED_QUOTA_INCREASE (64*1024) |
#define | MMPAGED_QUOTA_INCREASE (512*1024) |
#define | MMNONPAGED_QUOTA_CHECK (256*1024) |
#define | MMPAGED_QUOTA_CHECK (4*1024*1024) |
#define | PERFINFO_ADDPOOLPAGE(CheckType, PoolIndex, Addr, PoolDesc) |
#define | PERFINFO_ADDTOWS(PageFrame, Address, Pid) |
#define | PERFINFO_BIGPOOLALLOC(Type, PTag, NumBytes, Addr) |
#define | PERFINFO_CM_CHECKCELLTYPE(Map) |
#define | PERFINFO_CM_CHECKCELLTYPE(Map) |
#define | PERFINFO_CM_HIVECELL_REFERENCE_FLAT(Hive, pcell, Cell) |
#define | PERFINFO_CM_HIVECELL_REFERENCE_PAGED(Hive, pcell, Cell, Type, Map) |
#define | PERFINFO_CONVERT_TO_GUI_THREAD(EThread) |
#define | PERFINFO_DECREFCNT(PageFrame, Flag, Type) |
#define | PERFINFO_DELETE_STACK(PointerPte, NumberOfPtes) |
#define | PERFINFO_DISPATCHFAULT_DECL() |
#define | PERFINFO_DRIVER_COMPLETIONROUTINE_CALL(irp, irpsp) |
#define | PERFINFO_DRIVER_COMPLETIONROUTINE_RETURN(irp, irpsp) |
#define | PERFINFO_DRIVER_INIT(pdo) |
#define | PERFINFO_DRIVER_INIT_COMPLETE(pdo) |
#define | PERFINFO_DRIVER_MAJORFUNCTION_CALL(irp, irpsp, pdo) |
#define | PERFINFO_DRIVER_MAJORFUNCTION_RETURN(irp, irpsp, pdo) |
#define | PERFINFO_EXALLOCATEPOOLWITHTAG_DECL() |
#define | PERFINFO_EXFREEPOOLWITHTAG_DECL() |
#define | PERFINFO_FREEPOOL(Addr) |
#define | PERFINFO_FREEPOOLPAGE(CheckType, PoolIndex, Addr, PoolDesc) |
#define | PERFINFO_GET_PAGE_INFO(PointerPte) |
#define | PERFINFO_GET_PAGE_INFO_REPLACEMENT(PointerPte) |
#define | PERFINFO_GET_PAGE_INFO_WITH_DECL(PointerPte) |
#define | PERFINFO_GROW_STACK(EThread) |
#define | PERFINFO_HARDFAULT(Address, InpageSupport) |
#define | PERFINFO_HARDFAULT_INFO(ProtoPte) |
#define | PERFINFO_HARDFAULT_IOTIME() |
#define | PERFINFO_HIVECELL_REFERENCE_FLAT(Hive, pcell, Cell) |
#define | PERFINFO_HIVECELL_REFERENCE_PAGED(Hive, pcell, Cell, Type, Map) |
#define | PERFINFO_IMAGE_LOAD(LdrDataTableEntry) |
#define | PERFINFO_IMAGE_UNLOAD(Address) |
#define | PERFINFO_INIT_POOLRANGE(PoolStart, PoolPages) |
#define | PERFINFO_INIT_PERFMEMTABLE(LoaderBlock) |
#define | PERFINFO_INIT_TRACEFLAGS(OptionString, SpecificOption) |
#define | PERFINFO_INSERTINLIST(Page, ListHead) |
#define | PERFINFO_INSERT_FRONT_STANDBY(Page) |
#define | PERFINFO_LOG_MARK(PMARK) |
#define | PERFINFO_LOG_MARK_SPRINTF(PMARK, VARIABLE) |
#define | PERFINFO_LOG_WMI_TRACE_EVENT(PData, xLength) |
#define | PERFINFO_LOG_WMI_TRACE_KERNEL_EVENT(GroupType, PData, xLength, Thread) |
#define | PERFINFO_LOG_WMI_TRACE_LONG_EVENT(GroupType, PData, xCount, Thread) |
#define | PERFINFO_LOG_WS_REMOVAL(Type, WsInfo) |
#define | PERFINFO_LOG_WS_REPLACEMENT(WsInfo) |
#define | PERFINFO_MIH_DECL |
#define | PERFINFO_MMINIT_DECL |
#define | PERFINFO_MMINIT_START() |
#define | PERFINFO_MOD_PAGE_WRITER3() |
#define | PERFINFO_PAGE_INFO_DECL() |
#define | PERFINFO_PAGE_INFO_REPLACEMENT_DECL() |
#define | PERFINFO_POOLALLOC(Type, PTag, NumBytes) |
#define | PERFINFO_POOLALLOC_ADDR(Addr) |
#define | PERFINFO_POOL_ALLOC_COMMON(Type, PTag, NumBytes) |
#define | PERFINFO_PRIVATE_COPY_ON_WRITE(CopyFrom, PAGE_SIZE) |
#define | PERFINFO_PRIVATE_PAGE_DEMAND_ZERO(VirtualAddress) |
#define | PERFINFO_PROCESS_CREATE(EProcess) |
#define | PERFINFO_PROCESS_DELETE(EProcess) |
#define | PERFINFO_DELETE_PAGE(ppfn) |
#define | PERFINFO_REMOVEPAGE(PageIndex, LogType) |
#define | PERFINFO_SECTION_CREATE(ControlArea) |
#define | PERFINFO_SEGMENT_DELETE(FileName) |
#define | PERFINFO_SOFTFAULT(PageFrame, Address, Type) |
#define | PERFINFO_THREAD_CREATE(EThread, ITeb) |
#define | PERFINFO_THREAD_DELETE(EThread) |
#define | PERFINFO_UNLINKFREEPAGE(Index, Location) |
#define | PERFINFO_UNLINKPAGE(Index, Location) |
#define | PERFINFO_WSMANAGE_ACTUALTRIM(Trim) |
#define | PERFINFO_WSMANAGE_DECL() |
#define | PERFINFO_WSMANAGE_DUMPENTRIES() |
#define | PERFINFO_WSMANAGE_DUMPENTRIES_CLAIMS() |
#define | PERFINFO_WSMANAGE_DUMPENTRIES_FAULTS() |
#define | PERFINFO_WSMANAGE_DUMPWS(VmSupport, SampledAgeCounts) |
#define | PERFINFO_WSMANAGE_FINALACTION(TrimAction) |
#define | PERFINFO_WSMANAGE_GLOBAL_DECL |
#define | PERFINFO_WSMANAGE_LOGINFO_CLAIMS(TrimAction) |
#define | PERFINFO_WSMANAGE_LOGINFO_FAULTS(TrimAction) |
#define | PERFINFO_WSMANAGE_PROCESS_RESET(VmSupport) |
#define | PERFINFO_WSMANAGE_PROCESS_RESET(VmSupport) |
#define | PERFINFO_WSMANAGE_STARTLOG() |
#define | PERFINFO_WSMANAGE_STARTLOG_CLAIMS() |
#define | PERFINFO_WSMANAGE_STARTLOG_FAULTS() |
#define | PERFINFO_WSMANAGE_TOTRIM(Trim) |
#define | PERFINFO_WSMANAGE_TRIMACTION(TrimAction) |
#define | PERFINFO_WSMANAGE_TRIMEND_CLAIMS(Criteria) |
#define | PERFINFO_WSMANAGE_TRIMEND_FAULTS(Criteria) |
#define | PERFINFO_WSMANAGE_TRIMWS(Process, SessionSpace, VmSupport) |
#define | PERFINFO_WSMANAGE_TRIMWS_CLAIMINFO(VmSupport) |
#define | PERFINFO_WSMANAGE_TRIMWS_CLAIMINFO(VmSupport) |
#define | PERFINFO_WSMANAGE_WAITFORWRITER_CLAIMS() |
#define | PERFINFO_WSMANAGE_WAITFORWRITER_FAULTS() |
#define | PERFINFO_WSMANAGE_WILLTRIM(ReductionGoal, FreeGoal) |
#define | PERFINFO_WSMANAGE_WILLTRIM_CLAIMS(Criteria) |
#define | PERFINFO_WSMANAGE_WILLTRIM_FAULTS(Criteria) |
#define | PERFINFO_DO_PAGEFAULT_CLUSTERING() 1 |
Typedefs | |
typedef _PHYSICAL_MEMORY_RUN | PHYSICAL_MEMORY_RUN |
typedef _PHYSICAL_MEMORY_RUN * | PPHYSICAL_MEMORY_RUN |
typedef _PHYSICAL_MEMORY_DESCRIPTOR | PHYSICAL_MEMORY_DESCRIPTOR |
typedef _PHYSICAL_MEMORY_DESCRIPTOR * | PPHYSICAL_MEMORY_DESCRIPTOR |
typedef enum _MM_SYSTEM_SIZE | MM_SYSTEMSIZE |
typedef enum _LOCK_OPERATION | LOCK_OPERATION |
typedef _MMINFO_COUNTERS | MMINFO_COUNTERS |
typedef MMINFO_COUNTERS * | PMMINFO_COUNTERS |
typedef NTSTATUS(* | PKWIN32_CALLOUT )(IN PVOID Arg) |
typedef enum _MMLISTS | MMLISTS |
typedef _MMPFNLIST | MMPFNLIST |
typedef MMPFNLIST * | PMMPFNLIST |
typedef enum _MMFLUSH_TYPE | MMFLUSH_TYPE |
typedef enum _MM_PAGE_PRIORITY | MM_PAGE_PRIORITY |
typedef _PHYSICAL_MEMORY_RANGE | PHYSICAL_MEMORY_RANGE |
typedef _PHYSICAL_MEMORY_RANGE * | PPHYSICAL_MEMORY_RANGE |
typedef NTSTATUS(* | PMM_DLL_INITIALIZE )(IN PUNICODE_STRING RegistryPath) |
typedef NTSTATUS(* | PMM_DLL_UNLOAD )(VOID) |
typedef VOID(* | PBANKED_SECTION_ROUTINE )(IN ULONG ReadBank, IN ULONG WriteBank, IN PVOID Context) |
typedef VOID(FASTCALL * | PPAGE_FAULT_NOTIFY_ROUTINE )(IN NTSTATUS Status, IN PVOID VirtualAddress, IN PVOID TrapInformation) |
typedef VOID(FASTCALL * | PHARD_FAULT_NOTIFY_ROUTINE )(IN HANDLE FileObject, IN PVOID VirtualAddress) |
Enumerations | |
enum | _MM_SYSTEM_SIZE { MmSmallSystem, MmMediumSystem, MmLargeSystem } |
enum | _LOCK_OPERATION { IoReadAccess, IoWriteAccess, IoModifyAccess } |
enum | _MMLISTS { ZeroedPageList, FreePageList, StandbyPageList, ModifiedPageList, ModifiedNoWritePageList, BadPageList, ActiveAndValid, TransitionPage } |
enum | _MMFLUSH_TYPE { MmFlushForDelete, MmFlushForWrite } |
enum | _MM_PAGE_PRIORITY { LowPagePriority, NormalPagePriority = 16, HighPagePriority = 32 } |
Functions | |
NTKERNELAPI MM_SYSTEMSIZE | MmQuerySystemSize (VOID) |
NTKERNELAPI BOOLEAN | MmIsThisAnNtAsSystem (VOID) |
BOOLEAN | MmInitSystem (IN ULONG Phase, IN PLOADER_PARAMETER_BLOCK LoaderBlock, IN PPHYSICAL_MEMORY_DESCRIPTOR PhysicalMemoryBlock) |
VOID | MmInitializeMemoryLimits (IN PLOADER_PARAMETER_BLOCK LoaderBlock, IN PBOOLEAN IncludedType, OUT PPHYSICAL_MEMORY_DESCRIPTOR Memory) |
VOID | MmFreeLoaderBlock (IN PLOADER_PARAMETER_BLOCK LoaderBlock) |
VOID | MmEnablePAT (VOID) |
PVOID | MmAllocateIndependentPages (IN SIZE_T NumberOfBytes) |
BOOLEAN | MmSetPageProtection (IN PVOID VirtualAddress, IN SIZE_T NumberOfBytes, IN ULONG NewProtect) |
BOOLEAN | MmShutdownSystem (VOID) |
LOGICAL | MmAssignProcessToJob (IN PEPROCESS Process) |
LOGICAL | MmEnforceWorkingSetLimit (IN PMMSUPPORT WsInfo, IN LOGICAL Enable) |
NTSTATUS | MmSessionCreate (OUT PULONG SessionId) |
NTSTATUS | MmSessionDelete (IN ULONG SessionId) |
NTSTATUS | MmDispatchWin32Callout (IN PKWIN32_CALLOUT Function, IN PKWIN32_CALLOUT WorkerCallback OPTIONAL, IN PVOID Arg, IN PULONG SessionId OPTIONAL) |
VOID | MmSessionLeader (IN PEPROCESS Process) |
VOID | MmSessionSetUnloadAddress (IN PDRIVER_OBJECT pWin32KDevice) |
LOGICAL | MmResourcesAvailable (IN POOL_TYPE PoolType, IN SIZE_T NumberOfBytes, IN EX_POOL_PRIORITY Priority) |
PVOID | MiAllocatePoolPages (IN POOL_TYPE PoolType, IN SIZE_T SizeInBytes, IN ULONG IsLargeSessionAllocation) |
ULONG | MiFreePoolPages (IN PVOID StartingAddress) |
PVOID | MiSessionPoolVector (VOID) |
VOID | MiSessionPoolAllocated (IN PVOID VirtualAddress, IN SIZE_T NumberOfBytes, IN POOL_TYPE PoolType) |
VOID | MiSessionPoolFreed (IN PVOID VirtualAddress, IN SIZE_T NumberOfBytes, IN POOL_TYPE PoolType) |
POOL_TYPE | MmDeterminePoolType (IN PVOID VirtualAddress) |
LOGICAL | MmIsSystemAddressLocked (IN PVOID VirtualAddress) |
NTSTATUS | MmAccessFault (IN BOOLEAN StoreInstruction, IN PVOID VirtualAddress, IN KPROCESSOR_MODE PreviousMode, IN PVOID TrapInformation) |
BOOLEAN | MmCreateProcessAddressSpace (IN ULONG MinimumWorkingSetSize, IN PEPROCESS NewProcess, OUT PULONG_PTR DirectoryTableBase) |
NTSTATUS | MmInitializeProcessAddressSpace (IN PEPROCESS ProcessToInitialize, IN PEPROCESS ProcessToClone OPTIONAL, IN PVOID SectionToMap OPTIONAL, OUT PUNICODE_STRING *AuditName OPTIONAL) |
VOID | MmDeleteProcessAddressSpace (IN PEPROCESS Process) |
VOID | MmCleanProcessAddressSpace (VOID) |
VOID | MmCleanUserProcessAddressSpace (VOID) |
VOID | MmCleanVirtualAddressDescriptor (VOID) |
PVOID | MmCreateKernelStack (BOOLEAN LargeStack) |
VOID | MmDeleteKernelStack (IN PVOID PointerKernelStack, IN BOOLEAN LargeStack) |
NTKERNELAPI NTSTATUS | MmGrowKernelStack (IN PVOID CurrentStack) |
VOID | MmOutPageKernelStack (IN PKTHREAD Thread) |
VOID | MmInPageKernelStack (IN PKTHREAD Thread) |
VOID | MmOutSwapProcess (IN PKPROCESS Process) |
VOID | MmInSwapProcess (IN PKPROCESS Process) |
PTEB | MmCreateTeb (IN PEPROCESS TargetProcess, IN PINITIAL_TEB InitialTeb, IN PCLIENT_ID ClientId) |
PPEB | MmCreatePeb (IN PEPROCESS TargetProcess, IN PINITIAL_PEB InitialPeb) |
VOID | MmDeleteTeb (IN PEPROCESS TargetProcess, IN PVOID TebBase) |
VOID | MmAllowWorkingSetExpansion (VOID) |
NTKERNELAPI NTSTATUS | MmAdjustWorkingSetSize (IN SIZE_T WorkingSetMinimum, IN SIZE_T WorkingSetMaximum, IN ULONG SystemCache) |
VOID | MmAdjustPageFileQuota (IN ULONG NewPageFileQuota) |
VOID | MmWorkingSetManager (VOID) |
VOID | MmSetMemoryPriorityProcess (IN PEPROCESS Process, IN UCHAR MemoryPriority) |
NTSTATUS | MmLoadSystemImage (IN PUNICODE_STRING ImageFileName, IN PUNICODE_STRING NamePrefix OPTIONAL, IN PUNICODE_STRING LoadedBaseName OPTIONAL, IN BOOLEAN LoadInSessionSpace, OUT PVOID *Section, OUT PVOID *ImageBaseAddress) |
NTSTATUS | MmLoadAndLockSystemImage (IN PUNICODE_STRING ImageFileName, IN PUNICODE_STRING NamePrefix OPTIONAL, IN PUNICODE_STRING LoadedBaseName OPTIONAL, OUT PVOID *Section, OUT PVOID *ImageBaseAddress) |
VOID | MmFreeDriverInitialization (IN PVOID Section) |
NTSTATUS | MmUnloadSystemImage (IN PVOID Section) |
VOID | MmMakeKernelResourceSectionWritable (VOID) |
VOID | VerifierFreeTrackedPool (IN PVOID VirtualAddress, IN SIZE_T ChargedBytes, IN LOGICAL CheckType, IN LOGICAL SpecialPool) |
ULONG | MmSizeOfTriageInformation (VOID) |
ULONG | MmSizeOfUnloadedDriverInformation (VOID) |
VOID | MmWriteTriageInformation (IN PVOID) |
VOID | MmWriteUnloadedDriverInformation (IN PVOID) |
NTKERNELAPI NTSTATUS | MmCreateSection (OUT PVOID *SectionObject, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN PLARGE_INTEGER MaximumSize, IN ULONG SectionPageProtection, IN ULONG AllocationAttributes, IN HANDLE FileHandle OPTIONAL, IN PFILE_OBJECT File OPTIONAL) |
NTKERNELAPI NTSTATUS | MmMapViewOfSection (IN PVOID SectionToMap, IN PEPROCESS Process, IN OUT PVOID *CapturedBase, IN ULONG_PTR ZeroBits, IN SIZE_T CommitSize, IN OUT PLARGE_INTEGER SectionOffset, IN OUT PSIZE_T CapturedViewSize, IN SECTION_INHERIT InheritDisposition, IN ULONG AllocationType, IN ULONG Protect) |
NTKERNELAPI NTSTATUS | MmUnmapViewOfSection (IN PEPROCESS Process, IN PVOID BaseAddress) |
BOOLEAN | MmForceSectionClosed (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN BOOLEAN DelayClose) |
NTSTATUS | MmGetFileNameForSection (IN HANDLE Section, OUT PSTRING FileName) |
NTSTATUS | MmAddVerifierThunks (IN PVOID ThunkBuffer, IN ULONG ThunkBufferSize) |
NTSTATUS | MmSetVerifierInformation (IN OUT PVOID SystemInformation, IN ULONG SystemInformationLength) |
NTSTATUS | MmGetVerifierInformation (OUT PVOID SystemInformation, IN ULONG SystemInformationLength, OUT PULONG Length) |
NTSTATUS | MmGetPageFileInformation (OUT PVOID SystemInformation, IN ULONG SystemInformationLength, OUT PULONG Length) |
NTSTATUS | MmExtendSection (IN PVOID SectionToExtend, IN OUT PLARGE_INTEGER NewSectionSize, IN ULONG IgnoreFileSizeChecking) |
NTSTATUS | MmFlushVirtualMemory (IN PEPROCESS Process, IN OUT PVOID *BaseAddress, IN OUT PSIZE_T RegionSize, OUT PIO_STATUS_BLOCK IoStatus) |
NTSTATUS | MmMapViewInSystemCache (IN PVOID SectionToMap, OUT PVOID *CapturedBase, IN OUT PLARGE_INTEGER SectionOffset, IN OUT PULONG CapturedViewSize) |
VOID | MmUnmapViewInSystemCache (IN PVOID BaseAddress, IN PVOID SectionToUnmap, IN ULONG AddToFront) |
BOOLEAN | MmPurgeSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN PLARGE_INTEGER Offset OPTIONAL, IN SIZE_T RegionSize, IN ULONG IgnoreCacheViews) |
NTSTATUS | MmFlushSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN PLARGE_INTEGER Offset OPTIONAL, IN SIZE_T RegionSize, OUT PIO_STATUS_BLOCK IoStatus, IN ULONG AcquireFile) |
NTSTATUS | MmGetCrashDumpInformation (IN PSYSTEM_CRASH_DUMP_INFORMATION CrashInfo) |
NTSTATUS | MmGetCrashDumpStateInformation (IN PSYSTEM_CRASH_STATE_INFORMATION CrashInfo) |
BOOLEAN | MmFlushImageSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN MMFLUSH_TYPE FlushType) |
BOOLEAN | MmCanFileBeTruncated (IN PSECTION_OBJECT_POINTERS SectionPointer, IN PLARGE_INTEGER NewFileSize) |
BOOLEAN | MmDisableModifiedWriteOfSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer) |
VOID | MmPurgeWorkingSet (IN PEPROCESS Process, IN PVOID BaseAddress, IN SIZE_T RegionSize) |
BOOLEAN | MmSetAddressRangeModified (IN PVOID Address, IN SIZE_T Length) |
BOOLEAN | MmCheckCachedPageState (IN PVOID Address, IN BOOLEAN SetToZero) |
NTSTATUS | MmCopyToCachedPage (IN PVOID Address, IN PVOID UserBuffer, IN ULONG Offset, IN SIZE_T CountInBytes, IN BOOLEAN DontZero) |
VOID | MmUnlockCachedPage (IN PVOID AddressInCache) |
PVOID | MmDbgReadCheck (IN PVOID VirtualAddress) |
PVOID | MmDbgWriteCheck (IN PVOID VirtualAddress, IN PHARDWARE_PTE Opaque) |
VOID | MmDbgReleaseAddress (IN PVOID VirtualAddress, IN PHARDWARE_PTE Opaque) |
PVOID64 | MmDbgReadCheck64 (IN PVOID64 VirtualAddress) |
PVOID64 | MmDbgWriteCheck64 (IN PVOID64 VirtualAddress) |
PVOID64 | MmDbgTranslatePhysicalAddress64 (IN PHYSICAL_ADDRESS PhysicalAddress) |
VOID | MmHibernateInformation (IN PVOID MemoryMap, OUT PULONG_PTR HiberVa, OUT PPHYSICAL_ADDRESS HiberPte) |
NTKERNELAPI VOID | MmProbeAndLockProcessPages (IN OUT PMDL MemoryDescriptorList, IN PEPROCESS Process, IN KPROCESSOR_MODE AccessMode, IN LOCK_OPERATION Operation) |
NTKERNELAPI VOID | MmProbeAndLockPages (IN OUT PMDL MemoryDescriptorList, IN KPROCESSOR_MODE AccessMode, IN LOCK_OPERATION Operation) |
NTKERNELAPI VOID | MmUnlockPages (IN PMDL MemoryDescriptorList) |
NTKERNELAPI VOID | MmBuildMdlForNonPagedPool (IN OUT PMDL MemoryDescriptorList) |
NTKERNELAPI PVOID | MmMapLockedPages (IN PMDL MemoryDescriptorList, IN KPROCESSOR_MODE AccessMode) |
NTKERNELAPI PVOID | MmGetSystemRoutineAddress (IN PUNICODE_STRING SystemRoutineName) |
NTKERNELAPI NTSTATUS | MmMapUserAddressesToPage (IN PVOID BaseAddress, IN SIZE_T NumberOfBytes, IN PVOID PageAddress) |
NTKERNELAPI PVOID | MmMapLockedPagesSpecifyCache (IN PMDL MemoryDescriptorList, IN KPROCESSOR_MODE AccessMode, IN MEMORY_CACHING_TYPE CacheType, IN PVOID BaseAddress, IN ULONG BugCheckOnFailure, IN MM_PAGE_PRIORITY Priority) |
NTKERNELAPI VOID | MmUnmapLockedPages (IN PVOID BaseAddress, IN PMDL MemoryDescriptorList) |
NTKERNELAPI NTSTATUS | MmAddPhysicalMemory (IN PPHYSICAL_ADDRESS StartAddress, IN OUT PLARGE_INTEGER NumberOfBytes) |
NTKERNELAPI NTSTATUS | MmRemovePhysicalMemory (IN PPHYSICAL_ADDRESS StartAddress, IN OUT PLARGE_INTEGER NumberOfBytes) |
NTKERNELAPI PPHYSICAL_MEMORY_RANGE | MmGetPhysicalMemoryRanges (VOID) |
NTKERNELAPI PMDL | MmAllocatePagesForMdl (IN PHYSICAL_ADDRESS LowAddress, IN PHYSICAL_ADDRESS HighAddress, IN PHYSICAL_ADDRESS SkipBytes, IN SIZE_T TotalBytes) |
NTKERNELAPI VOID | MmFreePagesFromMdl (IN PMDL MemoryDescriptorList) |
NTKERNELAPI PVOID | MmMapIoSpace (IN PHYSICAL_ADDRESS PhysicalAddress, IN SIZE_T NumberOfBytes, IN MEMORY_CACHING_TYPE CacheType) |
NTKERNELAPI VOID | MmUnmapIoSpace (IN PVOID BaseAddress, IN SIZE_T NumberOfBytes) |
NTKERNELAPI VOID | MmProbeAndLockSelectedPages (IN OUT PMDL MemoryDescriptorList, IN PFILE_SEGMENT_ELEMENT SegmentArray, IN KPROCESSOR_MODE AccessMode, IN LOCK_OPERATION Operation) |
NTKERNELAPI PVOID | MmMapVideoDisplay (IN PHYSICAL_ADDRESS PhysicalAddress, IN SIZE_T NumberOfBytes, IN MEMORY_CACHING_TYPE CacheType) |
NTKERNELAPI VOID | MmUnmapVideoDisplay (IN PVOID BaseAddress, IN SIZE_T NumberOfBytes) |
NTKERNELAPI PHYSICAL_ADDRESS | MmGetPhysicalAddress (IN PVOID BaseAddress) |
NTKERNELAPI PVOID | MmGetVirtualForPhysical (IN PHYSICAL_ADDRESS PhysicalAddress) |
NTKERNELAPI PVOID | MmAllocateContiguousMemory (IN SIZE_T NumberOfBytes, IN PHYSICAL_ADDRESS HighestAcceptableAddress) |
NTKERNELAPI PVOID | MmAllocateContiguousMemorySpecifyCache (IN SIZE_T NumberOfBytes, IN PHYSICAL_ADDRESS LowestAcceptableAddress, IN PHYSICAL_ADDRESS HighestAcceptableAddress, IN PHYSICAL_ADDRESS BoundaryAddressMultiple OPTIONAL, IN MEMORY_CACHING_TYPE CacheType) |
NTKERNELAPI VOID | MmFreeContiguousMemory (IN PVOID BaseAddress) |
NTKERNELAPI VOID | MmFreeContiguousMemorySpecifyCache (IN PVOID BaseAddress, IN SIZE_T NumberOfBytes, IN MEMORY_CACHING_TYPE CacheType) |
NTKERNELAPI ULONG | MmGatherMemoryForHibernate (IN PMDL Mdl, IN BOOLEAN Wait) |
NTKERNELAPI VOID | MmReturnMemoryForHibernate (IN PMDL Mdl) |
VOID | MmReleaseDumpAddresses (IN PFN_NUMBER Pages) |
NTKERNELAPI PVOID | MmAllocateNonCachedMemory (IN SIZE_T NumberOfBytes) |
NTKERNELAPI VOID | MmFreeNonCachedMemory (IN PVOID BaseAddress, IN SIZE_T NumberOfBytes) |
NTKERNELAPI BOOLEAN | MmIsAddressValid (IN PVOID VirtualAddress) |
NTKERNELAPI BOOLEAN | MmIsNonPagedSystemAddressValid (IN PVOID VirtualAddress) |
NTKERNELAPI SIZE_T | MmSizeOfMdl (IN PVOID Base, IN SIZE_T Length) |
NTKERNELAPI PMDL | MmCreateMdl (IN PMDL MemoryDescriptorList OPTIONAL, IN PVOID Base, IN SIZE_T Length) |
NTKERNELAPI PVOID | MmLockPagableDataSection (IN PVOID AddressWithinSection) |
NTKERNELAPI VOID | MmLockPagableSectionByHandle (IN PVOID ImageSectionHandle) |
NTKERNELAPI VOID | MmLockPagedPool (IN PVOID Address, IN SIZE_T Size) |
NTKERNELAPI VOID | MmUnlockPagedPool (IN PVOID Address, IN SIZE_T Size) |
NTKERNELAPI VOID | MmResetDriverPaging (IN PVOID AddressWithinSection) |
NTKERNELAPI PVOID | MmPageEntireDriver (IN PVOID AddressWithinSection) |
NTKERNELAPI VOID | MmUnlockPagableImageSection (IN PVOID ImageSectionHandle) |
NTKERNELAPI HANDLE | MmSecureVirtualMemory (IN PVOID Address, IN SIZE_T Size, IN ULONG ProbeMode) |
NTKERNELAPI VOID | MmUnsecureVirtualMemory (IN HANDLE SecureHandle) |
NTKERNELAPI NTSTATUS | MmMapViewInSystemSpace (IN PVOID Section, OUT PVOID *MappedBase, IN PSIZE_T ViewSize) |
NTKERNELAPI NTSTATUS | MmUnmapViewInSystemSpace (IN PVOID MappedBase) |
NTKERNELAPI NTSTATUS | MmMapViewInSessionSpace (IN PVOID Section, OUT PVOID *MappedBase, IN OUT PSIZE_T ViewSize) |
NTKERNELAPI NTSTATUS | MmUnmapViewInSessionSpace (IN PVOID MappedBase) |
PVOID | MmAllocateSpecialPool (IN SIZE_T NumberOfBytes, IN ULONG Tag, IN POOL_TYPE Type, IN ULONG SpecialPoolType) |
VOID | MmFreeSpecialPool (IN PVOID P) |
LOGICAL | MmSetSpecialPool (IN LOGICAL Enable) |
LOGICAL | MmProtectSpecialPool (IN PVOID VirtualAddress, IN ULONG NewProtect) |
LOGICAL | MmIsSpecialPoolAddressFree (IN PVOID VirtualAddress) |
SIZE_T | MmQuerySpecialPoolBlockSize (IN PVOID P) |
LOGICAL | MmIsHydraAddress (IN PVOID VirtualAddress) |
PUNICODE_STRING | MmLocateUnloadedDriver (IN PVOID VirtualAddress) |
NTKERNELAPI LOGICAL | MmIsDriverVerifying (IN struct _DRIVER_OBJECT *DriverObject) |
LOGICAL | MmTrimAllSystemPagableMemory (IN LOGICAL PurgeTransition) |
BOOLEAN | MmRaisePoolQuota (IN POOL_TYPE PoolType, IN SIZE_T OldQuotaLimit, OUT PSIZE_T NewQuotaLimit) |
VOID | MmReturnPoolQuota (IN POOL_TYPE PoolType, IN SIZE_T ReturnedQuota) |
VOID | MmZeroPageThread (VOID) |
NTSTATUS | MmCopyVirtualMemory (IN PEPROCESS FromProcess, IN PVOID FromAddress, IN PEPROCESS ToProcess, OUT PVOID ToAddress, IN ULONG BufferSize, IN KPROCESSOR_MODE PreviousMode, OUT PULONG NumberOfBytesCopied) |
NTSTATUS | MmGetSectionRange (IN PVOID AddressWithinSection, OUT PVOID *StartingSectionAddress, OUT PULONG SizeofSection) |
VOID | MmMapMemoryDumpMdl (IN OUT PMDL MemoryDumpMdl) |
NTSTATUS | MmSetBankedSection (IN HANDLE ProcessHandle, IN PVOID VirtualAddress, IN ULONG BankLength, IN BOOLEAN ReadWriteBank, IN PBANKED_SECTION_ROUTINE BankRoutine, IN PVOID Context) |
NTKERNELAPI BOOLEAN | MmIsSystemAddressAccessable (IN PVOID VirtualAddress) |
BOOLEAN | MmVerifyImageIsOkForMpUse (IN PVOID BaseAddress) |
NTSTATUS | MmMemoryUsage (IN PVOID Buffer, IN ULONG Size, IN ULONG Type, OUT PULONG Length) |
NTKERNELAPI VOID FASTCALL | MmSetPageFaultNotifyRoutine (IN PPAGE_FAULT_NOTIFY_ROUTINE NotifyRoutine) |
NTKERNELAPI VOID FASTCALL | MmSetHardFaultNotifyRoutine (IN PHARD_FAULT_NOTIFY_ROUTINE NotifyRoutine) |
NTSTATUS | MmCallDllInitialize (IN PLDR_DATA_TABLE_ENTRY DataTableEntry) |
VOID | MmSetKernelDumpRange (IN PVOID DumpContext) |
Variables | |
ULONG_PTR | MmVirtualBias |
PPHYSICAL_MEMORY_DESCRIPTOR | MmPhysicalMemoryBlock |
BOOLEAN | Mm64BitPhysicalAddress |
POBJECT_TYPE | MmSectionObjectType |
ULONG | MmReadClusterSize |
ULONG | MmNumberOfColors |
PFN_COUNT | MmNumberOfPhysicalPages |
PFN_COUNT | MmSizeOfSystemCacheInPages |
MMSUPPORT | MmSystemCacheWs |
KEVENT | MmWorkingSetManagerEvent |
ULONG | MmProductType |
MMINFO_COUNTERS | MmInfoCounters |
MMPFNLIST | MmModifiedPageListHead |
PFN_NUMBER | MmThrottleTop |
PFN_NUMBER | MmThrottleBottom |
ULONG | MmSpecialPoolTag |
PVOID | MmSpecialPoolStart |
PVOID | MmSpecialPoolEnd |
|
Value:
Definition at line 217 of file mm.h. Referenced by Ki386BuildIdentityBuffer(), MiCreatePageTablesForPhysicalRange(), MiDeletePageTablesForPhysicalRange(), MmAllocatePagesForMdl(), MmFreePagesFromMdl(), MmProbeAndLockPages(), MmSetKernelDumpRange(), MmSizeOfMdl(), and MmUnlockPages(). |
|
|
|
|
Definition at line 248 of file mm.h. Referenced by KeBugCheckEx(), and xxxInterSendMsgEx(). |
|
Definition at line 31 of file mm.h. Referenced by IopInitializeResourceMap(), MiMergeMemoryLimit(), and MmInitSystem(). |
|
Definition at line 54 of file mm.h. Referenced by NtQuerySystemInformation(). |
|
Definition at line 91 of file mm.h. Referenced by MiFlushSectionInternal(). |
|
Definition at line 60 of file mm.h. Referenced by MiResolveMappedFileFault(). |
|
Value:
Definition at line 924 of file mm.h. Referenced by CcPrepareMdlWrite(), and CcZeroData(). |
|
Value:
Definition at line 953 of file mm.h. Referenced by CcPrepareMdlWrite(), and CcZeroData(). |
|
Value:
Definition at line 1123 of file mm.h. Referenced by CcCanIWrite(), and MiGatherMappedPages(). |
|
Definition at line 373 of file mm.h. Referenced by IoBuildPartialMdl(). |
|
Definition at line 324 of file mm.h. Referenced by IoBuildPartialMdl(), SmbTraceCopyMdlContiguous(), and SmbTraceMdlLength(). |
|
Definition at line 348 of file mm.h. Referenced by IoBuildPartialMdl(). |
|
Definition at line 275 of file mm.h. Referenced by CcZeroData(), IoBuildPartialMdl(), IopMapPhysicalMemory(), IopMapVirtualToPhysicalMdl(), IopWritePageToDisk(), and IoWriteCrashDump(). |
|
|
|
Value:
Definition at line 1874 of file mm.h. Referenced by CcZeroData(), ExLockUserBuffer(), FsRtlCancelNotify(), FsRtlNotifyCompleteIrp(), FsRtlNotifyFullReportChange(), and SmbTraceCopyMdlContiguous(). |
|
Value:
Definition at line 1833 of file mm.h. Referenced by CcZeroData(), MiCheckForCrashDump(), MiGetWorkingSetInfo(), and UdfIsVolumeDirty(). |
|
Value:
Definition at line 1789 of file mm.h. Referenced by ExLockUserBuffer(), IoAllocateMdl(), IopWritePageToDisk(), MiCleanPhysicalProcessPages(), MiCloneProcessAddressSpace(), MiDoMappedCopy(), MiGatherMappedPages(), MiGatherPagefilePages(), MiGetWorkingSetInfo(), MiMakeOutswappedPageResident(), MiResolveMappedFileFault(), MiResolvePageFileFault(), MmCreateMdl(), MmProbeAndLockSelectedPages(), MmShutdownSystem(), NtFreeUserPhysicalPages(), and NtStartProfile(). |
|
Value:
Definition at line 893 of file mm.h. Referenced by IoPageRead(). |
|
|
|
Definition at line 2010 of file mm.h. Referenced by MmRaisePoolQuota(), and PsReturnPoolQuota(). |
|
Definition at line 2016 of file mm.h. Referenced by MmRaisePoolQuota(). |
|
Definition at line 2012 of file mm.h. Referenced by MmRaisePoolQuota(), and PsReturnPoolQuota(). |
|
Value:
Definition at line 1902 of file mm.h. Referenced by IoFreeMdl(). |
|
Value:
Definition at line 1053 of file mm.h. Referenced by CcCopyRead(), CcFastCopyRead(), CcMapAndCopy(), CcMapAndRead(), CcMapData(), CcMdlRead(), CcPerformReadAhead(), MmCopyToCachedPage(), and MmProbeAndLockPages(). |
|
Value:
Definition at line 983 of file mm.h. Referenced by CcCopyRead(), CcFastCopyRead(), CcMapAndCopy(), CcMapAndRead(), CcMapData(), CcMdlRead(), CcPerformReadAhead(), MmCopyToCachedPage(), and MmProbeAndLockPages(). |
|
Value:
Definition at line 1018 of file mm.h. Referenced by CcCopyRead(), CcFastCopyRead(), CcMapAndCopy(), CcMapAndRead(), CcMapData(), CcMdlRead(), CcPerformReadAhead(), MmCopyToCachedPage(), and MmProbeAndLockPages(). |
|
|
|
|
Definition at line 2153 of file mm.h. Referenced by ExAllocatePoolWithTag(). |
|
Definition at line 2154 of file mm.h. Referenced by MiAddValidPageToWorkingSet(). |
|
Definition at line 2155 of file mm.h. Referenced by ExAllocatePoolWithTag(). |
|
|
|
|
|
|
|
|
|
Definition at line 2160 of file mm.h. Referenced by PsConvertToGuiThread(). |
|
Definition at line 2161 of file mm.h. Referenced by MiDecrementShareCount(). |
|
|
|
Definition at line 2162 of file mm.h. Referenced by MmDeleteKernelStack(). |
|
Definition at line 2163 of file mm.h. Referenced by MiDispatchFault(). |
|
Definition at line 2247 of file mm.h. Referenced by MiResolveMappedFileFault(). |
|
|
|
|
|
Definition at line 2166 of file mm.h. Referenced by IopInitializeBuiltinDriver(), and IopLoadDriver(). |
|
Definition at line 2167 of file mm.h. Referenced by IopInitializeBuiltinDriver(), and IopLoadDriver(). |
|
Definition at line 2168 of file mm.h. Referenced by IopfCallDriver(), IopRaiseHardError(), and IovSpecialIrpCallDriver(). |
|
Definition at line 2169 of file mm.h. Referenced by IopfCallDriver(), IopRaiseHardError(), and IovSpecialIrpCallDriver(). |
|
Definition at line 2170 of file mm.h. Referenced by ExAllocatePoolWithTag(). |
|
Definition at line 2171 of file mm.h. Referenced by ExFreePoolWithTag(). |
|
Definition at line 2172 of file mm.h. Referenced by ExFreePoolWithTag(). |
|
Definition at line 2173 of file mm.h. Referenced by ExFreePoolWithTag(). |
|
Definition at line 2174 of file mm.h. Referenced by MiEmptyWorkingSet(), MiInsertWsle(), MmAdjustWorkingSetSize(), and NtUnlockVirtualMemory(). |
|
Definition at line 2175 of file mm.h. Referenced by MiReplaceWorkingSetEntryUsingFaultInfo(). |
|
Definition at line 2176 of file mm.h. Referenced by MiTrimWorkingSet(). |
|
Definition at line 2177 of file mm.h. Referenced by MmGrowKernelStack(). |
|
Definition at line 2178 of file mm.h. Referenced by MiDispatchFault(). |
|
Definition at line 2179 of file mm.h. Referenced by MiDispatchFault(). |
|
Definition at line 2180 of file mm.h. Referenced by MiDispatchFault(). |
|
|
|
|
|
Definition at line 2183 of file mm.h. Referenced by MiLoadSystemImage(). |
|
Definition at line 2184 of file mm.h. Referenced by MmUnloadSystemImage(). |
|
|
|
Definition at line 2185 of file mm.h. Referenced by MiInitMachineDependent(). |
|
|
|
Definition at line 2189 of file mm.h. Referenced by MiInsertStandbyListAtFront(). |
|
Definition at line 2188 of file mm.h. Referenced by MiInsertPageInList(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 2195 of file mm.h. Referenced by MiEmptyWorkingSet(), MiInsertWsle(), MiTrimWorkingSet(), MmAdjustWorkingSetSize(), and NtUnlockVirtualMemory(). |
|
Definition at line 2196 of file mm.h. Referenced by MiReplaceWorkingSetEntryUsingFaultInfo(). |
|
|
|
|
|
Definition at line 2199 of file mm.h. Referenced by MiMapBBTMemory(). |
|
|
|
Definition at line 2201 of file mm.h. Referenced by MiEmptyWorkingSet(), MiInsertWsle(), MmAdjustWorkingSetSize(), and NtUnlockVirtualMemory(). |
|
Definition at line 2202 of file mm.h. Referenced by MiReplaceWorkingSetEntryUsingFaultInfo(). |
|
|
|
Definition at line 2203 of file mm.h. Referenced by ExAllocatePoolWithTag(). |
|
Definition at line 2204 of file mm.h. Referenced by ExAllocatePoolWithTag(). |
|
Definition at line 2206 of file mm.h. Referenced by MiCopyOnWrite(). |
|
Definition at line 2207 of file mm.h. Referenced by MiResolveDemandZeroFault(). |
|
Definition at line 2208 of file mm.h. Referenced by PspCreateThread(). |
|
Definition at line 2209 of file mm.h. Referenced by PspProcessDelete(). |
|
Definition at line 2211 of file mm.h. Referenced by MiRemovePageByColor(), and MiRemovePageFromList(). |
|
Definition at line 2212 of file mm.h. Referenced by MmCreateSection(). |
|
Definition at line 2213 of file mm.h. Referenced by MiSegmentDelete(). |
|
Definition at line 2214 of file mm.h. Referenced by MiCompleteProtoPteFault(), MiResolveDemandZeroFault(), MiResolveProtoPteFault(), and MiResolveTransitionFault(). |
|
Definition at line 2215 of file mm.h. Referenced by PspCreateThread(). |
|
Definition at line 2216 of file mm.h. Referenced by PspThreadDelete(). |
|
Definition at line 2217 of file mm.h. Referenced by MiUnlinkFreeOrZeroedPage(). |
|
Definition at line 2218 of file mm.h. Referenced by MiUnlinkPageFromList(). |
|
Definition at line 2219 of file mm.h. Referenced by MmWorkingSetManager(). |
|
Definition at line 2220 of file mm.h. Referenced by MiCheckAndSetSystemTrimCriteria(), MiCheckSystemTrimEndCriteria(), and MmWorkingSetManager(). |
|
|
|
Definition at line 2222 of file mm.h. Referenced by MiCheckAndSetSystemTrimCriteria(). |
|
Definition at line 2223 of file mm.h. Referenced by MiCheckAndSetSystemTrimCriteria(). |
|
|
|
Definition at line 2225 of file mm.h. Referenced by MmWorkingSetManager(). |
|
|
|
|
|
|
|
|
|
Definition at line 2230 of file mm.h. Referenced by MiCheckProcessTrimCriteria(), and MmWorkingSetManager(). |
|
|
|
Definition at line 2232 of file mm.h. Referenced by MiCheckAndSetSystemTrimCriteria(). |
|
Definition at line 2233 of file mm.h. Referenced by MiCheckAndSetSystemTrimCriteria(). |
|
Definition at line 2234 of file mm.h. Referenced by MmWorkingSetManager(). |
|
Definition at line 2235 of file mm.h. Referenced by MiCheckAndSetSystemTrimCriteria(), and MiCheckSystemTrimEndCriteria(). |
|
Definition at line 2236 of file mm.h. Referenced by MmWorkingSetManager(). |
|
Definition at line 2237 of file mm.h. Referenced by MmWorkingSetManager(). |
|
Definition at line 2238 of file mm.h. Referenced by MmWorkingSetManager(). |
|
|
|
|
|
Definition at line 2241 of file mm.h. Referenced by MiCheckSystemTrimEndCriteria(). |
|
Definition at line 2242 of file mm.h. Referenced by MiCheckSystemTrimEndCriteria(). |
|
|
|
Definition at line 2244 of file mm.h. Referenced by MiCheckAndSetSystemTrimCriteria(). |
|
Definition at line 2245 of file mm.h. Referenced by MiCheckAndSetSystemTrimCriteria(). |
|
|
Referenced by IoBuildAsynchronousFsdRequest(), IoBuildDeviceIoControlRequest(), and IopXxxControlFile(). |
|
|
|
Referenced by IoInitSystem(), ObInitSystem(), and PspInitPhase0(). |
|
Referenced by MmFlushImageSection(). |
|
|
|
Referenced by MiRemovePhysicalPages(), and MmAllocatePagesForMdl(). |
|
|
|
Definition at line 2072 of file mm.h. Referenced by MmSetBankedSection(). |
|
Definition at line 2119 of file mm.h. Referenced by MiDispatchFault(). |
|
Referenced by IoWriteCrashDump(). |
|
Referenced by MmGetPhysicalMemoryRanges(). |
|
|
|
Definition at line 559 of file mm.h. Referenced by IopNotifyDeviceClassChange(), IopNotifyHwProfileChange(), IopNotifySetupDeviceArrival(), IopNotifyTargetDeviceChange(), and IoRegisterPlugPlayNotification(). |
|
Definition at line 1910 of file mm.h. Referenced by MiResolveImageReferences(), and MmCallDllInitialize(). |
|
Definition at line 1914 of file mm.h. Referenced by MiCallDllUnloadAndUnloadDll(). |
|
|
|
|
|
Definition at line 2111 of file mm.h. Referenced by MmAccessFault(). |
|
|
|
|
|
|
|
Definition at line 443 of file mm.h.
|
|
Definition at line 1446 of file mm.h.
|
|
Definition at line 421 of file mm.h.
|
|
Definition at line 1267 of file mm.h.
|
|
Definition at line 1067 of file mm.h.
|
|
Definition at line 807 of file allocpag.c. References ActiveAndValid, _MM_PAGED_POOL_INFO::AllocatedPagedPool, ASSERT, BASE_POOL_TYPE_MASK, BYTES_TO_PAGES, _MM_SESSION_SPACE::CommittedPages, CONSISTENCY_LOCK_PFN2, CONSISTENCY_UNLOCK_PFN2, DbgPrint, _MM_PAGED_POOL_INFO::EndOfPagedPoolBitmap, FALSE, _MMWSL::FirstDynamic, _MM_PAGED_POOL_INFO::FirstPteForPagedPool, Index, KeBugCheckEx(), KeSetEvent(), KSEG0_BASE, KSEG2_BASE, L, _MM_PAGED_POOL_INFO::LastPteForPagedPool, List, _MMFREE_POOL_ENTRY::List, LOCK_PFN, LOCK_PFN2, LOCK_SESSION_SPACE_WS, MI_CONVERT_PHYSICAL_TO_PFN, MI_GET_PAGE_COLOR_FROM_PTE, MI_GET_PAGE_FRAME_FROM_PTE, MI_IS_PHYSICAL_ADDRESS, MI_MAX_FREE_LIST_HEADS, MI_MEMORY_MAKER, MI_PFN_ELEMENT, MI_UNUSED_SEGMENTS_SURPLUS, MI_WRITE_VALID_PTE, MiAddValidPageToWorkingSet(), MiChargeCommitmentCantExpand(), MiFillMemoryPte, MiFreeNonPagedPool(), MiGetPdeAddress, MiGetPteAddress, MiGetVirtualAddressMappedByPte, MiInitializePfn(), MiInitializePfnForOtherProcess(), MiIssuePageExtendRequestNoWait(), MiLocateWsle(), MiProtectedPoolInsertList(), MiProtectedPoolRemoveEntryList(), MiProtectFreeNonPagedPool(), MiRemoveAnyPage(), MiReserveSystemPtes(), MiSessionPoolAllocated(), MiSwapWslEntries(), MiUnProtectFreeNonPagedPool(), MM_BUMP_COUNTER, MM_BUMP_SESS_COUNTER, MM_DBG_COMMIT_NONPAGED_POOL_EXPANSION, MM_DBG_COMMIT_PAGED_POOL_PAGES, MM_DBG_COMMIT_PAGED_POOL_PAGETABLE, MM_DBG_SESSION_COMMIT_PAGEDPOOL_PAGES, MM_DBG_SESSION_PAGEDPOOL_PAGETABLE_ALLOC1, MM_DEMAND_ZERO_WRITE_PTE, MM_FREE_POOL_SIGNATURE, MM_KERNEL_DEMAND_ZERO_PTE, MM_KERNEL_NOACCESS_PTE, MM_KSEG2_BASE, MM_TRACK_COMMIT, MmAllocatedNonPagedPool, MmAvailablePages, MMFREE_POOL_ENTRY, MmKseg2Frame, MmNonPagedMustSucceed, MmNonPagedPoolExpansionStart, MmNonPagedPoolFreeListHead, MmNumberOfFreeNonPagedPool, MmPageAlignedPoolBase, MmPagedPoolCommit, MmPagedPoolInfo, MmProtectFreedNonPagedPool, MmResidentAvailablePages, MmSessionBase, MmSessionSpace, MmSubsectionBase, MmSubsectionTopPage, MmSystemPageDirectory, MmSystemPagePtes, MmUnusedSegmentCleanup, MmUnusedSegmentForceFree, MmUnusedSegmentList, MUST_SUCCEED_POOL_TYPE_MASK, _MM_PAGED_POOL_INFO::NextPdeForPagedPoolExpansion, _MM_SESSION_SPACE::NonPagablePages, NonPagedPool, NonPagedPoolDescriptor, NonPagedPoolExpansion, NULL, _MMPFN::OriginalPte, PAGE_SHIFT, PAGE_SIZE, PagedPool, _MM_PAGED_POOL_INFO::PagedPoolAllocationMap, _MM_PAGED_POOL_INFO::PagedPoolCommit, _MM_PAGED_POOL_INFO::PagedPoolHint, _MM_SESSION_SPACE::PagedPoolInfo, _MM_PAGED_POOL_INFO::PagedPoolLargeSessionAllocationMap, _MM_SESSION_SPACE::PagedPoolStart, _MM_SESSION_SPACE::PageTables, PDE_PER_PAGE, PMM_PAGED_POOL_INFO, PMMFREE_POOL_ENTRY, POOL_VERIFIER_MASK, PsGetCurrentThread, PTE_PER_PAGE, _MMPFN::PteAddress, _MMPFN::PteFrame, RtlClearBits(), RtlFindClearBitsAndSet(), RtlSetBits(), SESSION_POOL_MASK, _MM_SESSION_SPACE::SessionPageDirectoryIndex, _MMFREE_POOL_ENTRY::Signature, _MMFREE_POOL_ENTRY::Size, _POOL_DESCRIPTOR::TotalBigPages, _POOL_DESCRIPTOR::TotalPages, TRUE, _MMPTE::u, _MMPFN::u1, _MMWSLE::u1, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, UNLOCK_PFN2, UNLOCK_SESSION_SPACE_WS, ValidKernelPde, ValidKernelPdeLocal, ValidKernelPte, VerifierLargePagedPoolMap, _MM_SESSION_SPACE::Vm, _MMSUPPORT::VmWorkingSetList, and _MM_SESSION_SPACE::Wsle. Referenced by AllocatePoolInternal(), ExAllocatePool(), ExAllocatePoolWithTag(), ExpAddTagForBigPages(), ExpInsertPoolTracker(), InitializePool(), and MiInitializeSystemPtes().
|
|
Definition at line 1778 of file allocpag.c. References _MM_PAGED_POOL_INFO::AllocatedPagedPool, ASSERT, _MM_SESSION_SPACE::CommittedPages, CONSISTENCY_LOCK_PFN2, CONSISTENCY_UNLOCK_PFN2, DbgPrint, _MM_PAGED_POOL_INFO::EndOfPagedPoolBitmap, FALSE, _MM_PAGED_POOL_INFO::FirstPteForPagedPool, Index, KeBugCheckEx(), L, _MMFREE_POOL_ENTRY::List, LOCK_SESSION_SPACE_WS, MI_CONVERT_PHYSICAL_TO_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MI_IS_PHYSICAL_ADDRESS, MI_IS_SESSION_POOL_ADDRESS, MI_MAGIC_AWE_PTEFRAME, MI_MAX_FREE_LIST_HEADS, MI_PFN_ELEMENT, MiDeleteSystemPagableVm(), MiEndOfInitialPoolFrame, MiFreeNonPagedPool(), MiGetPteAddress, MiGetVirtualAddressMappedByPte, MiHydra, MiProtectedPoolInsertList(), MiProtectedPoolRemoveEntryList(), MiProtectFreeNonPagedPool(), MiReturnCommitment(), MiSessionPoolFreed(), MiUnProtectFreeNonPagedPool(), MM_BUMP_SESS_COUNTER, MM_DBG_COMMIT_RETURN_PAGED_POOL_PAGES, MM_DBG_SESSION_COMMIT_POOL_FREED, MM_FREE_POOL_SIGNATURE, MM_KERNEL_NOACCESS_PTE, MM_SMALL_ALLOCATIONS, MM_TRACK_COMMIT, MmAllocatedNonPagedPool, MmExpandedPoolBitPosition, MmHighestPhysicalPage, MmMustSucceedPoolBitPosition, MmNonPagedMustSucceed, MmNonPagedPoolEnd, MmNonPagedPoolExpansionStart, MmNonPagedPoolFreeListHead, MmNonPagedPoolStart, MmNumberOfFreeNonPagedPool, MmPageAlignedPoolBase, MmPagedPoolCommit, MmPagedPoolEnd, MmPagedPoolInfo, MmPagedPoolStart, MmPfnDatabase, MmProtectFreedNonPagedPool, MmSessionSpace, MmSizeOfNonPagedPoolInBytes, MmSizeOfPagedPoolInBytes, NoAccessPte, NonPagedPool, NULL, _MMFREE_POOL_ENTRY::Owner, PAGE_SHIFT, PAGE_SIZE, PagedPool, _MM_PAGED_POOL_INFO::PagedPoolAllocationMap, _MM_PAGED_POOL_INFO::PagedPoolCommit, _MM_PAGED_POOL_INFO::PagedPoolHint, _MM_SESSION_SPACE::PagedPoolInfo, _MM_PAGED_POOL_INFO::PagedPoolLargeSessionAllocationMap, _MM_SESSION_SPACE::PagedPoolStart, POOL_TYPE, _MMPFN::PteAddress, _MMPFN::PteFrame, RtlClearBits(), _MMFREE_POOL_ENTRY::Signature, _MMFREE_POOL_ENTRY::Size, TRUE, _MMPTE::u, _MMPFN::u3, UNLOCK_SESSION_SPACE_WS, VerifierFreeTrackedPool(), and VerifierLargePagedPoolMap. Referenced by DeallocatePoolInternal(), ExFreePool(), ExFreePoolWithTag(), ExpAddTagForBigPages(), ExpInsertPoolTracker(), and MiInitMachineDependent().
|
|
Definition at line 505 of file allocpag.c. References ASSERT, BASE_POOL_TYPE_MASK, FALSE, MI_IS_SESSION_POOL_ADDRESS, MmSessionSpace, NonPagedPool, _MM_SESSION_SPACE::NonPagedPoolAllocations, _MM_SESSION_SPACE::NonPagedPoolBytes, _MM_SESSION_SPACE::PagedPoolAllocations, _MM_SESSION_SPACE::PagedPoolBytes, and TRUE. Referenced by ExAllocatePoolWithTag(), and MiAllocatePoolPages().
|
|
Definition at line 547 of file allocpag.c. References ASSERT, BASE_POOL_TYPE_MASK, FALSE, MI_IS_SESSION_POOL_ADDRESS, MmSessionSpace, NonPagedPool, _MM_SESSION_SPACE::NonPagedPoolAllocations, _MM_SESSION_SPACE::NonPagedPoolBytes, _MM_SESSION_SPACE::PagedPoolAllocations, _MM_SESSION_SPACE::PagedPoolBytes, and TRUE. Referenced by ExFreePoolWithTag(), and MiFreePoolPages().
|
|
Definition at line 479 of file allocpag.c. References MmSessionSpace, and _MM_SESSION_SPACE::PagedPool. Referenced by ExpInitializePoolDescriptor().
|
|
Definition at line 41 of file mmfault.c. References _MMSUPPORT::AllowWorkingSetAdjustment, APC_LEVEL, ASSERT, _KPROCESS::BasePriority, CONSISTENCY_LOCK_PFN, CONSISTENCY_UNLOCK_PFN, DbgPrint, _MMINFO_COUNTERS::DemandZeroCount, DemandZeroPde, DISPATCH_LEVEL, FALSE, _EPROCESS::ForkInProgress, HYDRA_PROCESS, HYPER_SPACE, IoRetryIrpCompletions(), KeBugCheckEx(), KeDelayExecutionThread(), KeInvalidAccessAllowed(), KeLowerIrql(), KeRaiseIrql(), KernelMode, LOCK_EXPANSION_IF_ALPHA, LOCK_PFN, LOCK_SESSION_SPACE_WS, LOCK_SYSTEM_WS, LOCK_WS, MI_ADD_LOCKED_PAGE_CHARGE, MI_BARRIER_STAMP_ZEROED_PAGE, MI_BARRIER_SYNCHRONIZE, MI_GET_PROTECTION_FROM_SOFT_PTE, MI_GET_USED_PTES_HANDLE, MI_INCREMENT_USED_PTES_BY_HANDLE, MI_IS_HYPER_SPACE_ADDRESS, MI_IS_PAGE_TABLE_ADDRESS, MI_IS_PHYSICAL_ADDRESS, MI_IS_SESSION_ADDRESS, MI_IS_SESSION_IMAGE_ADDRESS, MI_MAKE_VALID_PTE, MI_NO_FAULT_FOUND, MI_PAGE_COLOR_VA_PROCESS, MI_PFN_ELEMENT, MI_PTE_LOOKUP_NEEDED, MI_REMOVE_LOCKED_PAGE_CHARGE, MI_SET_PAGE_DIRTY, MI_SET_PTE_DIRTY, MI_SET_PTE_IN_WORKING_SET, MI_WRITE_INVALID_PTE, MI_WRITE_VALID_PTE, MI_WRITE_VALID_PTE_NEW_PROTECTION, MiAccessCheck(), MiCheckForUserStackOverflow(), MiCheckPdeForPagedPool(), MiCheckPdeForSessionSpace(), MiCheckVirtualAddress(), MiCopyOnWrite(), MiDelayPageFaults, MiDispatchFault(), MiEnsureAvailablePageOrWait(), MiFormatPte(), MiGetPdeAddress, MiGetPpeAddress, MiGetPteAddress, MiGrowWsleHash(), MiHydra, MiInitializePfn(), MiLocateAndReserveWsle(), MiMakeSystemAddressValidPfn(), _MMSUPPORT::MinimumWorkingSetSize, MiProtoAddressForPte, MiPteToProto, MiRemoveAnyPage(), MiRemoveZeroPageIfAny, MiResolveDemandZeroFault(), MiSessionCopyOnWrite(), MiUpdateWsle(), MiWaitForForkToComplete(), MiZeroPhysicalPage(), Mm30Milliseconds, MM_DBG_PTE_UPDATE, MM_DBG_SHOW_FAULTS, MM_DBG_STOP_ON_ACCVIO, MM_DEMAND_ZERO_WRITE_PTE, MM_EXECUTE_WRITECOPY, MM_GROW_WSLE_HASH, MM_GUARD_PAGE, MM_KSTACK_OUTSWAPPED, MM_LARGE_PAGES, MM_NOACCESS, MM_PTE_WRITE_MASK, MM_READONLY, MM_READWRITE, MM_SESSION_SPACE_WS_LOCK_ASSERT, MM_SYSTEM_SPACE_END, MM_UNKNOWN_PROTECTION, MM_ZERO_KERNEL_PTE, MM_ZERO_PTE, MmAvailablePages, MmHalfSecond, MmInfoCounters, MmModifiedPageListHead, MmModifiedPageMaximum, MmMoreThanEnoughFreePages, MmNonPagedPoolEnd, MmNonPagedPoolExpansionStart, MmNonPagedPoolStart, MmPageFaultNotifyRoutine, MmProtectFreedNonPagedPool, MmSessionSpace, MmShortTime, MmSystemCacheWs, MmSystemLockOwner, MmSystemRangeStart, MmWorkingSetList, _EPROCESS::ModifiedPageCount, _EPROCESS::NextPageColor, NTSTATUS(), NULL, _EPROCESS::NumberOfPrivatePages, _MMPFN::OriginalPte, PAGE_SIZE, _MMSUPPORT::PageFaultCount, PASSIVE_LEVEL, _EPROCESS::Pcb, PPAGE_FAULT_NOTIFY_ROUTINE, PROCESS_FOREGROUND_PRIORITY, PrototypePte, PsGetCurrentProcess, PsGetCurrentThread, _MMPFN::PteFrame, _MMPFNLIST::Total, TRUE, _MMPTE::u, _MMPFN::u1, _MMPFN::u3, UNLOCK_EXPANSION_IF_ALPHA, UNLOCK_PFN, UNLOCK_SESSION_SPACE_WS, UNLOCK_SYSTEM_WS, UNLOCK_WS, UserMode, _MM_SESSION_SPACE::Vm, _EPROCESS::Vm, _MM_SESSION_SPACE::WorkingSetLockOwner, _MMSUPPORT::WorkingSetSize, and WSLE_NUMBER. Referenced by KiMemoryFault(), MiMakeSystemAddressValid(), MiMakeSystemAddressValidPfn(), MiMakeSystemAddressValidPfnSystemWs(), MiMakeSystemAddressValidPfnWs(), MmCheckCachedPageState(), MmProbeAndLockPages(), and MmProbeForWrite().
|
|
Definition at line 43 of file dynmem.c. References ASSERT, ASSERT64, _PHYSICAL_MEMORY_RUN::BasePage, BYTE_OFFSET, ExAllocatePoolWithTag, ExFreePool(), FALSE, FreePageList, LOCK_PFN, MI_GET_PAGE_COLOR_FROM_PTE, MI_IS_PHYSICAL_ADDRESS, MI_PFN_ELEMENT, MiGetPteAddress, MiInitializePfn(), MiInsertPageInList(), MiRemoveZeroPage(), MmAvailablePages, MmChargeCommitmentLock, MmDynamicMemoryMutex, MmDynamicPfn, MmHighestPhysicalPage, MmHighestPossiblePhysicalPage, MmNumberOfPhysicalPages, MmPageLocationList, MmPfnDatabase, MmPhysicalMemoryBlock, MmResidentAvailablePages, MmTotalCommitLimit, MmTotalCommitLimitMaximum, MmTotalCommittedPages, NonPagedPool, NULL, _PHYSICAL_MEMORY_DESCRIPTOR::NumberOfPages, _PHYSICAL_MEMORY_DESCRIPTOR::NumberOfRuns, _MMPFN::OriginalPte, PAGE_SHIFT, PAGE_SIZE, _PHYSICAL_MEMORY_RUN::PageCount, PASSIVE_LEVEL, PFN_REMOVED, PMMPTE, PTE_SHIFT, _MMPFN::PteAddress, _MMPFN::PteFrame, _PHYSICAL_MEMORY_DESCRIPTOR::Run, TRUE, _MMPTE::u, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, ValidKernelPte, and ZeroKernelPte.
|
|
Definition at line 3846 of file verifier.c. References _DRIVER_SPECIFIED_VERIFIER_THUNKS::DataTableEntry, ExAllocatePoolWithTag, ExFreePool(), FALSE, KeEnterCriticalRegion, KeLeaveCriticalRegion, KeReleaseMutant(), KernelMode, KeWaitForSingleObject(), KSEG0_BASE, _DRIVER_SPECIFIED_VERIFIER_THUNKS::ListEntry, MiActiveVerifierThunks, MiLookupDataTableEntry(), MiVerifierDriverAddedThunkListHead, MM_BOOT_IMAGE_SIZE, MmSystemLoadLock, NULL, _DRIVER_SPECIFIED_VERIFIER_THUNKS::NumberOfThunks, PAGED_CODE, PagedPool, PDRIVER_SPECIFIED_VERIFIER_THUNKS, TRUE, and WrVirtualMemory. Referenced by NtSetSystemInformation().
|
|
|
|
Definition at line 2450 of file wslist.c. References _EPROCESS::AddressSpaceDeleted, _MMSUPPORT::AllowWorkingSetAdjustment, ASSERT, ExPageLockHandle, FALSE, _MMWSL::FirstDynamic, _MMWSL::FirstFree, _MMWSL::HashTable, _MMWSL::LastEntry, _MMWSL::LastInitializedWsle, LOCK_PFN, LOCK_SYSTEM_WS, LOCK_WS, _MMSUPPORT::MaximumWorkingSetSize, MI_NONPAGABLE_MEMORY_AVAILABLE, MiAddWorkingSetPage(), MiEmptyWorkingSet(), MiFreeWsle(), MiGetPteAddress, MiGrowWsleHash(), _MMSUPPORT::MinimumWorkingSetSize, MM_BUMP_COUNTER, MM_FLUID_WORKING_SET, MM_RETRY_COUNT, MmAllowWorkingSetExpansion(), MmAvailablePages, MmLockPagableSectionByHandle(), MmMaximumWorkingSetSize, MmMinimumWorkingSetSize, MmPagesAboveWsMinimum, MmResidentAvailablePages, MmSystemCacheWs, MmUnlockPagableImageSection(), NTSTATUS(), NULL, PAGE_SHIFT, PAGE_SIZE, PERFINFO_GET_PAGE_INFO, PERFINFO_LOG_WS_REMOVAL, PERFINFO_PAGE_INFO_DECL, PsGetCurrentProcess, _MMWSL::Quota, TRUE, _MMWSLE::u1, UNLOCK_PFN, UNLOCK_SYSTEM_WS, UNLOCK_WS, _MMWSLE::VirtualAddress, _EPROCESS::Vm, _MMSUPPORT::VmWorkingSetList, _MMSUPPORT::WorkingSetSize, _MMWSL::Wsle, WSLE_NULL_INDEX, and WSLE_NUMBER. Referenced by NtSetInformationJobObject(), NtSetSystemInformation(), PspAddProcessToJob(), PspSetQuotaLimits(), and xxxMinMaximize().
|
|
Definition at line 3881 of file iosup.c. References MiAllocateContiguousMemory(), PAGE_SHIFT, and RtlGetCallersAddress(). Referenced by IopGetDumpStack(), and Ki386AllocateContiguousMemory().
|
|
Definition at line 3744 of file iosup.c. References ASSERT, BYTE_OFFSET, KeSweepDcache(), MiAllocateContiguousMemory(), MiGetPteAddress, MmCached, MmFreeContiguousMemory(), MmGetPhysicalAddress(), MmMapIoSpace(), NULL, PAGE_SHIFT, PAGE_SIZE, RtlGetCallersAddress(), TRUE, and _MMPTE::u.
|
|
Definition at line 3942 of file iosup.c. References ASSERT, BYTES_TO_PAGES, FALSE, LOCK_PFN, MI_GET_PAGE_COLOR_FROM_PTE, MI_MAKE_VALID_PTE, MI_NONPAGABLE_MEMORY_AVAILABLE, MI_SET_PTE_DIRTY, MI_WRITE_VALID_PTE, MiChargeCommitmentCantExpand(), MiEnsureAvailablePageOrWait(), MiGetVirtualAddressMappedByPte, MiInitializePfn(), MiReleaseSystemPtes(), MiRemoveAnyPage(), MiReserveSystemPtes(), MM_BUMP_COUNTER, MM_DBG_COMMIT_INDEPENDENT_PAGES, MM_READWRITE, MM_TRACK_COMMIT, MmResidentAvailablePages, NULL, SystemPteSpace, TRUE, _MMPTE::u, and UNLOCK_PFN. Referenced by KiI386PentiumLockErrataFixup().
|
|
Definition at line 5581 of file iosup.c. References ASSERT, BYTES_TO_PAGES, ExPageLockHandle, FALSE, KeFlushEntireTb(), KeSweepDcache(), LOCK_PFN, MI_DISABLE_CACHING, MI_GET_PAGE_COLOR_FROM_PTE, MI_MAKE_VALID_PTE, MI_NONPAGABLE_MEMORY_AVAILABLE, MI_SET_PTE_DIRTY, MI_WRITE_VALID_PTE, MiChargeCommitmentCantExpand(), MiEnsureAvailablePageOrWait(), MiGetVirtualAddressMappedByPte, MiInitializePfn(), MiReleaseSystemPtes(), MiRemoveAnyPage(), MiReserveSystemPtes(), MiReturnCommitment(), MiSweepCacheMachineDependent(), MM_BUMP_COUNTER, MM_DBG_COMMIT_NONCACHED_PAGES, MM_READWRITE, MM_TRACK_COMMIT, MmLockPagableSectionByHandle(), MmNonCached, MmResidentAvailablePages, MmUnlockPagableImageSection(), NULL, SystemPteSpace, TRUE, _MMPTE::u, and UNLOCK_PFN. Referenced by IopGetDumpStack().
|
|
Definition at line 4270 of file iosup.c. References ActiveAndValid, ADDRESS_AND_SIZE_TO_SPAN_PAGES, APC_LEVEL, ASSERT, _PHYSICAL_MEMORY_RUN::BasePage, _MMCOLOR_TABLES::Blink, _MMPFNLIST::Blink, BYTE_OFFSET, _MDL::ByteCount, DbgPrint, ExAllocatePoolWithTag, ExFreePool(), ExPageLockHandle, FALSE, _MMCOLOR_TABLES::Flink, _MMPFNLIST::Flink, FreePageList, LOCK_PFN, MI_MAGIC_AWE_PTEFRAME, MI_NONPAGABLE_MEMORY_AVAILABLE, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MiChargeCommitmentCantExpand(), MiLastCallColor, MiLastCallHighPage, MiLastCallLowPage, MiRestoreTransitionPte(), MiReturnCommitment(), MiUnlinkFreeOrZeroedPage(), MiUnlinkPageFromList(), MiZeroPhysicalPage(), MM_BUMP_COUNTER, MM_DBG_COMMIT_MDL_PAGES, MM_DEMAND_ZERO_WRITE_PTE, MM_EMPTY_LIST, MM_TRACK_COMMIT, MmCreateMdl(), MmDynamicMemoryMutex, MmFreePagesByColor, MmHighestPhysicalPage, MMLISTS, MmLockPagableSectionByHandle(), MmMdlPagesAllocated, MmPageLocationList, MmPfnDatabase, MmPhysicalMemoryBlock, MmResidentAvailablePages, MmSecondaryColors, MmUnlockPagableImageSection(), NonPagedPool, NULL, _PHYSICAL_MEMORY_DESCRIPTOR::NumberOfRuns, _MMPFN::OriginalPte, PAGE_SHIFT, PAGE_SIZE, _PHYSICAL_MEMORY_RUN::PageCount, _MMPFN::PteFrame, _PHYSICAL_MEMORY_DESCRIPTOR::Run, StandbyPageList, TRUE, _MMPTE::u, _MMPFN::u1, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, and ZeroedPageList. Referenced by NtAllocateUserPhysicalPages().
|
|
Definition at line 3408 of file allocpag.c. References MiAllocateSpecialPool(), MiSpecialPoolPtes, and NULL. Referenced by ExAllocatePoolWithTag(), ExAllocatePoolWithTagPriority(), and MmSqueezeBadTags().
|
|
Definition at line 4948 of file procsup.c. References _MMSUPPORT::AllowWorkingSetAdjustment, _MMWORKING_SET_EXPANSION_HEAD::ListHead, LOCK_EXPANSION, MmWorkingSetExpansionHead, PsGetCurrentProcess, TRUE, UNLOCK_EXPANSION, _EPROCESS::Vm, and _MMSUPPORT::WorkingSetExpansionLinks. Referenced by MmAdjustWorkingSetSize(), PspSystemThreadStartup(), and PspUserThreadStartup().
|
|
Definition at line 2386 of file wslist.c. References FALSE, KeAttachProcess(), KeDetachProcess(), LOCK_WS_AND_ADDRESS_SPACE, PAGED_CODE, PS_JOB_STATUS_REPORT_COMMIT_CHANGES, PsChangeJobMemoryUsage(), PsGetCurrentProcess, Status, TRUE, and UNLOCK_WS_AND_ADDRESS_SPACE. Referenced by PspAddProcessToJob().
|
|
Definition at line 1500 of file iosup.c. References ASSERT, MDL_MAPPED_TO_SYSTEM_VA, MDL_PAGES_LOCKED, MDL_PARTIAL, MDL_SOURCE_IS_NONPAGED_POOL, MI_CONVERT_PHYSICAL_TO_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MI_IS_PHYSICAL_ADDRESS, MiGetPteAddress, MmIsNonPagedSystemAddressValid(), and NULL. Referenced by CcZeroData(), MiCreateImageFileMap(), and UdfPrepareBuffers().
|
|
Definition at line 6717 of file sysload.c. References CmRegistryMachineSystemCurrentControlSetServices, ExAllocatePoolWithTag, ExFreePool(), L, MiLocateExportName(), NonPagedPool, NTSTATUS(), NULL, PMM_DLL_INITIALIZE, RtlAppendUnicodeStringToString(), RtlAppendUnicodeToString(), and USHORT. Referenced by IopInitializeBootDrivers().
|
|
Definition at line 2552 of file sectsup.c. References FALSE, MiCanFileBeTruncatedInternal(), TRUE, and UNLOCK_PFN. Referenced by CcPurgeCacheSection().
|
|
Definition at line 1016 of file mapcache.c. References ActiveAndValid, ASSERT, FALSE, KernelMode, LOCK_PFN, LOCK_SYSTEM_WS, MI_BARRIER_SYNCHRONIZE, MI_DETERMINE_OWNER, MI_GET_PAGE_COLOR_FROM_PTE, MI_GET_PAGE_FRAME_FROM_PTE, MI_GET_PAGE_FRAME_FROM_TRANSITION_PTE, MI_MAKE_VALID_PTE, MI_PFN_ELEMENT, MI_SET_GLOBAL_STATE, MI_SET_PTE_IN_WORKING_SET, MI_WRITE_VALID_PTE, MiGetPteAddress, MiGetSubsectionAddress, MiGetVirtualAddressMappedByPte, MiInitializePfn(), MiLocateAndReserveWsle(), MiMakeSystemAddressValidPfn(), MiPteToProto, MiRemoveZeroPage(), MiUnlinkPageFromList(), MiUpdateWsle(), MM_PTE_OWNER_MASK, MmAccessFault(), MmAvailablePages, MmSystemCacheWorkingSetList, MmSystemCacheWs, MmSystemCacheWsle, NULL, _MMPFN::OriginalPte, PsGetCurrentThread, _MMPFN::PteFrame, TRUE, _MMPTE::u, _MMPFN::u1, _MMWSLE::u1, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, UNLOCK_SYSTEM_WS, and WSLE_NUMBER. Referenced by CcCopyRead(), CcFastCopyRead(), CcMapAndRead(), and CcPerformReadAhead().
|
|
|
|
|
|
|
|
Definition at line 1274 of file mapcache.c. References ActiveAndValid, APC_LEVEL, _ETHREAD::ApcNeeded, ASSERT, Buffer, CHAR, Copy, DISPATCH_LEVEL, Event(), EXCEPTION_EXECUTE_HANDLER, FALSE, IoRetryIrpCompletions(), KeDelayExecutionThread(), KeEnterCriticalRegion, KeLeaveCriticalRegion, KeLowerIrql(), KeRaiseIrql(), KernelMode, KeSetEvent(), LOCK_PFN, LOCK_SYSTEM_WS, MI_ADD_LOCKED_PAGE_CHARGE, MI_ADD_LOCKED_PAGE_CHARGE_FOR_MODIFIED_PAGE, MI_DETERMINE_OWNER, MI_GET_PAGE_COLOR_FROM_PTE, MI_GET_PAGE_FRAME_FROM_PTE, MI_GET_PAGE_FRAME_FROM_TRANSITION_PTE, MI_MAGIC_AWE_PTEFRAME, MI_MAKE_VALID_PTE, MI_PFN_ELEMENT, MI_REMOVE_LOCKED_PAGE_CHARGE, MI_SET_GLOBAL_STATE, MI_SET_PTE_DIRTY, MI_SET_PTE_IN_WORKING_SET, MI_WRITE_VALID_PTE, MiEnsureAvailablePageOrWait(), MiFreeInPageSupportBlock(), MiGetInPageSupportBlock(), MiGetPteAddress, MiGetSubsectionAddress, MiGetVirtualAddressMappedByPte, MiInitializeTransitionPfn(), MiLocateAndReserveWsle(), MiMakeSystemAddressValidPfn(), MiMapCacheExceptionFilter(), MiPteToProto, MiRemoveAnyPage(), MiUnlinkPageFromList(), MiUpdateWsle(), MM_PTE_OWNER_MASK, MmResetPageFaultReadAhead, MmSavePageFaultReadAhead, MmSetPageFaultReadAhead, MmShortTime, MmSystemCacheWorkingSetList, MmSystemCacheWs, MmSystemCacheWsle, _ETHREAD::NestedFaultCount, NTSTATUS(), NULL, _CONTROL_AREA::NumberOfPfnReferences, _CONTROL_AREA::NumberOfUserReferences, Offset, _MMPFN::OriginalPte, PAGE_SIZE, PsGetCurrentThread, _MMPFN::PteAddress, _MMPFN::PteFrame, TRUE, _MMPTE::u, _MMPFN::u1, _MMWSLE::u1, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, UNLOCK_SYSTEM_WS, and WSLE_NUMBER. Referenced by CcMapAndCopy().
|
|
Definition at line 362 of file readwrt.c. References _EPROCESS::AddressSpaceDeleted, ASSERT, BufferSize, FALSE, KeSetEvent(), MiDoMappedCopy(), MiDoPoolCopy(), MiLockSystemSpace, MiUnlockSystemSpace, NTSTATUS(), NULL, POOL_MOVE_THRESHOLD, PsGetCurrentProcess, Status, _EPROCESS::VmOperation, and _EPROCESS::VmOperationEvent. Referenced by LpcpCopyRequestData(), NtReadVirtualMemory(), and NtWriteVirtualMemory().
|
|
|
|
Definition at line 5852 of file iosup.c. References ExAllocatePoolWithTag, MmInitializeMdl, MmSizeOfMdl(), NonPagedPool, NonPagedPoolMustSucceed, and POOL_BUDDY_MAX. Referenced by IoWriteCrashDump(), MiCheckForCrashDump(), MiCreateImageFileMap(), MmAllocatePagesForMdl(), and NtFreeUserPhysicalPages().
|
|
Definition at line 4631 of file procsup.c. References CmNtCSDVersion, EXCEPTION_EXECUTE_HANDLER, ExRaiseStatus(), FALSE, InitAnsiCodePageDataOffset, InitNlsSectionPointer, InitOemCodePageDataOffset, InitUnicodeCaseTableDataOffset, KeActiveProcessors, KeAttachProcess(), KeDetachProcess(), KeNumberProcessors, L, MI_INIT_PEB_FROM_IMAGE, MiCreatePebOrTeb(), MmCriticalSectionTimeout, MmHeapDeCommitFreeBlockThreshold, MmHeapDeCommitTotalFreeThreshold, MmHeapSegmentCommit, MmHeapSegmentReserve, MmMapViewOfSection(), MmRotatingUniprocessorNumber, NT_SUCCESS, NtBuildNumber, NtGlobalFlag, NtMajorVersion, NtMinorVersion, NTSTATUS(), NULL, PAGE_SIZE, ProbeForRead, RtlImageDirectoryEntryToData(), RtlImageNtHeader(), Status, TRUE, and USHORT. Referenced by PspCreateProcess().
|
|
Definition at line 190 of file procsup.c. References ASSERT, CODE_END, CODE_START, CONSISTENCY_LOCK_PFN, CONSISTENCY_UNLOCK_PFN, FALSE, HYPER_SPACE, INITIALIZE_DIRECTORY_TABLE_BASE, KeInitializeSpinLock(), KSEG0_BASE, KSEG2_BASE, KSTACK_POOL_START, LOCK_PFN, LOCK_WS, MI_GET_PAGE_FRAME_FROM_PTE, MI_INITIALIZE_HYPERSPACE_MAP, MI_PAGE_COLOR_PTE_PROCESS, MI_PAGE_COLOR_VA_PROCESS, MI_PFN_ELEMENT, MI_SET_GLOBAL_STATE, MI_WRITE_INVALID_PTE, MI_WRITE_VALID_PTE, MiChargeCommitment(), MiEnsureAvailablePageOrWait(), MiGetPdeAddress, MiGetPdeOffset, MiGetPpeAddress, MiGetPpeOffset, MiGetPteAddress, MiHydra, MiMapPageInHyperSpace(), MiNumberOfExtraSystemPdes, MiRemoveAnyPage(), MiRemoveZeroPageIfAny, MiReturnCommitment(), MiSessionAddProcess(), MiSystemCacheEndExtra, MiSystemCacheStartExtra, MiUnmapPageInHyperSpace, MiZeroPhysicalPage(), MM_BUMP_COUNTER, MM_DBG_COMMIT_PROCESS_CREATE, MM_DBG_COMMIT_RETURN_PROCESS_CREATE_FAILURE1, MM_KSEG0_BASE, MM_PROCESS_COMMIT_CHARGE, MM_SESSION_SPACE_DEFAULT, MM_SYSTEM_CACHE_WORKING_SET, MM_SYSTEM_SPACE_END, MM_SYSTEM_SPACE_START, MM_TRACK_COMMIT, MM_VA_MAPPED_BY_PDE, MmNonPagedSystemStart, MmProcessColorSeed, MmProcessCommit, MMPTE, MmResidentAvailablePages, MmSessionSpace, MmSystemCacheEnd, MmVirtualBias, MmWorkingSetList, _EPROCESS::NextPageColor, NON_PAGED_SYSTEM_END, NULL, PAGE_SHIFT, PsGetCurrentProcess, PTE_PER_PAGE, _MMPFN::PteAddress, RtlRandom(), TRUE, _MMPTE::u, _MMSUPPORT::u, _MMPFN::u3, UNLOCK_PFN, UNLOCK_WS, USHORT, ValidPdePde, and _EPROCESS::Vm. Referenced by PspCreateProcess().
|
|
|
|
Definition at line 4314 of file procsup.c. References BBTBuffer, InitialTeb, KeAttachProcess(), KeDetachProcess(), MiCreatePebOrTeb(), NULL, and USHORT. Referenced by PspCreateThread().
|
|
Definition at line 27 of file alpha/debugsup.c. References KSEG0_BASE, KSEG2_BASE, MmIsAddressValid(), NULL, and PAGE_SIZE. Referenced by IopWriteDriverList(), KdpMoveMemory(), KdpReadIoSpace(), KdpReadVirtualMemory(), KdpSearchMemory(), KeDumpMachineState(), KiDumpParameterImages(), KiPcToFileHeader(), KiScanBugCheckCallbackList(), and MmDbgReadCheck64().
|
|
Definition at line 246 of file alpha/debugsup.c. References NULL. Referenced by KdpReadVirtualMemory(), and KdpReadVirtualMemory64().
|
|
Definition at line 182 of file alpha/debugsup.c. References KiFlushSingleTb(), MiGetPteAddress, TRUE, and _MMPTE::u. Referenced by KdpAddBreakpoint(), KdpMoveMemory(), KdpWriteIoSpace(), KdpWriteVirtualMemory(), and KdSetOwedBreakpoints().
|
|
Definition at line 342 of file alpha/debugsup.c. References BYTE_OFFSET, KiFlushSingleTb(), MI_PFN_ELEMENT, MiGetVirtualAddressMappedByPte, MmDebugPte, MmHighestPhysicalPage, MmIsAddressValid(), MmLowestPhysicalPage, NULL, PAGE_SHIFT, TRUE, _MMPTE::u, and ValidKernelPte. Referenced by KdpReadPhysicalMemory(), KdpSearchPhysicalPage(), and KdpWritePhysicalMemory().
|
|
Definition at line 70 of file alpha/debugsup.c.
|
|
Definition at line 291 of file alpha/debugsup.c. References NULL. Referenced by KdpWriteVirtualMemory(), and KdpWriteVirtualMemory64().
|
|
Definition at line 2723 of file procsup.c. References BYTES_TO_PAGES, DbgPrint, LOCK_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MiDecrementShareAndValidCount, MiDecrementShareCountOnly, MiGetPteAddress, MiReleaseSystemPtes(), MiReturnCommitment(), MM_BUMP_COUNTER, MM_DBG_COMMIT_RETURN_KERNEL_STACK_DELETE, MM_STACK_ALIGNMENT, MM_TRACK_COMMIT, MmFirstDeadKernelStack, MmKernelStackPages, MmKernelStackResident, MmLargeStacks, MmMaximumDeadKernelStacks, MmNumberDeadKernelStacks, MmProcessCommit, MmResidentAvailablePages, MmSmallStacks, PERFINFO_DELETE_STACK, _MMPFN::PteAddress, _MMPFN::PteFrame, SystemPteSpace, _MMPTE::u, _MMPFN::u1, and UNLOCK_PFN. Referenced by KeStartAllProcessors(), PsConvertToGuiThread(), PspCreateThread(), PspReaper(), and PspThreadDelete().
|
|
Definition at line 1398 of file procsup.c. References ASSERT, FreePageList, HYPER_SPACE, LOCK_PFN, MI_GET_DIRECTORY_FRAME_FROM_PROCESS, MI_GET_PAGE_FRAME_FROM_PTE, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MiContractPagingFiles(), MiDecrementShareAndValidCount, MiDecrementShareCountOnly, MiGetPpeOffset, MiInsertPageInList(), MiMapPageInHyperSpace(), MiReturnCommitment(), MiUnmapPageInHyperSpace, MM_BUMP_COUNTER, MM_DBG_COMMIT_RETURN_PROCESS_DELETE, MM_PROCESS_COMMIT_CHARGE, MM_PROCESS_CREATE_CHARGE, MM_TRACK_COMMIT, MmPageLocationList, MmProcessCommit, MmResidentAvailablePages, NULL, _MMPFN::PteFrame, _MMPFN::u3, and UNLOCK_PFN. Referenced by PspProcessDelete().
|
|
Definition at line 4843 of file procsup.c. References ASSERT, _MMVAD::EndingVpn, ExFreePool(), KeAttachProcess(), KeDetachProcess(), List, _MMSECURE_ENTRY::List, LOCK_WS_AND_ADDRESS_SPACE, MI_VA_TO_VPN, MiDeleteFreeVm(), MiLocateAddress(), MiRemoveVad(), NT_SUCCESS, NTSTATUS(), NULL, ROUND_TO_PAGES, _MMVAD::StartingVpn, Status, _MMVAD::u, _MMVAD::u2, _MMVAD::u3, and UNLOCK_WS_AND_ADDRESS_SPACE. Referenced by PspCreateThread(), and PspExitThread().
|
|
Definition at line 437 of file allocpag.c. References MI_IS_SESSION_POOL_ADDRESS, MmPagedPoolEnd, MmPagedPoolStart, NonPagedPool, PagedPool, PagedPoolSession, and TRUE. Referenced by CheckPool(), ExFreePool(), ExFreePoolSanityChecks(), ExFreePoolWithTag(), ExInitializeResource(), ExInitializeResourceLite(), and ExReinitializeResourceLite().
|
|
Definition at line 4397 of file modwrite.c. References LOCK_PFN, NULL, _CONTROL_AREA::NumberOfMappedViews, _CONTROL_AREA::u, and UNLOCK_PFN. Referenced by CcInitializeCacheMap().
|
|
|
Referenced by KiInitializePAT(). |
|
Definition at line 543 of file wslist.c. References LOCK_EXPANSION, LOCK_SYSTEM_WS, LOCK_WS, MmSystemCacheWs, PsGetCurrentProcess, UNLOCK_EXPANSION, UNLOCK_SYSTEM_WS, and UNLOCK_WS. Referenced by NtSetInformationJobObject(), PspAddProcessToJob(), and PspApplyJobLimitsToProcess().
|
|
Definition at line 201 of file extsect.c. References ASSERT, _MMEXTEND_INFO::CommittedSize, _SEGMENT::ControlArea, _SUBSECTION::ControlArea, DbgPrint, _CONTROL_AREA::DereferenceList, EX_REAL_POOL_USAGE, ExAcquireResourceExclusive, ExAllocatePoolWithTag, ExFreePool(), ExReleaseResource, _SEGMENT::ExtendInfo, FALSE, _CONTROL_AREA::FilePointer, FsRtlGetFileSize(), FsRtlSetFileSize(), KeEnterCriticalRegion, KeLeaveCriticalRegion, Mi4KStartForSubsection, Mi4KStartFromSubsection, MI_GET_PROTECTION_FROM_SOFT_PTE, MI_MAXIMUM_SECTION_SIZE, MI_WRITE_INVALID_PTE, MiGetSubsectionAddressForPte, MM4K_MASK, MM4K_SHIFT, MMPTE, MmSectionBasedMutex, MmSectionExtendResource, MmSectionExtendSetResource, _SUBSECTION::NextSubsection, NonPagedPool, _CONTROL_AREA::NonPagedPoolUsage, NT_SUCCESS, NTSTATUS(), NULL, _SUBSECTION::NumberOfFullSectors, PAGE_SHIFT, PAGE_SIZE, PAGED_CODE, PagedPool, _CONTROL_AREA::PagedPoolUsage, PSECTION, _SUBSECTION::PtesInSubsection, ROUND_TO_PAGES, _CONTROL_AREA::Segment, _SEGMENT::SegmentPteTemplate, _SEGMENT::SizeOfSegment, Status, SUBSECTION, _SUBSECTION::SubsectionBase, _SEGMENT::TotalNumberOfPtes, TRUE, _CONTROL_AREA::u, _SUBSECTION::u, _MMPTE::u, and _SUBSECTION::UnusedPtes. Referenced by CcInitializeCacheMap(), CcSetFileSizes(), MmCreateSection(), NtAllocateVirtualMemory(), and NtExtendSection().
|
|
Definition at line 2094 of file flushsec.c. References ASSERT, CheckImageSection, FALSE, LOCK_PFN, MiCheckControlArea(), MiCheckControlAreaStatus(), MiCleanSection(), MiHydra, MMFLUSH_TYPE, MmFlushForDelete, NULL, _CONTROL_AREA::NumberOfMappedViews, _LARGE_CONTROL_AREA::NumberOfSectionReferences, _CONTROL_AREA::NumberOfUserReferences, TRUE, _CONTROL_AREA::u, _LARGE_CONTROL_AREA::u, and UNLOCK_PFN. Referenced by MiCanFileBeTruncatedInternal(), and UdfPurgeVolume().
|
|
Definition at line 668 of file flushsec.c. References ASSERT, BYTE_OFFSET, FALSE, _CONTROL_AREA::FilePointer, _ETHREAD::ForwardClusterOnly, FsRtlAcquireFileForCcFlush(), FsRtlReleaseFileForCcFlush(), KeDelayExecutionThread(), KernelMode, LOCK_PFN, MiCheckControlArea(), MiFlushSectionInternal(), MmShortTime, _SUBSECTION::NextSubsection, NTSTATUS(), NULL, _CONTROL_AREA::NumberOfMappedViews, _CONTROL_AREA::NumberOfPfnReferences, Offset, PAGE_SHIFT, PsGetCurrentThread, _SUBSECTION::PtesInSubsection, _SUBSECTION::SubsectionBase, TRUE, _CONTROL_AREA::u, and UNLOCK_PFN. Referenced by CcFlushCache(), CcMapAndCopy(), CcMdlWriteComplete2(), CcPurgeAndClearCacheSection(), CcSetFileSizes(), CcUnpinRepinnedBcb(), and MiFlushDataSection().
|
|
Definition at line 297 of file flushsec.c. References ASSERT, _MMVAD::ControlArea, _MMVAD::EndingVpn, FALSE, _CONTROL_AREA::FilePointer, FsRtlAcquireFileForCcFlush(), FsRtlReleaseFileForCcFlush(), KeAttachProcess(), KeDelayExecutionThread(), KeDetachProcess(), KernelMode, LOCK_WS, LOCK_WS_AND_ADDRESS_SPACE, MI_IS_SESSION_ADDRESS, MI_IS_SYSTEM_CACHE_ADDRESS, MI_VA_TO_VPN, MI_VPN_TO_VA_ENDING, MiDoesPdeExistAndMakeValid(), MiDoesPpeExistAndMakeValid, MiFlushAcquire(), MiFlushDirtyBitsToPfn(), MiFlushRelease(), MiFlushSectionInternal(), MiGetPdeAddress, MiGetPpeAddress, MiGetProtoPteAddress, MiGetPteAddress, MiGetSystemCacheSubsection(), MiGetVirtualAddressMappedByPte, MiIsPteOnPdeBoundary, MiLocateAddress(), MiLocateSubsection(), MmShortTime, _SUBSECTION::NextSubsection, NTSTATUS(), NULL, PAGE_ALIGN, PAGE_SIZE, PAGED_CODE, PsGetCurrentProcess, _SUBSECTION::PtesInSubsection, Status, _SUBSECTION::SubsectionBase, TRUE, _MMVAD::u, UNLOCK_WS, and UNLOCK_WS_AND_ADDRESS_SPACE. Referenced by NtFlushVirtualMemory().
|
|
Definition at line 957 of file sectsup.c. References ASSERT, CheckBothSection, MiCheckControlAreaStatus(), MiCleanSection(), MiHydra, NULL, _CONTROL_AREA::NumberOfMappedViews, TRUE, _CONTROL_AREA::u, and UNLOCK_PFN.
|
|
Definition at line 5372 of file iosup.c. References ExFreePool(), MiFreeLowMemory(), MiNoLowMemory, PAGED_CODE, and TRUE. Referenced by IoFreeDumpStack(), Ki386ClearIdentityMap(), and MmAllocateContiguousMemorySpecifyCache().
|
|
Definition at line 5414 of file iosup.c. References ASSERT, ExFreePool(), MiFreeLowMemory(), MiGetPteAddress, MiNoLowMemory, MmCached, MmNonPagedSystemStart, MmNumberOfSystemPtes, MmUnmapIoSpace(), PAGE_SHIFT, PAGE_SIZE, PAGED_CODE, TRUE, and _MMPTE::u.
|
|
Definition at line 2106 of file sysload.c. References ASSERT, ExPageLockHandle, FALSE, MI_IS_SESSION_ADDRESS, MiDeleteSystemPagableVm(), MiGetPteAddress, MiReturnCommitment(), MM_BUMP_COUNTER, MM_DBG_COMMIT_RETURN_DRIVER_INIT_CODE, MM_TRACK_COMMIT, MmDriverCommit, MmLockPagableSectionByHandle(), MmResidentAvailablePages, MmUnlockPagableImageSection(), NULL, PAGE_SHIFT, ROUND_TO_PAGES, RtlImageNtHeader(), and ZeroKernelPte. Referenced by IopLoadDriver().
|
|
Definition at line 2005 of file mminit.c. References _MEMORY_ALLOCATION_DESCRIPTOR::BasePage, FreePageList, KeBugCheckEx(), KeFlushEntireTb(), KSEG0_BASE, _MEMORY_ALLOCATION_DESCRIPTOR::ListEntry, LoaderNlsData, LoaderOsloaderHeap, LoaderRegistryData, LOCK_PFN, _MEMORY_ALLOCATION_DESCRIPTOR::MemoryType, MI_IS_PHYSICAL_ADDRESS, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MI_WRITE_INVALID_PTE, MiDecrementShareCountOnly, MiGetPdeAddress, MiGetVirtualAddressMappedByPte, MiInsertPageInList(), MM_MAX_LOADER_BLOCKS, MmPageLocationList, MmVirtualBias, _MEMORY_ALLOCATION_DESCRIPTOR::PageCount, PTE_SHIFT, _MMPFN::PteAddress, TRUE, _MMPFN::u1, _MMPFN::u3, UNLOCK_PFN, ZeroKernelPte, and ZeroPte.
|
|
Definition at line 5721 of file iosup.c. References ASSERT, BYTES_TO_PAGES, ExPageLockHandle, LOCK_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MI_MAKING_MULTIPLE_PTES_INVALID, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MiDecrementShareAndValidCount, MiDecrementShareCountOnly, MiGetPteAddress, MiReleaseSystemPtes(), MiReturnCommitment(), MM_BUMP_COUNTER, MM_DBG_COMMIT_RETURN_NONCACHED_PAGES, MM_TRACK_COMMIT, MmLockPagableSectionByHandle(), MmResidentAvailablePages, MmUnlockPagableImageSection(), PAGE_ALIGN, _MMPFN::PteFrame, SystemPteSpace, TRUE, _MMPFN::u2, and UNLOCK_PFN.
|
|
Definition at line 5051 of file iosup.c. References ADDRESS_AND_SIZE_TO_SPAN_PAGES, APC_LEVEL, ASSERT, ExPageLockHandle, LOCK_PFN, MDL_IO_SPACE, MDL_PHYSICAL_VIEW, MI_IS_PFN_DELETED, MI_MAGIC_AWE_PTEFRAME, MI_MAKING_MULTIPLE_PTES_INVALID, MI_PFN_ELEMENT, MI_PFN_IS_AWE, MiDecrementReferenceCount(), MiReturnCommitment(), MM_BUMP_COUNTER, MM_DBG_COMMIT_RETURN_MDL_PAGES, MM_EMPTY_LIST, MM_TRACK_COMMIT, MmHighestPhysicalPage, MmLockPagableSectionByHandle(), MmMdlPagesAllocated, MmResidentAvailablePages, MmUnlockPagableImageSection(), PAGE_SIZE, StandbyPageList, TRUE, _MMPFN::u2, and UNLOCK_PFN. Referenced by MiCleanPhysicalProcessPages(), NtAllocateUserPhysicalPages(), and NtFreeUserPhysicalPages().
|
|
Definition at line 3742 of file allocpag.c. References APC_LEVEL, ASSERT, BYTE_OFFSET, DISPATCH_LEVEL, FALSE, Header, KeBugCheckEx(), KeFlushSingleTb(), KeQueryTickCount(), LOCK_PFN2, MI_FREED_SPECIAL_POOL_SIGNATURE, MI_GET_PAGE_FRAME_FROM_PTE, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MI_SPECIAL_POOL_PAGABLE, MI_SPECIAL_POOL_PTE_NONPAGABLE, MI_SPECIAL_POOL_PTE_PAGABLE, MI_SPECIAL_POOL_VERIFIER, MI_STACK_BYTES, MI_VERIFIER_POOL_HEADER, MiDecrementShareCount(), MiDeleteSystemPagableVm(), MiGetPteAddress, MiReturnCommitment(), MiSpecialPagesNonPaged, MiSpecialPagesPagable, MiSpecialPoolLastPte, MM_BUMP_COUNTER, MM_EMPTY_PTE_LIST, MM_KERNEL_NOACCESS_PTE, MM_NOACCESS, MmResidentAvailablePages, MmSpecialPagesInUse, MmSystemPteBase, NoAccessPte, NonPagedPool, NULL, _MI_FREED_SPECIAL_POOL::NumberOfBytesRequested, _MI_FREED_SPECIAL_POOL::Pagable, PAGE_ALIGN, PAGE_SIZE, PagedPool, PMI_FREED_SPECIAL_POOL, POOL_OVERHEAD, POOL_TYPE, PsGetCurrentThread, _MI_FREED_SPECIAL_POOL::Signature, _MI_FREED_SPECIAL_POOL::StackBytes, _MI_FREED_SPECIAL_POOL::StackData, _MI_FREED_SPECIAL_POOL::StackPointer, _MI_FREED_SPECIAL_POOL::Thread, _MI_FREED_SPECIAL_POOL::TickCount, TRUE, _MMPTE::u, UNLOCK_PFN2, USHORT, VerifierFreeTrackedPool(), _MI_FREED_SPECIAL_POOL::VirtualAddress, and ZeroKernelPte.
|
|
Definition at line 7930 of file iosup.c. References APC_LEVEL, FALSE, KeDelayExecutionThread(), KernelMode, LOCK_PFN2, MDL_PAGES_LOCKED, MI_GET_PAGE_COLOR_FROM_PTE, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MiDelayPageFaults, MiEmptyAllWorkingSets(), MiFlushAllPages(), MiRemoveAnyPage(), Mm30Milliseconds, MM_DEMAND_ZERO_WRITE_PTE, MmAvailablePages, NULL, _MMPFN::OriginalPte, PAGE_SHIFT, TRUE, _MMPTE::u, _MMPFN::u3, and UNLOCK_PFN2.
|
|
Definition at line 1392 of file modwrite.c. References Handle, MmCrashDumpSection, NT_SUCCESS, NTSTATUS(), NULL, ObInsertObject(), PAGED_CODE, and Status. Referenced by NtQuerySystemInformation().
|
|
Definition at line 1452 of file modwrite.c. References MmCrashDumpSection, NULL, and PAGED_CODE. Referenced by NtQuerySystemInformation().
|
|
Definition at line 1721 of file sectsup.c. References ExAllocatePoolWithTag, ExFreePool(), FALSE, FileName, KernelMode, MmSectionObjectType, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObQueryNameString(), ObReferenceObjectByHandle(), PagedPool, PSECTION, RtlUnicodeStringToAnsiString(), Status, TRUE, and xMAX_NAME. Referenced by DbgkCreateThread(), and DbgkpSectionHandleToFileHandle().
|
|
Definition at line 4466 of file modwrite.c. References _MMPAGING_FILE::CurrentUsage, MmNumberOfPagingFiles, MmPagingFile, PAGED_CODE, _MMPAGING_FILE::PageFileName, _MMPAGING_FILE::PeakUsage, ROUND_UP, and _MMPAGING_FILE::Size. Referenced by NtQuerySystemInformation().
|
|
Definition at line 5490 of file iosup.c. References BYTE_OFFSET, MI_CONVERT_PHYSICAL_TO_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MI_IS_PHYSICAL_ADDRESS, MiGetPteAddress, PAGE_SHIFT, _MMPTE::u, and ZERO_LARGE. Referenced by IoFreeDumpRange(), IopGetDumpStack(), IopInitializeDCB(), IopMapVirtualToPhysicalMdl(), IoSetDumpRange(), KdpStub(), KeStartAllProcessors(), Ki386BuildIdentityBuffer(), Ki386ConvertPte(), Ki386CreateIdentityMap(), KiGetPhysicalAddress(), MmAllocateContiguousMemorySpecifyCache(), MmDbgWriteCheck(), MmHibernateInformation(), and MmMapUserAddressesToPage().
|
|
Definition at line 1032 of file dynmem.c. References ASSERT, _PHYSICAL_MEMORY_RANGE::BaseAddress, _PHYSICAL_MEMORY_RUN::BasePage, ExAllocatePoolWithTag, LOCK_PFN, MmDynamicMemoryMutex, MmPhysicalMemoryBlock, NonPagedPool, NULL, _PHYSICAL_MEMORY_RANGE::NumberOfBytes, _PHYSICAL_MEMORY_DESCRIPTOR::NumberOfRuns, PAGE_SIZE, _PHYSICAL_MEMORY_RUN::PageCount, PASSIVE_LEVEL, PHYSICAL_MEMORY_RANGE, _PHYSICAL_MEMORY_DESCRIPTOR::Run, and UNLOCK_PFN.
|
|
Definition at line 6797 of file iosup.c. References ExAcquireResourceShared, ExReleaseResource, KeEnterCriticalRegion, KeLeaveCriticalRegion, MiLookupDataTableEntry(), NTSTATUS(), PAGED_CODE, PsLoadedModuleResource, RtlImageNtHeader(), Status, and TRUE.
|
|
Definition at line 6808 of file sysload.c. References ASSERT, ExAcquireResourceShared, ExReleaseResource, FALSE, KeDelayExecutionThread(), KeEnterCriticalRegion, KeLeaveCriticalRegion, KernelMode, L, MiFindExportedRoutineByName(), MmShortTime, NT_SUCCESS, NTSTATUS(), NULL, PASSIVE_LEVEL, PsLoadedModuleList, PsLoadedModuleResource, RtlEqualUnicodeString(), RtlFreeAnsiString(), RtlInitUnicodeString(), RtlUnicodeStringToAnsiString(), Status, and TRUE.
|
|
Definition at line 4046 of file verifier.c. References _MI_VERIFIER_DRIVER_ENTRY::BaseName, _MI_VERIFIER_DRIVER_ENTRY::CurrentNonPagedPoolAllocations, _MI_VERIFIER_DRIVER_ENTRY::CurrentPagedPoolAllocations, EXCEPTION_EXECUTE_HANDLER, ExRaiseStatus(), FALSE, _MI_VERIFIER_DRIVER_ENTRY::Flags, KeEnterCriticalRegion, KeLeaveCriticalRegion, KeReleaseMutant(), KernelMode, KeWaitForSingleObject(), _MI_VERIFIER_DRIVER_ENTRY::Loads, MiSuspectDriverList, MmSystemLoadLock, MmVerifierData, _MI_VERIFIER_DRIVER_ENTRY::NonPagedBytes, NTSTATUS(), NULL, PAGED_CODE, _MI_VERIFIER_DRIVER_ENTRY::PagedBytes, _MI_VERIFIER_DRIVER_ENTRY::PeakNonPagedBytes, _MI_VERIFIER_DRIVER_ENTRY::PeakNonPagedPoolAllocations, _MI_VERIFIER_DRIVER_ENTRY::PeakPagedBytes, _MI_VERIFIER_DRIVER_ENTRY::PeakPagedPoolAllocations, ROUND_UP, Status, _MI_VERIFIER_DRIVER_ENTRY::Unloads, VI_VERIFYING_DIRECTLY, and WrVirtualMemory. Referenced by NtQuerySystemInformation().
|
|
Definition at line 5542 of file iosup.c. References BYTE_OFFSET, MI_PFN_ELEMENT, MiGetVirtualAddressMappedByPte, PAGE_SHIFT, and _MMPFN::PteAddress. Referenced by MmSetKernelDumpRange().
|
|
Definition at line 2921 of file procsup.c. References ASSERT, LOCK_PFN, MI_GET_PAGE_COLOR_FROM_PTE, MI_MAKE_VALID_PTE, MI_SET_PTE_DIRTY, MiEnsureAvailablePageOrWait(), MiGetPteAddress, MiGetVirtualAddressMappedByPte, MiInitializePfn(), MiRemoveAnyPage(), MM_BUMP_COUNTER, MM_KERNEL_DEMAND_ZERO_PTE, MM_KSTACK_OUTSWAPPED, MM_READWRITE, MmKernelStackResident, MmResidentAvailablePages, NULL, PAGE_SIZE, PERFINFO_GROW_STACK, PsGetCurrentThread, _KTHREAD::StackBase, _KTHREAD::StackLimit, _ETHREAD::Tcb, _MMPTE::u, and UNLOCK_PFN.
|
|
Definition at line 1503 of file mmsup.c. References MiGetVirtualAddressMappedByPte, MmCrashDumpPte, MmGetPhysicalAddress(), PO_MEM_CLONE, and PoSetHiberRange().
|
|
Definition at line 1582 of file mminit.c. References ASSERT, _MEMORY_ALLOCATION_DESCRIPTOR::BasePage, FALSE, _MEMORY_ALLOCATION_DESCRIPTOR::ListEntry, LoaderMaximum, _MEMORY_ALLOCATION_DESCRIPTOR::MemoryType, _MEMORY_ALLOCATION_DESCRIPTOR::PageCount, TotalPages, and TRUE. Referenced by IopInitializeResourceMap(), and MmInitSystem().
|
|
Definition at line 911 of file procsup.c. References _2gb, ASSERT, DbgPrint, ExAllocatePoolWithTag, ExFreePool(), ExInitializeFastMutex, ExVerifySuite(), FALSE, HYPER_SPACE, KeAttachProcess(), KeDetachProcess(), KeInitializeSpinLock(), KeQuerySystemTime(), _LOCK_HEADER::ListHead, LOCK_HEADER, LOCK_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MI_MAKE_VALID_PTE, MI_SET_PTE_DIRTY, MI_WRITE_VALID_PTE, MiAllocateVad(), MiCheckForConflictingVad, MiCloneProcessAddressSpace(), MiGetPdeAddress, MiGetPpeAddress, MiGetPteAddress, MiInitializeAlternateTable(), MiInitializePfn(), MiInitializeWorkingSetList(), MiInsertVad(), MM_DBG_PTE_UPDATE, MM_DEMAND_ZERO_WRITE_PTE, MM_READWRITE, MmMapViewOfSection(), MmTrackLockedPages, MmVirtualBias, MmWorkingSetList, n, NonPagedPool, NTSTATUS(), NULL, PAGE_SHIFT, PSECTION, PWOW64_PROCESS, Status, TRUE, UNLOCK_PFN, VadTreeWalk(), WOW64_PROCESS, and ZERO_LARGE. Referenced by MiInitMachineDependent(), and PspCreateProcess().
|
|
Definition at line 184 of file mminit.c. References ActiveAndValid, _MMPAGE_FILE_EXPANSION::ActualExpansion, ASSERT, _EPROCESS::AweLock, _PHYSICAL_MEMORY_RUN::BasePage, BBTPagesToReserve, CHAR, DbgPrint, _MMPAGE_FILE_EXPANSION::Event, ExAcquireResourceExclusive, ExAllocatePoolWithTag, ExInitializeFastMutex, ExInitializeResource, ExpMultiUserTS, ExReleaseResource, ExVerifySuite(), FALSE, _MMPAGE_FILE_EXPANSION::InProgress, KeBalanceSetManager(), KeInitializeDpc(), KeInitializeEvent, KeInitializeMutant(), KeInitializeSpinLock(), KeInitializeTimerEx(), KeSwapProcessOrStack(), KSEG0_BASE, L, _MMWORKING_SET_EXPANSION_HEAD::ListHead, _MMINPAGE_SUPPORT_LIST::ListHead, _MMEVENT_COUNT_LIST::ListHead, LoaderBad, LoaderBBTMemory, LoaderFirmwarePermanent, LoaderMaximum, LoaderSpecialMemory, LOCK_PFN, MAX_PHYSICAL_MEMORY_FRAGMENTS, MI_EXTEND_ANY_PAGEFILE, MI_GET_PAGE_COLOR_FROM_PTE, MI_GET_PAGE_FRAME_FROM_PTE, MI_MAKE_VALID_PTE, MI_PFN_ELEMENT, MI_SESSION_IMAGE_SIZE, MI_SESSION_SPACE_END, MI_SESSION_SPACE_TOTAL_SIZE, MI_WRITE_VALID_PTE, MiAddSystemPtes(), MiAdjustWorkingSetManagerParameters(), MiBuildPagedPool(), MiChargeCommitmentCantExpand(), MiDumpPfn(), MiDumpValidAddresses(), MiEnableKernelVerifier(), MiEnablePagingTheExecutive(), MiFillMemoryPte, MiFormatPte(), MiGetPdeAddress, MiGetPpeAddress, MiGetPteAddress, MiGetSubsectionAddress, MiGetSubsectionAddressForPte, MiGetVirtualAddressMappedByPte, MiHighestUserPde, MiHighestUserPte, MiHydra, MiInitializeDriverVerifierList(), MiInitializeIoTrackers(), MiInitializeLoadedModuleList(), MiInitializePfn(), MiInitializeSessionIds(), MiInitializeSessionWsSupport(), MiInitializeSpecialPoolCriteria(), MiInitializeSystemCache(), MiInitMachineDependent(), MiIsPteOnPdeBoundary, MiMapBBTMemory(), MiMappedPagesTooOldEvent, MiMaximumSystemCacheSizeExtra, MiMaximumWorkingSet, MiMergeMemoryLimit(), MiModifiedPageLife, MiModifiedPageWriter(), MiModifiedPageWriterTimer, MiModifiedPageWriterTimerDispatch(), MiModifiedPageWriterTimerDpc, MiProtoAddressForPte, MiPteStr, MiPteToProto, MiReloadBootLoadedDrivers(), MiRemoveAnyPage(), MiRemoveZeroPage(), MiRequestedSystemPtes, MiSectionInitialization(), MiSessionBasePte, MiSessionLastPte, MiSessionWideInitializeAddresses(), MiSystemCacheEndExtra, MiSystemCacheStartExtra, MiSystemViewStart, MiTriageSystem(), MiTrimInProgressCount, MiWriteProtectSystemImage(), Mm64BitPhysicalAddress, MM_BOOT_IMAGE_SIZE, MM_DBG_CHECK_PFN_LOCK, MM_DBG_COMMIT_EXTRA_SYSTEM_PTES, MM_DBG_DUMP_BOOT_PTES, MM_DEFAULT_SYSTEM_PTES, MM_DEMAND_ZERO_WRITE_PTE, MM_FLUID_PHYSICAL_PAGES, MM_MAXIMUM_SYSTEM_PTES, MM_MAXIMUM_WORKING_SET, MM_MEDIUM_SYSTEM, MM_MINIMUM_SYSTEM_PTES, MM_NONPAGED_POOL_END, MM_READONLY, MM_SESSION_SPACE_DEFAULT, MM_SMALL_SYSTEM, MM_SPECIAL_POOL_PTES, MM_SYSTEM_CACHE_END, MM_SYSTEM_CACHE_START, MM_SYSTEM_CACHE_START_EXTRA, MM_SYSTEM_VIEW_SIZE, MM_SYSTEM_VIEW_SIZE_IF_HYDRA, MM_SYSTEM_VIEW_START, MM_SYSTEM_VIEW_START_IF_HYDRA, MM_TRACK_COMMIT, MmAttemptForCantExtend, MmAvailablePages, MmAvailablePagesEvent, MmAvailablePagesEventHigh, MmChargeCommitmentLock, MmCodeClusterSize, MmCollidedFlushEvent, MmCollidedLockEvent, MmCriticalSectionTimeout, MmCritsectTimeoutSeconds, MmDataClusterSize, MmDontVerifyRandomDrivers, MmDynamicMemoryMutex, MmEnforceWriteProtection, MmEventCountList, MmExpansionLock, MmHardFaultNotifyRoutine, MmHeapDeCommitFreeBlockThreshold, MmHeapDeCommitTotalFreeThreshold, MmHeapSegmentCommit, MmHeapSegmentReserve, MmHighestUserAddress, MmHighSectionBase, MmImageMappingPteEvent, MmInitializeMemoryLimits(), MmInPageSupportList, MmLargeSystem, MmLargeSystemCache, MmLoadedUserImageList, MmLockConflictList, MmLockPagesLimit, MmLockPagesPercentage, MmMappedFileIoComplete, MmMaximumDeadKernelStacks, MmMaximumNonPagedPoolInBytes, MmMaximumWorkingSetSize, MmMaxUnusedSegmentNonPagedPoolUsage, MmMaxUnusedSegmentPagedPoolUsage, MmMediumSystem, MmMinimumFreePages, MmModifiedPageLifeInSeconds, MmModifiedPageMaximum, MmModifiedPageMinimum, MmModifiedPageWriterEvent, MmMoreThanEnoughFreePages, MmNonPagedSystemStart, MmNumberOfPhysicalPages, MmNumberOfSystemPtes, MmOverCommit, MmPagedPoolEnd, MmPagedPoolStart, MmPageFaultNotifyRoutine, MmPageFileCreationLock, MmPhysicalMemoryBlock, MmProductType, MmProtectFreedNonPagedPool, MmReadClusterSize, MmResidentAvailableAtInit, MmResidentAvailablePages, MmSectionBasedMutex, MmSectionCommitMutex, MmSectionExtendResource, MmSectionExtendSetResource, MmSessionBase, MmSessionSpace, MmSharedUserDataPte, MmSizeOfPagedPoolInBytes, MmSizeOfSystemCacheInPages, MmSmallSystem, MmSnapUnloads, MmSpecialPoolTag, MmSystemCacheEnd, MmSystemCacheStart, MmSystemCacheWorkingSetList, MmSystemCacheWsMaximum, MmSystemCacheWsMinimum, MmSystemLoadLock, MmSystemRangeStart, MmSystemSize, MmSystemWsLock, MmThrottleBottom, MmThrottleTop, MmTotalCommitLimit, MmTotalCommitLimitMaximum, MmTrackLockedPages, MmTrackPtes, MmUnusedSegmentNonPagedPoolReduction, MmUnusedSegmentPagedPoolReduction, MmUnusedSegmentTrimLevel, MmUserProbeAddress, MmVerifyDriverBufferLength, MmVirtualBias, MmWorkingSetExpansionHead, MmWorkingSetManagerEvent, MmZeroingPageEvent, MmZeroingPageThreadActive, NON_PAGED_SYSTEM_END, NonPagedPoolMustSucceed, NT_SUCCESS, NULL, _PHYSICAL_MEMORY_DESCRIPTOR::NumberOfPages, _PHYSICAL_MEMORY_DESCRIPTOR::NumberOfRuns, ObjectAttributes, _MMPFN::OriginalPte, PAGE_SHIFT, PAGE_SIZE, _PHYSICAL_MEMORY_RUN::PageCount, _MMPAGE_FILE_EXPANSION::PageFileNumber, PDE_KTBASE, _EPROCESS::PhysicalVadList, PsCreateSystemThread(), PsGetCurrentProcess, PsLoadedModuleList, PsLoadedModuleResource, PTE_PER_PAGE, PTE_SHIFT, _MMPFN::PteAddress, _MMPFN::PteFrame, _MMPAGE_FILE_EXPANSION::RequestedExpansionSize, RtlImageNtHeader(), _PHYSICAL_MEMORY_DESCRIPTOR::Run, _MMPAGE_FILE_EXPANSION::Segment, SystemPteSpace, ThreadHandle, TRUE, _MMPTE::u, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, ValidKernelPde, ValidKernelPte, and ZeroKernelPte.
|
|
Definition at line 3445 of file procsup.c. References ASSERT, KeBugCheckEx(), KernelDemandZeroPte, LOCK_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MiGetPteAddress, MiGetVirtualAddressMappedByPte, MiMakeOutswappedPageResident(), MM_KERNEL_DEMAND_ZERO_PTE, MM_KSTACK_OUTSWAPPED, MmKernelStackResident, NtGlobalFlag, PAGE_SIZE, _MMPTE::u, and UNLOCK_PFN. Referenced by KiInSwapKernelStacks().
|
|
Definition at line 3910 of file procsup.c. References _MMSUPPORT::AllowWorkingSetAdjustment, ASSERT, FALSE, HYPER_SPACE, INITIALIZE_DIRECTORY_TABLE_BASE, _MMWORKING_SET_EXPANSION_HEAD::ListHead, LOCK_EXPANSION, LOCK_PFN, MI_CONVERT_PHYSICAL_TO_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MI_IS_PHYSICAL_ADDRESS, MI_PFN_ELEMENT, MiGetPdeAddress, MiGetPdeOffset, MiGetPpeAddress, MiGetPpeOffset, MiGetPteAddress, MiGetPteOffset, MiHydra, MiMakeOutswappedPageResident(), MiMapPageInHyperSpace(), MiSessionInSwapProcess(), MiUnmapPageInHyperSpace, MM_WS_SWAPPED_OUT, MmWorkingSetExpansionHead, MmWorkingSetList, _EPROCESS::PaePageDirectoryPage, _EPROCESS::PaeTop, PAGE_SHIFT, _EPROCESS::PageDirectoryPte, _EPROCESS::ProcessOutswapEnabled, _EPROCESS::ProcessOutswapped, _MMPFN::PteAddress, _MMPFN::PteFrame, TRUE, _MMPTE::u, _MMSUPPORT::u, _MMPFN::u1, _MMPFN::u2, UNLOCK_EXPANSION, UNLOCK_PFN, _EPROCESS::Vm, _MMSUPPORT::WorkingSetExpansionLinks, _EPROCESS::WorkingSetPage, and _MMSUPPORT::WorkingSetSize. Referenced by KiInSwapProcesses().
|
|
Definition at line 3883 of file pagfault.c. References FALSE, MI_IS_PHYSICAL_ADDRESS, MiGetPdeAddress, MiGetPpeAddress, MiGetPteAddress, MiGetVirtualAddressMappedByPde, TRUE, and _MMPTE::u. Referenced by IoFreeDumpRange(), IopCreateSummaryDump(), IopDriverCorrectnessProcessParams(), IopIsAddressRangeValid(), IopIsMemoryRangeReadable(), IoSetDumpRange(), IovpSeedStack(), MiDecrementShareCount(), MiDetachSession(), MiGatherMappedPages(), MiInitMachineDependent(), MiInsertPageInList(), MiInsertStandbyListAtFront(), MiLoadSystemImage(), MiMakeSystemAddressValid(), MiMakeSystemAddressValidPfn(), MiMakeSystemAddressValidPfnSystemWs(), MiMakeSystemAddressValidPfnWs(), MiRemoveImageSessionWide(), MiRestoreTransitionPte(), MiSegmentDelete(), MiSessionAddProcess(), MiSessionCommitImagePages(), MiSessionCommitPageTables(), MiSessionCreateInternal(), MiSessionRemoveProcess(), MiSessionWideReserveImageAddress(), MiSetPagingOfDriver(), MiShareSessionImage(), MiWaitForInPageComplete(), MmDbgReadCheck(), MmDbgReleaseAddress(), MmDbgTranslatePhysicalAddress(), MmDbgTranslatePhysicalAddress64(), MmDbgWriteCheck(), MmMapViewInSessionSpace(), MmSessionCreate(), MmSessionDelete(), MmSessionSetUnloadAddress(), MmSetKernelDumpRange(), MmUnmapViewInSessionSpace(), MmWorkingSetManager(), NtLockVirtualMemory(), NtUnlockVirtualMemory(), RtlWalkFrameChain(), and VerifierFreeTrackedPool().
|
|
|
|
Definition at line 5146 of file allocpag.c. References MI_IS_SESSION_ADDRESS. Referenced by KeBugCheckEx().
|
|
Definition at line 1460 of file mmsup.c. References FALSE, MmPagedPoolEnd, MmPagedPoolStart, and TRUE. Referenced by MmBuildMdlForNonPagedPool().
|
|
Definition at line 5177 of file allocpag.c. References ASSERT, FALSE, MI_SPECIAL_POOL_PTE_NONPAGABLE, MI_SPECIAL_POOL_PTE_PAGABLE, MiGetPteAddress, MmSpecialPoolEnd, MmSpecialPoolStart, TRUE, and _MMPTE::u. Referenced by KeBugCheckEx().
|
|
Referenced by KdpPageInData(). |
|
Referenced by IovpCompleteRequest3(), and IovpInternalDeferredCompletion(). |
|
Definition at line 3087 of file mminit.c. References MmProductType. Referenced by CcInitializeCacheManager(), ExpWorkerInitialization(), ExpWorkerThread(), FsRtlInitializeTunnels(), IoInitSystem(), MiBuildPagedPool(), ObInitSystem(), and PsChangeQuantumTable().
|
|
Definition at line 379 of file sysload.c. References FALSE, MiLoadSystemImage(), PAGED_CODE, and TRUE. Referenced by IopLoadDumpDriver().
|
|
Definition at line 315 of file sysload.c. References FALSE, MiLoadSystemImage(), and PAGED_CODE. Referenced by IopLoadDriver(), MiResolveImageReferences(), and NtSetSystemInformation().
|
|
Definition at line 2836 of file sysload.c. References _UNLOADED_DRIVERS::EndAddress, Index, MI_UNLOADED_DRIVERS, MiLastUnloadedDriver, MiUnloadedDrivers, _UNLOADED_DRIVERS::Name, NULL, and _UNLOADED_DRIVERS::StartAddress. Referenced by KeBugCheckEx(), and KiDumpParameterImages().
|
|
Definition at line 6864 of file iosup.c. References DbgPrint, ExAcquireResourceShared, ExReleaseResource, KeBugCheckEx(), KeEnterCriticalRegion, KeLeaveCriticalRegion, MI_IS_PHYSICAL_ADDRESS, MiLookupDataTableEntry(), MM_DBG_LOCK_CODE, MmLockPagableSectionByHandle(), NULL, PAGED_CODE, PsLoadedModuleResource, RtlImageNtHeader(), SECTION_BASE_ADDRESS, and TRUE. Referenced by SmbTraceStart().
|
|
Definition at line 6284 of file iosup.c. References ASSERT, FALSE, KeEnterCriticalRegion, KeLeaveCriticalRegion, KePulseEvent(), KernelMode, KeWaitForSingleObject(), LOCK_PFN2, LOCK_SYSTEM_WS, MI_IS_PHYSICAL_ADDRESS, MI_IS_SYSTEM_CACHE_ADDRESS, MiGetPteAddress, MiLockCode(), MiMakeSystemAddressValidPfnSystemWs(), MM_LOCK_BY_REFCOUNT, MmCollidedLockEvent, MmCollidedLockWait, MmSystemRangeStart, NULL, SECTION_BASE_ADDRESS, TRUE, UNLOCK_PFN2, UNLOCK_PFN_AND_THEN_WAIT, UNLOCK_SYSTEM_WS, UNLOCK_SYSTEM_WS_NO_IRQL, and WrVirtualMemory. Referenced by ExpGetLockInformation(), ExpGetLookasideInformation(), ExpGetPoolInformation(), ExpGetProcessInformation(), KeSetPhysicalCacheTypeRange(), KiAmdK6MtrrSetMemoryType(), MiEmptyAllWorkingSets(), MiFindContiguousMemory(), MiLoadSystemImage(), MiMapViewInSystemSpace(), MiSetPagingOfDriver(), MiShareSessionImage(), MiUnmapLockedPagesInUserSpace(), MiUnmapViewInSystemSpace(), MmAdjustWorkingSetSize(), MmAllocateNonCachedMemory(), MmAllocatePagesForMdl(), MmFreeDriverInitialization(), MmFreeNonCachedMemory(), MmFreePagesFromMdl(), MmLockPagableDataSection(), MmLockPagedPool(), MmMapViewOfSection(), MmResetDriverPaging(), MmShutdownSystem(), MmUnloadSystemImage(), MmUnlockPagedPool(), NtQueryVirtualMemory(), PspQueryPooledQuotaLimits(), PspQueryQuotaLimits(), PspQueryWorkingSetWatch(), and PspSetQuotaLimits().
|
|
Definition at line 7821 of file iosup.c. References ExPageLockHandle, LOCK_PFN, LOCK_SYSTEM_WS, MiGetPteAddress, MiLockCode(), MM_LOCK_BY_REFCOUNT, MmLockPagableSectionByHandle(), MmUnlockPagableImageSection(), UNLOCK_PFN, and UNLOCK_SYSTEM_WS. Referenced by Ke386SetDescriptorProcess(), and MiSetImageProtect().
|
|
Definition at line 6495 of file sysload.c. References KeFlushCurrentTb(), MI_IS_PHYSICAL_ADDRESS, MI_MAKE_VALID_PTE, MI_WRITE_VALID_PTE_NEW_PROTECTION, MiGetVirtualAddressMappedByPte, MM_READWRITE, NULL, and _MMPTE::u. Referenced by KeGetBugMessageText().
|
|
Definition at line 3415 of file iosup.c. References ASSERT, BYTE_OFFSET, _MDL::ByteCount, _MDL::ByteOffset, COMPUTE_PAGES_SPANNED, ExAllocatePoolWithTag, FALSE, KeFeatureBits, KeFlushEntireTb(), KeInvalidateAllCaches(), KeSetPhysicalCacheTypeRange(), KF_PAT, _MDL::MappedSystemVa, MI_DISABLE_CACHING, MI_SET_PTE_WRITE_COMBINE, MI_WRITE_VALID_PTE, MiGetVirtualAddressMappedByPte, MiInsertPteTracker(), MiLockSystemSpace, MiReleaseDeadPteTrackers(), MiReleaseSystemPtes(), MiReserveSystemPtes(), MiSweepCacheMachineDependent(), MiTrackPtesAborted, MiUnlockSystemSpace, MiWriteCombiningPtes, MM_COLOR_ALIGNMENT, MM_COLOR_MASK_VIRTUAL, MmCached, MmMaximumCacheType, MmNonCached, MmTrackPtes, MmUSWCCached, MmWriteCombined, NonPagedPool, NT_SUCCESS, NTSTATUS(), NULL, PAGE_SHIFT, RtlGetCallersAddress(), _MDL::StartVa, Status, SystemPteSpace, TRUE, _MMPTE::u, and ValidKernelPte. Referenced by CmpFindACPITable(), DriverEntry(), MmAllocateContiguousMemorySpecifyCache(), MmMapVideoDisplay(), and VerifierMapIoSpace().
|
|
Definition at line 2009 of file iosup.c. References HighPagePriority, MmCached, MmMapLockedPagesSpecifyCache(), NULL, and TRUE. Referenced by VerifierMapLockedPages().
|
|
Definition at line 2058 of file iosup.c. References ASSERT, COMPUTE_PAGES_SPANNED, ExAllocatePoolWithTag, ExFreePool(), FALSE, HighPagePriority, KeFlushEntireTb(), KeInvalidateAllCaches(), KernelMode, LOCK_PFN2, MDL_IO_SPACE, MDL_MAPPED_TO_SYSTEM_VA, MDL_MAPPING_CAN_FAIL, MDL_PAGES_LOCKED, MDL_PARTIAL, MDL_PARTIAL_HAS_BEEN_MAPPED, MDL_PHYSICAL_VIEW, MDL_SOURCE_IS_NONPAGED_POOL, MI_DISABLE_CACHING, MI_PFN_ELEMENT, MI_SET_PTE_WRITE_COMBINE, MI_WRITE_VALID_PTE, MiGetPteAddress, MiGetSystemPteAvailability(), MiGetVirtualAddressMappedByPte, MiInsertPteTracker(), MiLockSystemSpace, MiMapLockedPagesInUserSpace(), MiReleaseDeadPteTrackers(), MiReleaseSystemPtes(), MiReserveSystemPtes(), MiSweepCacheMachineDependent(), MiTrackPtesAborted, MiUnlockSystemSpace, MiWriteCombiningPtes, MM_COLOR_ALIGNMENT, MM_COLOR_MASK, MM_COLOR_MASK_VIRTUAL, MM_EMPTY_LIST, MM_KSEG0_BASE, MmCached, MmHardwareCoherentCached, MmNonCached, MmNonCachedUnordered, MmSystemLockPagesCount, MmTrackPtes, MmWriteCombined, NonPagedPool, NULL, PAGE_SHIFT, PAGE_SIZE, PTE_SHIFT, RtlGetCallersAddress(), SystemPteSpace, TRUE, _MMPTE::u, _MMPFN::u3, UNLOCK_PFN2, and ValidKernelPte. Referenced by MiCloneProcessAddressSpace(), MiDoMappedCopy(), MmMapLockedPages(), NtStartProfile(), and VerifierMapLockedPagesSpecifyCache().
|
|
Definition at line 7197 of file iosup.c. References ASSERT, BYTES_TO_PAGES, KiFlushSingleTb(), MiGetVirtualAddressMappedByPte, MM_KERNEL_DEMAND_ZERO_PTE, MmCrashDumpPte, PAGE_SHIFT, PAGE_SIZE, TRUE, _MMPTE::u, and ValidKernelPte. Referenced by IopMapPhysicalMemory(), and IopWritePageToDisk().
|
|
Definition at line 5161 of file iosup.c. References _EPROCESS::AddressSpaceDeleted, ASSERT, _MMVAD::EndingVpn, KeFlushEntireTb(), KeFlushSingleTb(), LOCK_PFN, LOCK_WS_AND_ADDRESS_SPACE, MI_VA_TO_VPN, MI_VPN_TO_VA, MI_VPN_TO_VA_ENDING, MiFillMemoryPte, MiGetPteAddress, MiLocateAddress(), MmGetPhysicalAddress(), NTSTATUS(), NULL, PAGE_SHIFT, PAGED_CODE, PsGetCurrentProcess, _MMVAD::StartingVpn, Status, TRUE, _MMVAD::u, _MMPTE::u, UNLOCK_PFN, UNLOCK_WS_AND_ADDRESS_SPACE, and VOID().
|
|
Definition at line 7516 of file iosup.c. References ASSERT, BYTE_OFFSET, COMPUTE_PAGES_SPANNED, ExAllocatePoolWithTag, ExFreePool(), FALSE, MI_DISABLE_CACHING, MI_SET_GLOBAL_STATE, MI_WRITE_VALID_PTE, MiFillMemoryPte, MiGetSubsectionAddressForPte, MiGetVirtualAddressMappedByPte, MiProtoAddressForPte, MiReleaseSystemPtes(), MiReserveSystemPtes(), MM_NOCACHE, MM_READWRITE, MM_VA_MAPPED_BY_PDE, MM_ZERO_KERNEL_PTE, MmMapIoSpace(), MmPageSizeInfo, MMPTE, NonPagedPool, NULL, PAGE_SHIFT, PAGE_SIZE, PAGED_CODE, PagedPool, PTE_SHIFT, _SUBSECTION::PtesInSubsection, _SUBSECTION::StartingSector, _SUBSECTION::SubsectionBase, SystemPteSpace, TRUE, _MMPTE::u, _SUBSECTION::u, ValidKernelPte, X64K, and ZeroKernelPte.
|
|
Definition at line 3211 of file mapview.c. References ASSERT, MiHydra, MiMapViewInSystemSpace(), MmIsAddressValid(), MmSession, MmSessionSpace, PAGED_CODE, PsGetCurrentProcess, _MM_SESSION_SPACE::Session, and TRUE.
|
|
Definition at line 63 of file mapcache.c. References ASSERT, _SEGMENT::ControlArea, KeBugCheckEx(), KeFlushEntireTb(), L, LOCK_PFN, MiGetPteAddress, MiGetVirtualAddressMappedByPte, MiProtoAddressForKernelPte, MM_COLOR_MASK, MM_EMPTY_LIST, MM_EMPTY_PTE_LIST, MmFirstFreeSystemCache, MmFlushSystemCache, MmSystemCacheEnd, MmSystemCachePteBase, _SUBSECTION::NextSubsection, NULL, _CONTROL_AREA::NumberOfMappedViews, _CONTROL_AREA::NumberOfSectionReferences, _CONTROL_AREA::NumberOfSystemCacheViews, PAGE_SHIFT, PAGE_SIZE, PSECTION, PTE_SHIFT, _SUBSECTION::PtesInSubsection, _CONTROL_AREA::Segment, _SUBSECTION::SubsectionBase, TRUE, _CONTROL_AREA::u, _MMPTE::u, UNLOCK_PFN, and ZeroKernelPte. Referenced by CcGetVacbMiss().
|
|
|
|
Definition at line 753 of file mapview.c. References _SEGMENT::ControlArea, EXCEPTION_EXECUTE_HANDLER, ExPageLockHandle, FALSE, _SEGMENT::ImageCommitment, KeAttachProcess(), KeDetachProcess(), LOCK_ADDRESS_SPACE, MiMakeProtectionMask(), MiMapViewOfDataSection(), MiMapViewOfImageSection(), MiMapViewOfPhysicalSection(), MmLockPagableSectionByHandle(), MmUnlockPagableImageSection(), NTSTATUS(), PAGED_CODE, PSECTION, PsGetCurrentProcess, _CONTROL_AREA::Segment, TRUE, _CONTROL_AREA::u, UNLOCK_ADDRESS_SPACE, and UNLOCK_WS_AND_ADDRESS_SPACE. Referenced by CommitReadOnlyMemory(), InitMapSharedSection(), MapDesktop(), MiGetWritablePagesInSection(), MiLoadImageSection(), MmCreatePeb(), MmInitializeProcessAddressSpace(), NtAcceptConnectPort(), NtMapViewOfSection(), NtMapViewOfSuperSection(), NtSecureConnectPort(), PspMapSystemDll(), and UserCreateHeap().
|
|
Definition at line 730 of file dmpaddr.c. Referenced by NtQuerySystemInformation().
|
|
Definition at line 3180 of file procsup.c. References ASSERT, Count, KeFlushEntireTb(), KeFlushMultipleTb(), KernelDemandZeroPte, LOCK_PFN, MAX_STACK_PAGES, MI_GET_PAGE_FRAME_FROM_PTE, MI_MAKE_VALID_PTE_TRANSITION, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MiDecrementShareAndValidCount, MiDecrementShareCount(), MiDecrementShareCountOnly, MiGetPteAddress, MM_BUMP_COUNTER, MM_KSTACK_OUTSWAPPED, MM_MAXIMUM_FLUSH_COUNT, MmKernelStackResident, MmResidentAvailablePages, NtGlobalFlag, _MMPFN::OriginalPte, PAGE_SHIFT, PAGE_SIZE, _MMPFN::PteFrame, TRUE, _MMPTE::u, UNLOCK_PFN, and ZeroPte. Referenced by KiOutSwapKernelStacks().
|
|
Definition at line 3590 of file procsup.c. References _MMSUPPORT::AllowWorkingSetAdjustment, ASSERT, _KPROCESS::DirectoryTableBase, FALSE, LOCK_EXPANSION, LOCK_PFN, MI_CONVERT_PHYSICAL_TO_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MI_IS_PHYSICAL_ADDRESS, MI_MAKE_VALID_PTE_TRANSITION, MI_PFN_ELEMENT, MiDecrementShareCount(), MiGetPdeOffset, MiGetPpeOffset, MiGetPteAddress, MiGetPteOffset, MiHydra, MiMapPageInHyperSpace(), MiSessionOutSwapProcess(), MiUnmapPageInHyperSpace, MM_DBG_SWAP_PROCESS, MM_IO_IN_PROGRESS, MM_PROCESS_COMMIT_CHARGE, MM_READWRITE, MM_WS_SWAPPED_OUT, MmWorkingSetList, _EPROCESS::PaeTop, _EPROCESS::PageDirectoryPte, _EPROCESS::Pcb, PMMPTE, _EPROCESS::ProcessOutswapEnabled, _EPROCESS::ProcessOutswapped, _MMPFN::PteAddress, _MMPFN::PteFrame, TRUE, _MMSUPPORT::u, _MMPTE::u, _MMPFN::u2, _MMPFN::u3, UNLOCK_EXPANSION, UNLOCK_PFN, _EPROCESS::Vm, _MMSUPPORT::WorkingSetExpansionLinks, _EPROCESS::WorkingSetPage, and _MMSUPPORT::WorkingSetSize. Referenced by KiOutSwapProcesses().
|
|
Definition at line 2472 of file sysload.c. References FALSE, MI_IS_SESSION_IMAGE_ADDRESS, MiGetPteAddress, MiLookupDataTableEntry(), MiSetPagingOfDriver(), MmDisablePagingExecutive, NULL, PAGE_SHIFT, PAGED_CODE, PSECTION, and TRUE. Referenced by DriverEntry(), MiLoadSystemImage(), and NtSetSystemInformation().
|
|
Definition at line 238 of file iosup.c. References ADDRESS_AND_SIZE_TO_SPAN_PAGES, ASSERT, CHAR, COMPUTE_PAGES_SPANNED, DbgPrint, _MI_PHYSICAL_VIEW::EndVa, EXCEPTION_EXECUTE_HANDLER, ExRaiseStatus(), failure, FALSE, IoReadAccess, KernelMode, LOCK_PFN2, MDL_IO_SPACE, MDL_MAPPED_TO_SYSTEM_VA, MDL_PAGES_LOCKED, MDL_PARTIAL, MDL_PHYSICAL_VIEW, MDL_SOURCE_IS_NONPAGED_POOL, MDL_WRITE_OPERATION, MI_ADD_LOCKED_PAGE_CHARGE, MI_CONVERT_PHYSICAL_TO_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MI_INSTRUMENT_PROBE_RAISES, MI_IS_PHYSICAL_ADDRESS, MI_IS_SYSTEM_CACHE_ADDRESS, MI_NONPAGABLE_MEMORY_AVAILABLE, MI_PFN_ELEMENT, MiAddMdlTracker(), MiGetPdeAddress, MiGetPpeAddress, MiGetPteAddress, MiIsPteOnPdeBoundary, MiIsPteOnPpeBoundary, MM_EMPTY_LIST, MM_PTE_WRITE_MASK, MM_READWRITE, MmAccessFault(), MmHighestPhysicalPage, MmLockPagesLimit, MmReferenceCountCheck, MmResetPageFaultReadAhead, MmSavePageFaultReadAhead, MmSetPageFaultReadAhead, MmSystemLockPagesCount, MmTrackLockedPages, MmUnlockPages(), NT_SUCCESS, NTSTATUS(), NULL, _EPROCESS::NumberOfLockedPages, PAGE_SIZE, _EPROCESS::PhysicalVadList, ProbeForWriteChar, PsGetCurrentProcess, PsGetCurrentThread, RtlGetCallersAddress(), _MI_PHYSICAL_VIEW::StartVa, TRUE, _MMVAD::u, _MMPTE::u, _MMPFN::u3, UNLOCK_PFN2, and _MI_PHYSICAL_VIEW::Vad. Referenced by BuildQueryDirectoryIrp(), CcMdlRead(), CcPrepareMdlWrite(), CcZeroData(), ExLockUserBuffer(), IoBuildAsynchronousFsdRequest(), IoBuildDeviceIoControlRequest(), IopSetEaOrQuotaInformationFile(), IopXxxControlFile(), MiDoMappedCopy(), MiGetWorkingSetInfo(), MmProbeAndLockProcessPages(), MmProbeAndLockSelectedPages(), NtNotifyChangeDirectoryFile(), NtQueryEaFile(), NtQueryQuotaInformationFile(), NtReadFile(), NtSetEaFile(), NtStartProfile(), NtWriteFile(), UdfCreateUserMdl(), VdmQueryDirectoryFile(), and VerifierProbeAndLockPages().
|
|
Definition at line 813 of file iosup.c. References EXCEPTION_EXECUTE_HANDLER, ExRaiseStatus(), FALSE, KeAttachProcess(), KeDetachProcess(), MmProbeAndLockPages(), NTSTATUS(), PsGetCurrentProcess, Status, and TRUE. Referenced by VerifierProbeAndLockProcessPages().
|
|
Definition at line 1152 of file iosup.c. References ASSERT, BYTES_TO_PAGES, MDL_IO_SPACE, MDL_MAPPED_TO_SYSTEM_VA, MDL_PAGES_LOCKED, MDL_PARTIAL, MDL_SOURCE_IS_NONPAGED_POOL, _MDL::MdlFlags, MiAddMdlTracker(), MiFreeMdlTracker(), MmInitializeMdl, MmProbeAndLockPages(), MmTrackLockedPages, MmUnlockPages(), PAGE_SHIFT, PAGE_SIZE, PAGED_CODE, _MDL::Process, RtlGetCallersAddress(), _MDL::StartVa, and TRUE. Referenced by NtReadFileScatter(), NtWriteFileGather(), and VerifierProbeAndLockSelectedPages().
|
|
Definition at line 5228 of file allocpag.c. References MiProtectSpecialPool(), and MiSpecialPoolPtes. Referenced by IovpProtectedIrpMakeTouchable(), and IovpProtectedIrpMakeUntouchable().
|
|
Definition at line 1548 of file flushsec.c. References ASSERT, BYTE_OFFSET, DbgPrint, DISPATCH_LEVEL, FALSE, _FILE_OBJECT::FileName, _CONTROL_AREA::FilePointer, FreePageList, KeBugCheckEx(), KeEnterCriticalRegion, KeLeaveCriticalRegion, KernelMode, KeWaitForSingleObject(), LOCK_PFN, MI_GET_PAGE_FRAME_FROM_TRANSITION_PTE, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MI_WRITE_INVALID_PTE, MiCancelWriteOfMappedPfn(), MiCanFileBeTruncatedInternal(), MiCheckControlArea(), MiCheckProtoPtePageState(), MiDecrementShareCount(), MiInsertPageInList(), MiIsPteOnPdeBoundary, MiMakeSystemAddressValidPfn(), MiReleasePageFileSpace(), MiUnlinkPageFromList(), MM_DBG_FLUSH_SECTION, MmMappedFileIoComplete, MmPageLocationList, _CONTROL_AREA::ModifiedWriteCount, _SUBSECTION::NextSubsection, NULL, _CONTROL_AREA::NumberOfMappedViews, _CONTROL_AREA::NumberOfPfnReferences, _CONTROL_AREA::NumberOfSystemCacheViews, Offset, _MMPFN::OriginalPte, PAGE_SHIFT, PAGE_SIZE, _MMPFN::PteAddress, _MMPFN::PteFrame, _SUBSECTION::PtesInSubsection, _SUBSECTION::SubsectionBase, TRUE, _CONTROL_AREA::u, _MMPTE::u, _MMPFN::u3, UNLOCK_PFN, UNLOCK_PFN_AND_THEN_WAIT, and WrPageOut. Referenced by CcPurgeCacheSection().
|
|
|
|
Definition at line 2927 of file allocpag.c. References ASSERT, Header, MI_SPECIAL_POOL_PAGABLE, MI_SPECIAL_POOL_VERIFIER, MmSpecialPoolEnd, MmSpecialPoolStart, PAGE_ALIGN, PAGE_SIZE, POOL_OVERHEAD, and PPOOL_HEADER. Referenced by ExQueryPoolBlockSize().
|
|
Definition at line 3073 of file mminit.c. References MmSystemSize. Referenced by CcAllocateInitializeBcb(), CcInitializeCacheManager(), ExInitializeRegion(), ExpWorkerInitialization(), IoInitSystem(), KeBalanceSetManager(), ObInitSystem(), PspInitPhase0(), and UdfInitializeGlobalData().
|
|
Definition at line 1118 of file mmquota.c. References _MM_PAGED_POOL_INFO::AllocatedPagedPool, FALSE, MmAllocatedNonPagedPool, MmAvailablePages, MmMaximumNonPagedPoolInBytes, MMNONPAGED_QUOTA_INCREASE, MMPAGED_QUOTA_CHECK, MMPAGED_QUOTA_INCREASE, MmPagedPoolInfo, MmSizeOfPagedPoolInBytes, MmTotalNonPagedPoolQuota, MmTotalPagedPoolQuota, PAGE_SHIFT, PagedPool, and TRUE. Referenced by PsChargePoolQuota(), PsChargeSharedPoolQuota(), and PspSetQuotaLimits().
|
|
Definition at line 7270 of file iosup.c. References KiFlushSingleTb(), MiGetVirtualAddressMappedByPte, MM_ZERO_PTE, MmCrashDumpPte, PAGE_SIZE, TRUE, and _MMPTE::u.
|
|
Definition at line 437 of file dynmem.c. References ASSERT, ASSERT64, BadPageList, _PHYSICAL_MEMORY_RUN::BasePage, BYTE_OFFSET, DbgPrint, ExAllocatePoolWithTag, ExFreePool(), FALSE, FreePageList, KeDelayExecutionThread(), KeFlushSingleTb(), KernelMode, LOCK_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MI_IS_PHYSICAL_ADDRESS, MI_NONPAGABLE_MEMORY_AVAILABLE, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MiDecrementReferenceCount(), MiDelayPageFaults, MiEmptyAllWorkingSets(), MiFlushAllPages(), MiGetPteAddress, MiInsertPageInList(), MiRemovePhysicalPages(), MiReturnCommitment(), MiTrimRemovalPagesOnly, MiUnlinkPageFromList(), MmChargeCommitmentLock, MmDynamicMemoryMutex, MmDynamicPfn, MmHalfSecond, MmHighestPhysicalPage, MmHighestPossiblePhysicalPage, MmNumberOfPhysicalPages, MmPageLocationList, MmPfnDatabase, MmPhysicalMemoryBlock, MmResidentAvailablePages, MmTotalCommitLimit, MmTotalCommitLimitMaximum, MmTotalCommittedPages, NonPagedPool, NTSTATUS(), NULL, _PHYSICAL_MEMORY_DESCRIPTOR::NumberOfPages, _PHYSICAL_MEMORY_DESCRIPTOR::NumberOfRuns, _MMPFN::OriginalPte, PAGE_ALIGN, PAGE_SHIFT, PAGE_SIZE, _PHYSICAL_MEMORY_RUN::PageCount, PASSIVE_LEVEL, PFN_REMOVED, _MMPFN::PteAddress, _MMPFN::PteFrame, ROUND_TO_PAGES, _PHYSICAL_MEMORY_DESCRIPTOR::Run, StandbyPageList, Status, TRUE, _MMPTE::u, _MMPFN::u1, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, and ZeroKernelPte.
|
|
Definition at line 2560 of file sysload.c. References ASSERT, DbgPrint, ExPageLockHandle, FALSE, LOCK_PFN, LOCK_SYSTEM_WS, MI_IS_PHYSICAL_ADDRESS, MiGetPteAddress, MiLockCode(), MiLookupDataTableEntry(), MM_LOCK_BY_NONPAGE, MmDisablePagingExecutive, MmLockPagableSectionByHandle(), MmUnlockPagableImageSection(), NULL, PAGED_CODE, RtlImageNtHeader(), UNLOCK_PFN, and UNLOCK_SYSTEM_WS.
|
|
Definition at line 589 of file allocpag.c. References ASSERT, BASE_POOL_TYPE_MASK, BYTES_TO_PAGES, EX_POOL_PRIORITY, FALSE, HighPoolPriority, KeSetEvent(), LOCK_PFN2, MI_MEMORY_MAKER, MI_SESSION_POOL_SIZE, MI_UNUSED_SEGMENTS_SURPLUS, MiIssuePageExtendRequestNoWait(), MmAllocatedNonPagedPool, MmMaximumNonPagedPoolInBytes, MmPagedPoolInfo, MmSessionSpace, MmSizeOfPagedPoolInBytes, MmTotalCommitLimitMaximum, MmTotalCommittedPages, MmUnusedSegmentCleanup, MmUnusedSegmentForceFree, MmUnusedSegmentList, MUST_SUCCEED_POOL_TYPE_MASK, NonPagedPool, NormalPoolPriority, PAGE_SHIFT, PagedPool, _MM_SESSION_SPACE::PagedPoolBytes, PsGetCurrentThread, SESSION_POOL_MASK, TRUE, and UNLOCK_PFN2. Referenced by ExAllocatePoolWithTagPriority().
|
|
Definition at line 8038 of file iosup.c. References LOCK_PFN2, MiDecrementReferenceCount(), PAGE_SHIFT, and UNLOCK_PFN2.
|
|
Definition at line 1212 of file mmquota.c. References MmTotalNonPagedPoolQuota, MmTotalPagedPoolQuota, and PagedPool. Referenced by PsReturnPoolQuota().
|
|
Definition at line 4177 of file mapview.c. References ASSERT, CHAR, _MMVAD::EndingVpn, _MMSECURE_ENTRY::EndVpn, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, Handle, _MMVAD::LeftChild, _MMSECURE_ENTRY::List, LOCK_ADDRESS_SPACE, LOCK_WS_UNSAFE, MI_VA_TO_VPN, MiDoesPdeExistAndMakeValid(), MiDoesPpeExistAndMakeValid, MiGetPdeAddress, MiGetPteAddress, MiGetVirtualAddressMappedByPte, MiInsertConflictInList(), MiIsPteOnPdeBoundary, MiLocateAddress(), MiPhysicalViewAdjuster(), MiRemoveConflictFromList(), MM_EXECUTE_READWRITE, MM_EXECUTE_WRITECOPY, MM_NOACCESS, MM_READWRITE, MMSECURE_ENTRY, MMVAD, MMVADKEY, NonPagedPool, NULL, PAGE_SIZE, PAGED_CODE, _MMVAD::Parent, PMMSECURE_ENTRY, ProbeForWrite(), PsGetCurrentProcess, _MMVAD::RightChild, Size, _MMVAD::StartingVpn, _MMSECURE_ENTRY::StartVpn, _MMVAD::u, _MMPTE::u, _MMVAD::u2, _MMSECURE_ENTRY::u2, _MMVAD::u3, UNLOCK_ADDRESS_SPACE, UNLOCK_WS_UNSAFE, _EPROCESS::VadFreeHint, _EPROCESS::VadHint, and _EPROCESS::VadRoot.
|
|
Definition at line 974 of file session.c. References ASSERT, FALSE, KeEnterCriticalRegion, KeLeaveCriticalRegion, LOCK_EXPANSION, MI_SESSION_SPACE_END, MiDereferenceSession(), MiGetPdeAddress, MiGetPpeAddress, MiHydra, MiSessionCount, MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), MmIsAddressValid(), MmSessionBase, MmSessionSpace, NT_SUCCESS, NTSTATUS(), PsGetCurrentProcess, Status, _MMSUPPORT::u, _MMPTE::u, _MM_SESSION_SPACE::u, UNLOCK_EXPANSION, _EPROCESS::Vm, and ZeroKernelPte. Referenced by NtSetSystemInformation().
|
|
|
|
Definition at line 109 of file session.c.
|
|
Definition at line 140 of file session.c. References ASSERT, MiHydra, MmIsAddressValid(), MmSessionSpace, PsGetCurrentProcess, TRUE, and _MM_SESSION_SPACE::Win32KDriverObject. Referenced by NtSetSystemInformation().
|
|
Definition at line 5920 of file iosup.c. References Count, FALSE, KeFlushEntireTb(), KeFlushMultipleTb(), KeFlushSingleTb(), LOCK_PFN2, MI_IS_PTE_DIRTY, MI_PFN_ELEMENT, MI_SET_PTE_CLEAN, MI_WRITE_VALID_PTE_NEW_PROTECTION, MiGetPteAddress, MiReleasePageFileSpace(), MM_MAXIMUM_FLUSH_COUNT, NULL, _MMPFN::OriginalPte, PAGE_SIZE, TRUE, _MMPTE::u, _MMPFN::u3, UNLOCK_PFN2, VOID(), and ZeroPte. Referenced by CcFlushCache(), CcMapAndCopy(), CcPurgeAndClearCacheSection(), CcUnpinRepinnedBcb(), and CcZeroData().
|
|
Definition at line 7311 of file iosup.c. References ASSERT, _MMBANKED_SECTION::BankedRoutine, _MMBANKED_SECTION::BankShift, _MMBANKED_SECTION::BankSize, _MMBANKED_SECTION::BankTemplate, _MMBANKED_SECTION::BasedPte, _MMBANKED_SECTION::BasePhysicalPage, _MMBANKED_SECTION::Context, _MMBANKED_SECTION::CurrentMappedPte, _MMVAD::EndingVpn, ExAllocatePoolWithTag, KeAttachProcess(), KeDetachProcess(), KeFlushEntireTb(), KernelMode, LOCK_WS_AND_ADDRESS_SPACE, MI_GET_PAGE_FRAME_FROM_PTE, MI_MAKE_VALID_PTE, MI_SET_PTE_DIRTY, MI_VA_TO_VPN, MI_VPN_TO_VA, MiGetPteAddress, MiLocateAddress(), MM_READWRITE, MMBANKED_SECTION, NonPagedPool, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGE_SHIFT, PAGE_SIZE, PAGED_CODE, PBANKED_SECTION_ROUTINE, PMMBANKED_SECTION, PsProcessType, PTE_SHIFT, _MMVAD::StartingVpn, Status, TRUE, _MMVAD::u, _MMPTE::u, _MMVAD::u4, UNLOCK_WS_AND_ADDRESS_SPACE, and ZeroPte.
|
|
|
|
|
|
Definition at line 5567 of file procsup.c. References FALSE, KeAttachProcess(), KeDetachProcess(), LOCK_EXPANSION, LOCK_WS, _MMSUPPORT::MaximumWorkingSetSize, MEMORY_PRIORITY_BACKGROUND, _MMSUPPORT::MinimumWorkingSetSize, MiTrimWorkingSet(), MmAvailablePages, MmMoreThanEnoughFreePages, MmNumberOfPhysicalPages, MmSmallSystem, MmSystemSize, MmWorkingSetList, MmWorkingSetReductionMax, PAGE_SIZE, PsGetCurrentProcess, _MMWSL::Quota, TRUE, UNLOCK_EXPANSION, UNLOCK_WS, and _MMSUPPORT::WorkingSetSize. Referenced by NtSetInformationProcess(), and PsSetProcessPriorityByClass().
|
|
|
|
Definition at line 4027 of file iosup.c. References BYTES_TO_PAGES, EXCEPTION_EXECUTE_HANDLER, FALSE, KeFlushSingleTb(), LOCK_PFN, MI_IS_PHYSICAL_ADDRESS, MI_MAKE_VALID_PTE, MiGetPteAddress, MiMakeProtectionMask(), PAGE_SHIFT, TRUE, _MMPTE::u, and UNLOCK_PFN. Referenced by KiI386PentiumLockErrataFixup().
|
|
Definition at line 3141 of file allocpag.c. References LOCK_PFN2, MiSpecialPoolEnabled, and UNLOCK_PFN2.
|
|
Definition at line 4226 of file verifier.c. References EXCEPTION_EXECUTE_HANDLER, ExRaiseStatus(), FALSE, KeEnterCriticalRegion, KeLeaveCriticalRegion, KeReleaseMutant(), KernelMode, KeWaitForSingleObject(), MmSystemLoadLock, MmVerifierData, NTSTATUS(), NULL, PAGED_CODE, Status, VerifierModifyableOptions, VerifierOptionChanges, and WrVirtualMemory. Referenced by NtSetSystemInformation().
|
|
Definition at line 41 of file shutdown.c. References ASSERT, _MMPAGING_FILE::Bitmap, _MDL::ByteCount, _SUBSECTION::ControlArea, ExPageLockHandle, FALSE, _MMPAGING_FILE::File, _CONTROL_AREA::FilePointer, _MMPFNLIST::Flink, IoSynchronousPageWrite(), KeClearEvent, KeDelayExecutionThread(), KeInitializeEvent, KernelMode, KeSetEvent(), KeWaitForSingleObject(), LOCK_PFN, _MDL::MappedSystemVa, MDL_MAPPED_TO_SYSTEM_VA, MDL_PAGES_LOCKED, _MDL::MdlFlags, MI_ADD_LOCKED_PAGE_CHARGE_FOR_MODIFIED_PAGE, MI_PFN_ELEMENT, MI_REMOVE_LOCKED_PAGE_CHARGE, MI_SET_PFN_DELETED, MiCheckControlArea(), MiDecrementReferenceCount(), MiGetSubsectionAddress, MiRemoveZeroPage(), MiStartingOffset(), MiUnlinkPageFromList(), MM_EMPTY_LIST, MM_MAXIMUM_WRITE_CLUSTER, MmAvailablePages, MmFreeGoal, MmInitializeMdl, MmLockPagableSectionByHandle(), MmModifiedPageListHead, MmModifiedPageWriterEvent, MmModifiedWriteClusterSize, MmNumberOfPagingFiles, MmPagingFile, MmSystemShutdown, MmTwentySeconds, MmUnlockPagableImageSection(), MmUnmapLockedPages(), MmZeroPageFile, NT_SUCCESS, NTSTATUS(), NULL, _CONTROL_AREA::NumberOfMappedViews, _CONTROL_AREA::NumberOfPfnReferences, _MMPFN::OriginalPte, PAGE_SHIFT, PAGE_SIZE, _MMPFN::PteAddress, _MMPAGING_FILE::Size, _MDL::StartVa, Status, TRUE, _MMPTE::u, _CONTROL_AREA::u, _MMPFN::u1, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, and WrPageOut.
|
|
Definition at line 5815 of file iosup.c. References ADDRESS_AND_SIZE_TO_SPAN_PAGES. Referenced by ExLockUserBuffer(), MiCreateImageFileMap(), MmCreateMdl(), and NtStartProfile().
|
|
Referenced by IopWriteTriageDump(). |
|
Referenced by IopWriteTriageDump(). |
|
Definition at line 2986 of file wsmanage.c. References APC_LEVEL, ASSERT, ExReleaseResourceLite(), ExTryToAcquireResourceExclusiveLite(), FALSE, KeLowerIrql(), KeTryToAcquireSpinLock(), _MMWORKING_SET_EXPANSION_HEAD::ListHead, LOCK_EXPANSION, LOCK_PFN, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MiDecrementReferenceCount(), MiEmptyWorkingSet(), MiRemovePageFromList(), MiTrimAllPageFaultCount, MiTrimInProgressCount, MM_NO_WS_EXPANSION, MM_SET_EXPANSION_OWNER, MM_WS_EXPANSION_IN_PROGRESS, MmExpansionLock, MmStandbyPageListHead, MmSystemCacheWs, MmSystemLockOwner, MmSystemWsLock, MmWorkingSetExpansionHead, NULL, _MMPFN::OriginalPte, _MMSUPPORT::PageFaultCount, PsGetCurrentThread, _MMPFNLIST::Total, TRUE, _MMSUPPORT::u, _MMPFN::u2, _MMPFN::u3, UNLOCK_EXPANSION, UNLOCK_PFN, _MMSUPPORT::WorkingSetExpansionLinks, _MMSUPPORT::WorkingSetSize, WSLE_NUMBER, and ZeroPte. Referenced by ViTrimAllSystemPagableMemory().
|
|
Definition at line 2896 of file sysload.c. References ASSERT, _MM_SESSION_SPACE::CommittedPages, DbgPrint, ExAcquireResourceExclusive, ExFreePool(), ExPageLockHandle, ExpCheckForResource(), ExReleaseResource, FALSE, _IMAGE_ENTRY_IN_SESSION::ImageCountInThisSession, KeBugCheckEx(), KeCheckForTimer(), KeEnterCriticalRegion, KeLeaveCriticalRegion, KeReleaseMutant(), KernelMode, KeWaitForSingleObject(), LOADED_AT_BOOT, LOCK_PFN, LOCK_SESSION_SPACE_WS, MI_IS_SESSION_IMAGE_ADDRESS, MiActiveVerifierThunks, MiClearImports(), MiDeleteSystemPagableVm(), MiDereferenceImports(), MiGetPteAddress, MiReleaseSystemPtes(), MiRememberUnloadedDriver(), MiRemoveImageSessionWide(), MiReturnCommitment(), MiSessionLookupImage(), MiSessionWideGetImageSize(), MiVerifierCheckThunks(), MiVerifyingDriverUnloading(), MM_BUMP_COUNTER, MM_BUMP_SESS_COUNTER, MM_DBG_COMMIT_RETURN_DRIVER_UNLOAD, MM_DBG_COMMIT_RETURN_DRIVER_UNLOAD1, MM_DBG_SESSION_COMMIT_IMAGE_UNLOAD, MM_TRACK_COMMIT, MmDisablePagingExecutive, MmDriverCommit, MmLockPagableSectionByHandle(), MmResidentAvailablePages, MmSessionSpace, MmSnapUnloads, MmSystemLoadLock, MmTotalSystemDriverPages, MmUnlockPagableImageSection(), NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, PAGE_SHIFT, PERFINFO_IMAGE_UNLOAD, PLOAD_IMPORTS, PSECTION, PsLoadedModuleList, PsLoadedModuleResource, PsLoadedModuleSpinLock, RtlFreeAnsiString(), RtlUnicodeStringToAnsiString(), _MM_SESSION_SPACE::SessionId, Status, SystemPteSpace, TRUE, UNLOCK_PFN, UNLOCK_SESSION_SPACE_WS, WrVirtualMemory, and ZeroKernelPte. Referenced by IoFreeDumpStack(), IopDeleteDriver(), IopLoadDriver(), MiCallDllUnloadAndUnloadDll(), MiLoadSystemImage(), MiResolveImageReferences(), MiSessionUnloadAllImages(), and NtSetSystemInformation().
|
|
Definition at line 1833 of file mapcache.c. References ASSERT, KeBugCheckEx(), LOCK_PFN, MI_PFN_ELEMENT, MI_REMOVE_LOCKED_PAGE_CHARGE, MiGetPteAddress, _MMPTE::u, _MMPFN::u3, and UNLOCK_PFN. Referenced by CcFreeActiveVacb().
|
|
Definition at line 7065 of file iosup.c. References ASSERT, FALSE, KePulseEvent(), LOCK_PFN2, MI_GET_PAGE_FRAME_FROM_PTE, MI_IS_PHYSICAL_ADDRESS, MI_PFN_ELEMENT, MI_REMOVE_LOCKED_PAGE_CHARGE, MiDecrementReferenceCount(), MiGetPteAddress, MmCollidedLockEvent, MmCollidedLockWait, MmLockedCode, SECTION_BASE_ADDRESS, _MMPTE::u, _MMPFN::u3, and UNLOCK_PFN2. Referenced by ExpGetLockInformation(), ExpGetLookasideInformation(), ExpGetPoolInformation(), ExpGetProcessInformation(), IoUnregisterShutdownNotification(), Ke386ConfigureCyrixProcessor(), KeSetPhysicalCacheTypeRange(), KiAmdK6MtrrSetMemoryType(), MiEmptyAllWorkingSets(), MiFindContiguousMemory(), MiFreeInitializationCode(), MiLoadSystemImage(), MiMapViewInSystemSpace(), MiSetPagingOfDriver(), MiShareSessionImage(), MiUnmapLockedPagesInUserSpace(), MiUnmapViewInSystemSpace(), MmAdjustWorkingSetSize(), MmAllocateNonCachedMemory(), MmAllocatePagesForMdl(), MmFreeDriverInitialization(), MmFreeNonCachedMemory(), MmFreePagesFromMdl(), MmLockPagedPool(), MmMapViewOfSection(), MmResetDriverPaging(), MmShutdownSystem(), MmUnloadSystemImage(), MmUnlockPagedPool(), NtQueryVirtualMemory(), PspQueryPooledQuotaLimits(), PspQueryQuotaLimits(), PspQueryWorkingSetWatch(), PspSetQuotaLimits(), and SmbTraceStop().
|
|
Definition at line 7869 of file iosup.c. References ASSERT, ExPageLockHandle, LOCK_PFN2, MI_GET_PAGE_FRAME_FROM_PTE, MI_PFN_ELEMENT, MI_REMOVE_LOCKED_PAGE_CHARGE, MiDecrementReferenceCount(), MiGetPteAddress, MmLockPagableSectionByHandle(), MmUnlockPagableImageSection(), _MMPTE::u, _MMPFN::u3, and UNLOCK_PFN2. Referenced by Ke386SetDescriptorProcess(), and MiSetImageProtect().
|
|
|
|
Definition at line 3678 of file iosup.c. References ASSERT, COMPUTE_PAGES_SPANNED, MiGetPteAddress, MiInsertDeadPteTrackingBlock(), MiLockSystemSpace, MiReleaseSystemPtes(), MiRemovePteTracker(), MiUnlockSystemSpace, MmTrackPtes, NULL, PAGED_CODE, and SystemPteSpace. Referenced by CmpFindACPITable(), CmpMatchAcpiCreatorIdRule(), CmpMatchAcpiCreatorRevisionRule(), CmpMatchAcpiOemIdRule(), CmpMatchAcpiOemRevisionRule(), CmpMatchAcpiOemTableIdRule(), CmpMatchAcpiRevisionRule(), DriverEntry(), MmFreeContiguousMemorySpecifyCache(), MmUnmapVideoDisplay(), and VerifierUnmapIoSpace().
|
|
Definition at line 3124 of file iosup.c. References ASSERT, COMPUTE_PAGES_SPANNED, LOCK_PFN2, MDL_IO_SPACE, MDL_LOCK_HELD, MDL_MAPPED_TO_SYSTEM_VA, MDL_PARENT_MAPPED_SYSTEM_VA, MDL_PARTIAL_HAS_BEEN_MAPPED, MDL_PHYSICAL_VIEW, MI_GET_PAGE_FRAME_FROM_PTE, MI_IS_PHYSICAL_ADDRESS, MI_PFN_ELEMENT, MiGetPteAddress, MiInsertDeadPteTrackingBlock(), MiLockSystemSpace, MiReleaseSystemPtes(), MiRemovePteTracker(), MiUnlockSystemSpace, MiUnmapLockedPagesInUserSpace(), MmTrackPtes, SystemPteSpace, _MMPTE::u, _MMPFN::u3, and UNLOCK_PFN2. Referenced by CcZeroData(), ExpProfileDelete(), MiCheckForCrashDump(), MiCleanSection(), MiCloneProcessAddressSpace(), MiCreateImageFileMap(), MiDoMappedCopy(), MiFlushSectionInternal(), MiMakeOutswappedPageResident(), MiWaitForInPageComplete(), MiWriteComplete(), MmShutdownSystem(), MmUnlockPages(), NtStartProfile(), NtStopProfile(), and VerifierUnmapLockedPages().
|
|
Definition at line 7751 of file iosup.c. References ASSERT, COMPUTE_PAGES_SPANNED, ExFreePool(), FALSE, KSEG0_BASE, MiGetPteAddress, MiGetSubsectionAddress, MiPteToProto, MiReleaseSystemPtes(), MmUnmapIoSpace(), PAGED_CODE, _SUBSECTION::SubsectionBase, SystemPteSpace, _MMPTE::u, and X64K.
|
|
Definition at line 3639 of file mapview.c. References ASSERT, MiHydra, MiUnmapViewInSystemSpace(), MmIsAddressValid(), MmSession, MmSessionSpace, PAGED_CODE, PsGetCurrentProcess, _MM_SESSION_SPACE::Session, and TRUE.
|
|
Definition at line 381 of file mapcache.c. References APC_LEVEL, ASSERT, _SEGMENT::ControlArea, FALSE, LOCK_PFN, LOCK_SYSTEM_WS, MI_CAPTURE_DIRTY_BIT_TO_PFN, MI_GET_PAGE_FRAME_FROM_PTE, MI_PFN_ELEMENT, MI_SET_PTE_IN_WORKING_SET, MI_WRITE_INVALID_PTE, MiCheckControlArea(), MiDecrementShareAndValidCount, MiDecrementShareCount(), MiGetPteAddress, MiLocateWsle(), MiReleaseWsle(), MiRemoveWsle(), MM_EMPTY_PTE_LIST, MmFlushSystemCache, MmFrontOfList, MmLastFreeSystemCache, MmSystemCachePteBase, MmSystemCacheWorkingSetList, MmSystemCacheWs, NULL, _CONTROL_AREA::NumberOfMappedViews, _CONTROL_AREA::NumberOfSystemCacheViews, PAGE_SIZE, PSECTION, _CONTROL_AREA::Segment, TRUE, _MMPTE::u, _MMPFN::u1, _MMPFN::u2, UNLOCK_PFN, UNLOCK_SYSTEM_WS, WSLE_NUMBER, X256K, and ZeroKernelPte. Referenced by CcUnmapVacb().
|
|
Definition at line 3608 of file mapview.c. References MiUnmapViewInSystemSpace(), MmSession, and PAGED_CODE. Referenced by NtMapViewOfSection().
|
|
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 4614 of file mapview.c. References ASSERT, ExFreePool(), List, _MMSECURE_ENTRY::List, LOCK_ADDRESS_SPACE, _MMSECURE_ENTRY::LongFlags2, MiLocateAddress(), PAGED_CODE, PsGetCurrentProcess, _MMSECURE_ENTRY::StartVpn, _MMVAD::u, _MMSECURE_ENTRY::u2, _MMVAD::u2, _MMVAD::u3, and UNLOCK_ADDRESS_SPACE.
|
|
Definition at line 4923 of file sysload.c. References FALSE, KeNumberProcessors, NULL, PAGED_CODE, RtlImageNtHeader(), and TRUE. Referenced by MmCheckSystemImage().
|
|
Definition at line 397 of file wsmanage.c. References _EPROCESS::AddressSpaceDeleted, _MMSUPPORT::AllowWorkingSetAdjustment, APC_LEVEL, ASSERT, DbgPrint, _MMWS_TRIM_CRITERIA::DesiredFreeGoal, ExTryToAcquireResourceExclusiveLite(), FALSE, _MMWS_TRIM_CRITERIA::FaultBased, _EPROCESS::ImageFileName, KeDelayExecutionThread(), KeDetachProcess(), KeForceAttachProcess(), KeLowerIrql(), KeQuerySystemTime(), KeRaiseIrql(), KernelMode, KeSetEvent(), _MMSUPPORT::LastTrimFaultCount, _MMSUPPORT::LastTrimTime, _MMWORKING_SET_EXPANSION_HEAD::ListHead, LOCK_EXPANSION, MiAttachSession(), MiCheckAndSetSystemTrimCriteria(), MiCheckCounter, MiCheckProcessTrimCriteria(), MiCheckSystemCacheWsTrimCriteria(), MiCheckSystemTrimEndCriteria(), MiDetachSession(), MiDetermineWsTrimAmount(), MiHydra, _MMSUPPORT::MinimumWorkingSetSize, MiTrimWorkingSet(), MM_DBG_WS_EXPANSION, MM_FORCE_TRIM, MM_NO_WS_EXPANSION, MM_SET_SESSION_RESOURCE_OWNER, MM_TRIM_COUNTER_MAXIMUM_LARGE_MEM, MM_WS_EXPANSION_IN_PROGRESS, MmAvailablePages, MmIsAddressValid(), MmMinimumFreePages, MmModifiedPageListHead, MmModifiedPageMaximum, MmModifiedPageWriterEvent, MmSessionSpace, MmShortTime, MmSystemCacheWorkingSetList, MmSystemCacheWs, MmSystemLockOwner, MmSystemWsLock, MmWorkingSetExpansionHead, MmWorkingSetList, NULL, _MMSUPPORT::PageFaultCount, _EPROCESS::Pcb, PERFINFO_WSMANAGE_ACTUALTRIM, PERFINFO_WSMANAGE_DECL, PERFINFO_WSMANAGE_FINALACTION, PERFINFO_WSMANAGE_PROCESS_RESET, PERFINFO_WSMANAGE_TOTRIM, PERFINFO_WSMANAGE_TRIMEND_CLAIMS, PERFINFO_WSMANAGE_TRIMEND_FAULTS, PERFINFO_WSMANAGE_TRIMWS, _MM_SESSION_SPACE::ProcessOutSwapCount, _EPROCESS::ProcessOutswapEnabled, _EPROCESS::ProcessOutswapped, PsGetCurrentProcess, PsGetCurrentThread, _MMWSL::Quota, _MM_SESSION_SPACE::SessionId, _MMPFNLIST::Total, TRUE, _MMSUPPORT::u, UNLOCK_EXPANSION, UNLOCK_SESSION_SPACE_WS, UNLOCK_SYSTEM_WS, UNLOCK_WS, _EPROCESS::Vm, _MMSUPPORT::VmWorkingSetList, _MMSUPPORT::WorkingSetExpansionLinks, _EPROCESS::WorkingSetLock, _MMSUPPORT::WorkingSetSize, and _MM_SESSION_SPACE::WsLock. Referenced by KeBalanceSetManager().
|
|
Referenced by IopWriteTriageDump(). |
|
Referenced by IopWriteTriageDump(). |
|
Definition at line 29 of file zeropage.c. References ASSERT, _KTHREAD::BasePriority, FALSE, _MMPFNLIST::Flink, KeBugCheckEx(), KeGetCurrentThread, KernelMode, KeSetPriorityThread(), KeWaitForMultipleObjects(), KeZeroPageFromIdleThread, LOCK_PFN_WITH_TRY, MI_GET_SECONDARY_COLOR, MI_PFN_ELEMENT, MiFindInitializationCode(), MiFreeInitializationCode(), MiInsertPageInList(), MiMapPageToZeroInHyperSpace(), MiRemoveAnyPage(), MM_EMPTY_LIST, MM_ZERO_PAGE_OBJECT, MmFreePageListHead, MmPageLocationList, MmZeroingPageEvent, MmZeroingPageThreadActive, NTSTATUS(), NULL, NUMBER_WAIT_OBJECTS, PAGE_SHIFT, PAGE_SIZE, PO_SYS_IDLE_OBJECT, PoSystemIdleTimer, PoSystemIdleWorker(), Status, _MMPFNLIST::Total, TRUE, _MMPFN::u3, UNLOCK_PFN, WrFreePage, and ZeroedPageList.
|
|
Definition at line 1976 of file verifier.c. References _MI_VERIFIER_DRIVER_ENTRY::CurrentNonPagedPoolAllocations, _MI_VERIFIER_DRIVER_ENTRY::CurrentPagedPoolAllocations, FALSE, Header, Index, KeBugCheckEx(), MI_VERIFIER_ENTRY_SIGNATURE, MmIsAddressValid(), MmVerifierData, _MI_VERIFIER_DRIVER_ENTRY::NonPagedBytes, PAGE_ALIGN, PAGE_ALIGNED, PAGE_SIZE, _MI_VERIFIER_DRIVER_ENTRY::PagedBytes, PagedPool, POOL_OVERHEAD, _MI_VERIFIER_DRIVER_ENTRY::Signature, TRUE, VerifierIsTrackingPool, VerifierPoolLock, _MI_VERIFIER_DRIVER_ENTRY::VerifierPoolLock, VerifierPoolMutex, and ViReleasePoolAllocation().
|
|
Definition at line 79 of file mm.h. Referenced by MmInitSystem(). |
|
|
Definition at line 1087 of file mm.h. Referenced by MiEnsureAvailablePageOrWait(), MiFlushAllPages(), MiInsertPageInList(), MiInsertStandbyListAtFront(), MiModifiedPageWriterWorker(), MiObtainFreePages(), MiUnlinkPageFromList(), MmAccessFault(), MmShutdownSystem(), and MmWorkingSetManager(). |
|
|
|
|
|
|
|
Definition at line 387 of file mm.h. Referenced by MmInitSystem(), and PspCreateThread(). |
|
Definition at line 381 of file mm.h. Referenced by MiLoadSystemImage(), MiSectionInitialization(), MmCreateSection(), MmGetFileNameForSection(), NtAcceptConnectPort(), NtCreateSuperSection(), NtExtendSection(), NtMapViewOfSection(), NtOpenSection(), NtQuerySection(), NtSecureConnectPort(), PsLocateSystemDll(), and PspCreateProcess(). |
|
Definition at line 406 of file mm.h. Referenced by CcInitializeVacbs(), and MmInitSystem(). |
|
|
Definition at line 1976 of file mm.h. Referenced by ExAllocatePoolWithQuotaTag(), ExFreePoolSanityChecks(), ExFreePoolWithTag(), ExQueryPoolBlockSize(), ExReturnPoolQuota(), KeBugCheckEx(), MiInitializeSpecialPool(), MiLockCode(), MiResolveTransitionFault(), MmIsSpecialPoolAddressFree(), MmQuerySpecialPoolBlockSize(), and ViPostPoolAllocation(). |
|
Definition at line 1975 of file mm.h. Referenced by ExAllocatePoolWithTag(), MiInitializeSpecialPool(), MiInitializeSpecialPoolCriteria(), MiInitMachineDependent(), and MmInitSystem(). |
|
|
|
Definition at line 1090 of file mm.h. Referenced by MmInitSystem(). |
|
Definition at line 1089 of file mm.h. Referenced by MmInitSystem(). |
|
Definition at line 29 of file mm.h. Referenced by IopCalculateRequiredDumpSpace(), MiInitMachineDependent(), MiMapViewOfImageSection(), MmCleanProcessAddressSpace(), MmCreateProcessAddressSpace(), MmFreeLoaderBlock(), MmInitializeProcessAddressSpace(), MmInitSystem(), and MmSetKernelDumpRange(). |
|
Definition at line 418 of file mm.h. Referenced by KeBalanceSetManager(), MiEmptyAllWorkingSets(), MiObtainFreePages(), and MmInitSystem(). |