ReactOS 0.4.16-dev-197-g92996da
|
#include <internal/arch/mm.h>
Go to the source code of this file.
Classes | |
struct | _MM_SECTION_SEGMENT |
struct | _MM_IMAGE_SECTION_OBJECT |
struct | _MEMORY_AREA |
struct | _MM_RMAP_ENTRY |
struct | _MMPFNENTRY |
struct | _MMPFN |
struct | _MMPFNLIST |
struct | _MM_MEMORY_CONSUMER |
struct | _MM_REGION |
struct | _MMFREE_POOL_ENTRY |
struct | _MM_PAGED_POOL_INFO |
struct | _MMPAGING_FILE |
#define BUMPREF_SSE | ( | E | ) | (PAGE_FROM_SSE(E) | ((SHARE_COUNT_FROM_SSE(E) + 1) << 3) | ((E) & 0x7)) |
#define DECREF_SSE | ( | E | ) | (PAGE_FROM_SSE(E) | ((SHARE_COUNT_FROM_SSE(E) - 1) << 3) | ((E) & 0x7)) |
#define InterlockedCompareExchangePte | ( | PointerPte, | |
Exchange, | |||
Comperand | |||
) | InterlockedCompareExchange((PLONG)(PointerPte), Exchange, Comperand) |
#define InterlockedExchangePte | ( | PointerPte, | |
Value | |||
) | InterlockedExchange((PLONG)(PointerPte), Value) |
#define MA_GetEndingAddress | ( | _MemoryArea | ) | (((_MemoryArea)->VadNode.EndingVpn + 1) << PAGE_SHIFT) |
#define MA_GetStartingAddress | ( | _MemoryArea | ) | ((_MemoryArea)->VadNode.StartingVpn << PAGE_SHIFT) |
#define MI_ASSERT_PFN_LOCK_HELD | ( | ) | NT_ASSERT((KeGetCurrentIrql() >= DISPATCH_LEVEL) && (MmPfnLock != 0)) |
#define MM_IS_WAIT_PTE | ( | E | ) | (IS_SWAP_FROM_SSE(E) && SWAPENTRY_FROM_SSE(E) == MM_WAIT_ENTRY) |
#define MmLockSectionSegment | ( | x | ) | _MmLockSectionSegment(x,__FILE__,__LINE__) |
#define MmSetCleanPage | ( | __P, | |
__A | |||
) | MmSetDirtyBit(__P, __A, FALSE) |
#define MmSetDirtyPage | ( | __P, | |
__A | |||
) | MmSetDirtyBit(__P, __A, TRUE) |
#define MmUnlockSectionSegment | ( | x | ) | _MmUnlockSectionSegment(x,__FILE__,__LINE__) |
#define PAGE_FLAGS_VALID_FOR_SECTION |
#define PAGE_IS_EXECUTABLE |
#define PAGE_IS_READABLE |
#define PAGE_IS_WRITABLE |
#define PAGE_IS_WRITECOPY |
#define PFN_FROM_SSE | ( | E | ) | ((PFN_NUMBER)((E) >> PAGE_SHIFT)) |
#define RMAP_IS_SEGMENT | ( | x | ) | (((ULONG_PTR)(x) & RMAP_SEGMENT_MASK) == RMAP_SEGMENT_MASK) |
typedef struct _MEMORY_AREA MEMORY_AREA |
typedef enum _MI_PFN_USAGES MI_PFN_USAGES |
typedef struct _MM_REGION MM_REGION |
typedef struct _MM_RMAP_ENTRY MM_RMAP_ENTRY |
typedef struct _MMPAGING_FILE MMPAGING_FILE |
typedef struct _MMPFNENTRY MMPFNENTRY |
typedef struct _MMPFNLIST MMPFNLIST |
typedef struct _MEMORY_AREA * PMEMORY_AREA |
typedef VOID(* PMM_ALTER_REGION_FUNC) (PMMSUPPORT AddressSpace, PVOID BaseAddress, SIZE_T Length, ULONG OldType, ULONG OldProtect, ULONG NewType, ULONG NewProtect) |
typedef VOID(* PMM_FREE_PAGE_FUNC) (PVOID Context, PMEMORY_AREA MemoryArea, PVOID Address, PFN_NUMBER Page, SWAPENTRY SwapEntry, BOOLEAN Dirty) |
typedef struct _MM_MEMORY_CONSUMER * PMM_MEMORY_CONSUMER |
typedef struct _MM_PAGED_POOL_INFO * PMM_PAGED_POOL_INFO |
typedef struct _MM_REGION * PMM_REGION |
typedef struct _MM_RMAP_ENTRY * PMM_RMAP_ENTRY |
typedef struct _MM_SECTION_SEGMENT * PMM_SECTION_SEGMENT |
typedef struct _MMFREE_POOL_ENTRY * PMMFREE_POOL_ENTRY |
typedef struct _MMPAGING_FILE * PMMPAGING_FILE |
typedef struct _MMPFNLIST * PMMPFNLIST |
Definition at line 322 of file mm.h.
_IRQL_raises_ | ( | DISPATCH_LEVEL | ) |
Definition at line 992 of file mm.h.
_IRQL_requires_ | ( | DISPATCH_LEVEL | ) |
_IRQL_requires_max_ | ( | APC_LEVEL | ) |
Definition at line 37 of file cddata.c.
_IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
_IRQL_requires_min_ | ( | DISPATCH_LEVEL | ) |
Definition at line 1015 of file mm.h.
ULONG_PTR NTAPI _MmGetPageEntrySectionSegment | ( | PMM_SECTION_SEGMENT | Segment, |
PLARGE_INTEGER | Offset, | ||
const char * | file, | ||
int | line | ||
) |
Definition at line 280 of file sptab.c.
NTSTATUS NTAPI _MmSetPageEntrySectionSegment | ( | PMM_SECTION_SEGMENT | Segment, |
PLARGE_INTEGER | Offset, | ||
ULONG_PTR | Entry, | ||
const char * | file, | ||
int | line | ||
) |
Definition at line 178 of file sptab.c.
_Releases_lock_ | ( | MmPfnLock | ) |
_Requires_exclusive_lock_held_ | ( | WorkingSet-> | WorkingSetMutex | ) |
_Requires_lock_held_ | ( | MmPfnLock | ) |
Definition at line 1004 of file mm.h.
_Requires_lock_held_ | ( | PspQuotaLock | ) |
_Requires_lock_not_held_ | ( | MmPfnLock | ) |
_Success_ | ( | return | ) |
_In_ _When_ | ( | OldIrql ! | = MM_NOIRQL , |
_IRQL_restores_ | |||
) |
_When_ | ( | OldIrql | = = MM_NOIRQL , |
_IRQL_requires_max_(DISPATCH_LEVEL) | |||
) |
Definition at line 296 of file expool.c.
Definition at line 1852 of file expool.c.
Referenced by IoFreeIrp().
Definition at line 422 of file pool.c.
Referenced by _IRQL_requires_(), ExAllocatePoolWithTag(), and InitializePool().
BOOLEAN MiArchCreateProcessAddressSpace | ( | _In_ PEPROCESS | Process, |
_In_ PULONG_PTR | DirectoryTableBase | ||
) |
Definition at line 21 of file procsup.c.
Referenced by MmCreateProcessAddressSpace().
Definition at line 918 of file pool.c.
Referenced by _IRQL_requires_(), and ExFreePoolWithTag().
FORCEINLINE PMMPFN MiGetPfnEntry | ( | IN PFN_NUMBER | Pfn | ) |
Definition at line 1047 of file mm.h.
Referenced by FreeWsleIndex(), MiAddHalIoMappings(), MiAllocatePagesForMdl(), MiAllocatePoolPages(), MiBuildPfnDatabaseFromLoaderBlock(), MiBuildPfnDatabaseFromPages(), MiBuildPfnDatabaseFromPageTables(), MiBuildPfnDatabaseSelf(), MiBuildPfnDatabaseZeroPage(), MiCompleteProtoPteFault(), MiCopyPfn(), MiDbgTranslatePhysicalAddress(), MiDecommitPages(), MiDecrementPageTableReferences(), MiDeletePte(), MiDeleteSystemPageableVm(), MiDispatchFault(), MiFindContiguousMemory(), MiFreeContiguousMemory(), MiFreePoolPages(), MiGetPageProtection(), MiIncrementPageTableReferences(), MiInitMachineDependent(), MiInsertInWorkingSetList(), MiIsPageTablePresent(), MiLockVirtualMemory(), MiMapLockedPagesInUserSpace(), MiMapPageInHyperSpace(), MiProcessValidPteList(), MiProtectVirtualMemory(), MiReloadBootLoadedDrivers(), MiRemoveMappedPtes(), MiResolveProtoPteFault(), MiResolveTransitionFault(), MiSetPagingOfDriver(), MiSetupPfnForPageTable(), MiUnlockVirtualMemory(), MiUnmapLockedPagesInUserSpace(), MiZeroPfn(), MmAllocPage(), MmArmAccessFault(), MmBuildMdlForNonPagedPool(), MmDeleteKernelStack(), MmDeleteProcessAddressSpace(), MmDereferencePage(), MmDumpArmPfnDatabase(), MmFreeLoaderBlock(), MmFreePagesFromMdl(), MmGetLRUNextUserPage(), MmGetReferenceCountPage(), MmGetRmapListHeadPage(), MmGetSavedSwapEntryPage(), MmInitializeProcessAddressSpace(), MmInsertLRULastUserPage(), MmIsPageInUse(), MmMapIoSpace(), MmProbeAndLockPages(), MmReferencePage(), MmRemoveLRUUserPage(), MmSetRmapListHeadPage(), MmSetSavedSwapEntryPage(), MmUnlockPages(), MmUnmapIoSpace(), MmZeroPageThread(), PspCreateProcess(), RemoveFromWsList(), and TrimWsList().
FORCEINLINE PFN_NUMBER MiGetPfnEntryIndex | ( | IN PMMPFN | Pfn1 | ) |
Definition at line 1067 of file mm.h.
Referenced by MiAllocatePagesForMdl(), MiDecrementShareCount(), MiDereferencePfnAndDropLockCount(), MiFreePoolPages(), MiInsertPageInFreeList(), MiMapPagesInZeroSpace(), MiUnlinkFreeOrZeroedPage(), MmGetLRUFirstUserPage(), MmGetLRUNextUserPage(), MmInitializeProcessAddressSpace(), and MmZeroPageThread().
Definition at line 420 of file balance.c.
Referenced by MmInitSystem().
BOOLEAN NTAPI MiInitializeLoadedModuleList | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 2242 of file sysldr.c.
Referenced by MmArmInitSystem().
Definition at line 278 of file pool.c.
Referenced by MiBuildNonPagedPool(), and MiInitMachineDependent().
Definition at line 123 of file special.c.
Referenced by MiBuildPagedPool().
Definition at line 28 of file hypermap.c.
Referenced by MiCopyFromUserPage(), MiReadFilePage(), and MiZeroPhysicalPage().
Definition at line 111 of file hypermap.c.
Referenced by MmZeroPageThread().
NTSTATUS NTAPI MiReadPageFile | ( | _In_ PFN_NUMBER | Page, |
_In_ ULONG | PageFileIndex, | ||
_In_ ULONG_PTR | PageFileOffset | ||
) |
Definition at line 211 of file pagefile.c.
Referenced by MiResolvePageFileFault(), and MmReadFromSwapPage().
VOID NTAPI MiReloadBootLoadedDrivers | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 1731 of file sysldr.c.
Referenced by MmArmInitSystem().
VOID NTAPI MiRosCheckMemoryAreas | ( | PMMSUPPORT | AddressSpace | ) |
Definition at line 521 of file marea.c.
Referenced by MmCleanProcessAddressSpace().
Definition at line 91 of file hypermap.c.
Referenced by MiCopyFromUserPage(), MiReadFilePage(), and MiZeroPhysicalPage().
Definition at line 187 of file hypermap.c.
Referenced by MmZeroPageThread().
NTSTATUS NTAPI MmAccessFault | ( | IN ULONG | FaultCode, |
IN PVOID | Address, | ||
IN KPROCESSOR_MODE | Mode, | ||
IN PVOID | TrapInformation | ||
) |
Definition at line 218 of file mmfault.c.
Referenced by KiDataAbortHandler(), KiTrap0EHandler(), MiLockVirtualMemory(), MiMakeSystemAddressValid(), MiMakeSystemAddressValidPfn(), and MmProbeAndLockPages().
NTSTATUS NTAPI MmAccessFaultSectionView | ( | PMMSUPPORT | AddressSpace, |
MEMORY_AREA * | MemoryArea, | ||
PVOID | Address, | ||
BOOLEAN | Locked | ||
) |
Definition at line 1915 of file section.c.
Referenced by MmpAccessFault().
NTSTATUS NTAPI MmAdjustWorkingSetSize | ( | IN SIZE_T | WorkingSetMinimumInBytes, |
IN SIZE_T | WorkingSetMaximumInBytes, | ||
IN ULONG | SystemCache, | ||
IN BOOLEAN | IncreaseOkay | ||
) |
Definition at line 44 of file mmsup.c.
Referenced by PspSetQuotaLimits().
PVOID NTAPI MmAllocateSpecialPool | ( | IN SIZE_T | NumberOfBytes, |
IN ULONG | Tag, | ||
IN POOL_TYPE | PoolType, | ||
IN ULONG | SpecialType | ||
) |
Referenced by ExAllocatePoolWithTag().
PFN_NUMBER NTAPI MmAllocPage | ( | ULONG | Consumer | ) |
Definition at line 601 of file freelist.c.
Referenced by MmRequestPageMemoryConsumer().
Definition at line 322 of file pagefile.c.
Referenced by MmPageOutPhysicalAddress().
NTSTATUS NTAPI MmAlterRegion | ( | PMMSUPPORT | AddressSpace, |
PVOID | BaseAddress, | ||
PLIST_ENTRY | RegionListHead, | ||
PVOID | StartAddress, | ||
SIZE_T | Length, | ||
ULONG | NewType, | ||
ULONG | NewProtect, | ||
PMM_ALTER_REGION_FUNC | AlterFunc | ||
) |
Definition at line 108 of file region.c.
Referenced by MmAccessFaultSectionView(), MmNotPresentFaultSectionView(), and MmProtectSectionView().
BOOLEAN NTAPI MmArePagesResident | ( | _In_ PEPROCESS | Process, |
_In_ PVOID | BaseAddress, | ||
_In_ ULONG | Length | ||
) |
Definition at line 4780 of file section.c.
Referenced by CcRosEnsureVacbResident().
VOID NTAPI MmBuildMdlFromPages | ( | PMDL | Mdl, |
PPFN_NUMBER | Pages | ||
) |
Definition at line 111 of file pagefile.c.
Referenced by MiReadPageFile(), and MmWriteToSwapPage().
NTSTATUS NTAPI MmCallDllInitialize | ( | _In_ PLDR_DATA_TABLE_ENTRY | LdrEntry, |
_In_ PLIST_ENTRY | ModuleListHead | ||
) |
Definition at line 433 of file sysldr.c.
Referenced by IopInitializeBootDrivers(), and MiResolveImageReferences().
Definition at line 2331 of file sysldr.c.
Referenced by DisplayBootBitmap(), and MmMakeKernelResourceSectionWritable().
BOOLEAN NTAPI MmCheckDirtySegment | ( | PMM_SECTION_SEGMENT | Segment, |
PLARGE_INTEGER | Offset, | ||
BOOLEAN | ForceDirty, | ||
BOOLEAN | PageOut | ||
) |
Referenced by MiShutdownSystem(), MmFlushSegment(), and MmPageOutPhysicalAddress().
Definition at line 2745 of file sysldr.c.
Referenced by MmLoadSystemImage(), and PsLocateSystemDll().
Definition at line 1267 of file procsup.c.
Referenced by PspExitProcess(), and PspExitThread().
NTSTATUS NTAPI MmCopyVirtualMemory | ( | IN PEPROCESS | SourceProcess, |
IN PVOID | SourceAddress, | ||
IN PEPROCESS | TargetProcess, | ||
OUT PVOID | TargetAddress, | ||
IN SIZE_T | BufferSize, | ||
IN KPROCESSOR_MODE | PreviousMode, | ||
OUT PSIZE_T | ReturnSize | ||
) |
Definition at line 1270 of file virtual.c.
Referenced by LpcpCopyRequestData(), NtReadVirtualMemory(), and NtWriteVirtualMemory().
Referenced by KeInitThread(), KeStartAllProcessors(), KiInitializeKernel(), and PsConvertToGuiThread().
NTSTATUS NTAPI MmCreateMemoryArea | ( | PMMSUPPORT | AddressSpace, |
ULONG | Type, | ||
PVOID * | BaseAddress, | ||
SIZE_T | Length, | ||
ULONG | Protection, | ||
PMEMORY_AREA * | Result, | ||
ULONG | AllocationFlags, | ||
ULONG | AllocationGranularity | ||
) |
Definition at line 410 of file marea.c.
Referenced by MiCreateArm3StaticMemoryArea(), MiInsertNode(), and MmMapViewOfSegment().
NTSTATUS NTAPI MmCreatePageFileMapping | ( | struct _EPROCESS * | Process, |
PVOID | Address, | ||
SWAPENTRY | SwapEntry | ||
) |
Referenced by MmNotPresentFaultSectionView(), and MmPageOutPhysicalAddress().
Definition at line 517 of file procsup.c.
Referenced by PspCreateProcess().
NTSTATUS NTAPI MmCreatePhysicalMapping | ( | _Inout_opt_ PEPROCESS | Process, |
_In_ PVOID | Address, | ||
_In_ ULONG | flProtect, | ||
_In_ PFN_NUMBER | Page | ||
) |
Definition at line 735 of file page.c.
Referenced by MmNotPresentFaultSectionView().
Definition at line 2208 of file section.c.
Referenced by MmInitSectionImplementation().
BOOLEAN NTAPI MmCreateProcessAddressSpace | ( | IN ULONG | MinWs, |
IN PEPROCESS | Dest, | ||
IN PULONG_PTR | DirectoryTableBase | ||
) |
Definition at line 136 of file page.c.
Referenced by PspCreateProcess().
NTSTATUS NTAPI MmCreateTeb | ( | IN PEPROCESS | Process, |
IN PCLIENT_ID | ClientId, | ||
IN PINITIAL_TEB | InitialTeb, | ||
OUT PTEB * | BaseTeb | ||
) |
Definition at line 757 of file procsup.c.
Referenced by PspCreateThread().
NTSTATUS NTAPI MmCreateVirtualMapping | ( | struct _EPROCESS * | Process, |
PVOID | Address, | ||
ULONG | flProtect, | ||
PFN_NUMBER | Page | ||
) |
Referenced by MmAccessFaultSectionView(), MmNotPresentFaultSectionView(), and MmPageOutPhysicalAddress().
NTSTATUS NTAPI MmCreateVirtualMappingUnsafe | ( | struct _EPROCESS * | Process, |
PVOID | Address, | ||
ULONG | flProtect, | ||
PFN_NUMBER | Page | ||
) |
NTSTATUS NTAPI MmDbgCopyMemory | ( | IN ULONG64 | Address, |
IN PVOID | Buffer, | ||
IN ULONG | Size, | ||
IN ULONG | Flags | ||
) |
Definition at line 124 of file mmdbg.c.
Referenced by KdpCopyMemoryChunks().
VOID NTAPI MmDeleteAllRmaps | ( | PFN_NUMBER | Page, |
PVOID | Context, | ||
VOID(*)(PVOID Context, struct _EPROCESS *Process, PVOID Address) | DeleteMapping | ||
) |
Referenced by KeInitThread(), KeStartAllProcessors(), KeUninitThread(), PsConvertToGuiThread(), PspDeleteThread(), and PspReapRoutine().
VOID NTAPI MmDeletePageFileMapping | ( | struct _EPROCESS * | Process, |
PVOID | Address, | ||
SWAPENTRY * | SwapEntry | ||
) |
Referenced by MmFreeMemoryArea(), MmNotPresentFaultSectionView(), and MmPageOutPhysicalAddress().
Definition at line 1366 of file procsup.c.
Referenced by PspDeleteProcess().
Referenced by MmAccessFaultSectionView(), MmFreeCacheSectionPage(), MmFreeSectionPage(), and MmPageOutCacheSection().
Referenced by PspCreateThread(), and PspExitThread().
VOID NTAPI MmDereferencePage | ( | PFN_NUMBER | Page | ) |
Definition at line 565 of file freelist.c.
Referenced by MmReleasePageMemoryConsumer(), and MmTrimUserMemory().
Definition at line 408 of file pool.c.
Referenced by ExFreePoolWithTag(), and ExpCheckPoolAllocation().
Definition at line 1474 of file mminit.c.
Referenced by KdSystemDebugControl().
Definition at line 5273 of file section.c.
Referenced by CcSetFileSizes(), and NtExtendSection().
PVOID NTAPI MmFindGap | ( | PMMSUPPORT | AddressSpace, |
SIZE_T | Length, | ||
ULONG_PTR | Granularity, | ||
BOOLEAN | TopDown | ||
) |
Definition at line 215 of file marea.c.
Referenced by MmCreateMemoryArea(), and MmMapViewOfSection().
PMM_REGION NTAPI MmFindRegion | ( | PVOID | BaseAddress, |
PLIST_ENTRY | RegionListHead, | ||
PVOID | Address, | ||
PVOID * | RegionBaseAddress | ||
) |
Definition at line 257 of file region.c.
Referenced by MmAccessFaultSectionView(), MmAlterRegion(), MmNotPresentFaultSectionView(), MmPageOutPhysicalAddress(), MmProtectSectionView(), and MmQuerySectionView().
NTSTATUS NTAPI MmFlushSegment | ( | _In_ PSECTION_OBJECT_POINTERS | SectionObjectPointer, |
_In_opt_ PLARGE_INTEGER | Offset, | ||
_In_ ULONG | Length, | ||
_Out_opt_ PIO_STATUS_BLOCK | Iosb | ||
) |
Definition at line 4945 of file section.c.
Referenced by CcFlushCache(), CcRosDeleteFileCache(), CcRosFlushVacb(), and MiRosUnmapViewOfSection().
VOID NTAPI MmFreeDriverInitialization | ( | IN PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 1673 of file sysldr.c.
Referenced by IopInitializeDriverModule().
NTSTATUS NTAPI MmFreeMemoryArea | ( | PMMSUPPORT | AddressSpace, |
PMEMORY_AREA | MemoryArea, | ||
PMM_FREE_PAGE_FUNC | FreePage, | ||
PVOID | FreePageContext | ||
) |
Definition at line 283 of file marea.c.
Referenced by MiRemoveNode(), and MmUnmapViewOfSegment().
VOID NTAPI MmFreeSectionSegments | ( | PFILE_OBJECT | FileObject | ) |
Referenced by ExFreePoolWithTag().
Definition at line 291 of file pagefile.c.
Referenced by MiFreeSegmentPage(), MmFreeCacheSectionPage(), MmFreeSectionPage(), MmPageOutPhysicalAddress(), MmpFreePageFileSegment(), and MmUnsharePageEntrySectionSegment().
FORCEINLINE PEPROCESS MmGetAddressSpaceOwner | ( | IN PMMSUPPORT | AddressSpace | ) |
Definition at line 1711 of file mm.h.
Referenced by MmAccessFaultSectionView(), MmAlterViewAttributes(), MmCreateMemoryArea(), MmFindGap(), MmFreeCacheSectionPage(), MmFreeMemoryArea(), MmFreeSectionPage(), MmInsertMemoryArea(), MmLocateMemoryAreaByAddress(), MmLocateMemoryAreaByRegion(), MmNotPresentFaultSectionView(), and MmPageOutCacheSection().
FORCEINLINE PMMSUPPORT MmGetCurrentAddressSpace | ( | VOID | ) |
Definition at line 1719 of file mm.h.
Referenced by MiLockVirtualMemory(), MiProtectVirtualMemory(), MiUnlockVirtualMemory(), MmAccessFault(), MmGetFileNameForAddress(), NtAllocateVirtualMemory(), NtAreMappedFilesTheSame(), and NtFreeVirtualMemory().
Definition at line 2653 of file pagfault.c.
Referenced by NtQueryInformationProcess().
Definition at line 1689 of file section.c.
Referenced by DbgkpPostFakeModuleMessages(), and MiQueryMemorySectionName().
NTSTATUS NTAPI MmGetFileNameForSection | ( | IN PVOID | Section, |
OUT POBJECT_NAME_INFORMATION * | ModuleName | ||
) |
Definition at line 1668 of file section.c.
Referenced by DbgkCreateThread(), and DbgkpSectionToFileHandle().
PFILE_OBJECT NTAPI MmGetFileObjectForSection | ( | IN PVOID | Section | ) |
Definition at line 1541 of file section.c.
Referenced by CcGetFileObjectFromBcb(), CcGetFileObjectFromSectionPtrs(), CcShutdownSystem(), MmGetFileNameForSection(), MmInitializeProcessAddressSpace(), and PsReferenceProcessFilePointer().
VOID NTAPI MmGetImageInformation | ( | OUT PSECTION_IMAGE_INFORMATION | ImageInformation | ) |
Definition at line 1615 of file section.c.
Referenced by NtQueryInformationProcess().
FORCEINLINE PMMSUPPORT MmGetKernelAddressSpace | ( | VOID | ) |
Definition at line 1726 of file mm.h.
Referenced by MiCreateArm3StaticMemoryArea(), MiInitSystemMemoryAreas(), MiRosUnmapViewInSystemSpace(), MmAccessFault(), MmArePagesResident(), MmMakePagesDirty(), MmMapViewInSystemSpaceEx(), MmNotPresentFault(), MmpAccessFault(), MmpPageOutPhysicalAddress(), MmUnmapViewInSystemSpace(), and MmWorkingSetManager().
PFN_NUMBER NTAPI MmGetLRUFirstUserPage | ( | VOID | ) |
Definition at line 45 of file freelist.c.
Referenced by MiShutdownSystem(), and MmTrimUserMemory().
PFN_NUMBER NTAPI MmGetLRUNextUserPage | ( | PFN_NUMBER | PreviousPage, |
BOOLEAN | MoveToLast | ||
) |
Definition at line 125 of file freelist.c.
Referenced by MiShutdownSystem(), and MmTrimUserMemory().
Definition at line 299 of file page.c.
Referenced by MmAlterViewAttributes(), MmNotPresentFaultSectionView(), and MmPageOutCacheSection().
Referenced by KdbpOverwriteInstruction(), and MmAccessFaultSectionView().
PFN_NUMBER NTAPI MmGetPfnForProcess | ( | struct _EPROCESS * | Process, |
PVOID | Address | ||
) |
ULONG NTAPI MmGetReferenceCountPage | ( | PFN_NUMBER | Page | ) |
Definition at line 538 of file freelist.c.
Referenced by MmGetLRUNextUserPage(), and MmGetReferenceCountPageWithoutLock().
struct _MM_RMAP_ENTRY *NTAPI MmGetRmapListHeadPage | ( | PFN_NUMBER | Page | ) |
Definition at line 458 of file freelist.c.
Referenced by MmDeleteRmap(), MmDeleteSectionAssociation(), MmGetSegmentRmap(), MmInsertRmap(), MmPageOutPhysicalAddress(), MmpPageOutPhysicalAddress(), and MmTrimUserMemory().
SWAPENTRY NTAPI MmGetSavedSwapEntryPage | ( | PFN_NUMBER | Page | ) |
Definition at line 499 of file freelist.c.
Referenced by if(), MiPurgeImageSegment(), MmFinalizeSectionPageOut(), MmFreeSectionPage(), MmPageOutPhysicalAddress(), MmpFreePageFileSegment(), and MmUnsharePageEntrySectionSegment().
PMM_SECTION_SEGMENT NTAPI MmGetSectionAssociation | ( | PFN_NUMBER | Page, |
PLARGE_INTEGER | Offset | ||
) |
Definition at line 374 of file sptab.c.
Referenced by MiShutdownSystem(), MmPageOutPhysicalAddress(), and MmpPageOutPhysicalAddress().
Definition at line 1050 of file session.c.
Referenced by ExpWin32SessionCallout().
Definition at line 179 of file session.c.
Referenced by IoGetRequestorSessionId(), MmCreatePeb(), PsGetCurrentProcessSessionId(), PsGetProcessSessionId(), PsGetThreadSessionId(), PspInitializeProcessSecurity(), and SeExchangePrimaryToken().
Definition at line 194 of file session.c.
Referenced by PsGetProcessSessionIdEx().
Definition at line 56 of file session.c.
Referenced by NtQueryDefaultLocale(), and PspUserThreadStartup().
Definition at line 476 of file procsup.c.
Referenced by KiUserModeCallout().
Definition at line 277 of file page.c.
Referenced by MmInitSystem().
Definition at line 44 of file balance.c.
Referenced by MiInitMachineDependent().
NTSTATUS NTAPI MmInitializeHandBuiltProcess | ( | IN PEPROCESS | Process, |
IN PULONG_PTR | DirectoryTableBase | ||
) |
Definition at line 1131 of file procsup.c.
Referenced by PspCreateProcess().
Definition at line 1157 of file procsup.c.
Referenced by PspCreateProcess().
VOID NTAPI MmInitializeMemoryConsumer | ( | ULONG | Consumer, |
NTSTATUS(*)(ULONG Target, ULONG Priority, PULONG NrFreed) | Trim | ||
) |
Definition at line 57 of file balance.c.
Referenced by MmInitSystem().
NTSTATUS NTAPI MmInitializeProcessAddressSpace | ( | IN PEPROCESS | Process, |
IN PEPROCESS Clone | OPTIONAL, | ||
IN PVOID Section | OPTIONAL, | ||
IN OUT PULONG | Flags, | ||
IN POBJECT_NAME_INFORMATION *AuditName | OPTIONAL | ||
) |
Referenced by MiInitMachineDependent(), and PspCreateProcess().
VOID NTAPI MmInitializeRegion | ( | PLIST_ENTRY | RegionListHead, |
SIZE_T | Length, | ||
ULONG | Type, | ||
ULONG | Protect | ||
) |
Definition at line 239 of file region.c.
Referenced by MmMapViewOfSegment().
Definition at line 38 of file rmap.c.
Referenced by MmInitSystem().
Definition at line 272 of file pagefile.c.
Referenced by MmInitSystem().
Definition at line 2299 of file section.c.
Referenced by MmInitSystem().
Definition at line 206 of file mminit.c.
Referenced by Phase1InitializationDiscard().
Referenced by MmAccessFaultSectionView(), MmNotPresentFaultSectionView(), and MmSetSectionAssociation().
Referenced by MmAlterViewAttributes(), and MmNotPresentFaultSectionView().
BOOLEAN NTAPI MmIsFileObjectAPagingFile | ( | PFILE_OBJECT | FileObject | ) |
Definition at line 119 of file pagefile.c.
Referenced by FsRtlIsPagingFile(), and IoPageRead().
BOOLEAN NTAPI MmIsPageInUse | ( | PFN_NUMBER | Page | ) |
Definition at line 558 of file freelist.c.
Referenced by MmCreateVirtualMapping().
Referenced by MmAccessFaultSectionView(), MmAlterViewAttributes(), and MmNotPresentFaultSectionView().
Referenced by MmFreeMemoryArea(), MmNotPresentFaultSectionView(), and MmPageOutCacheSection().
Definition at line 48 of file session.c.
Referenced by KdpQueryMemory().
Referenced by ExAllocatePoolWithQuotaTag(), ExFreePoolWithTag(), ExReturnPoolQuota(), and KeBugCheckWithTf().
Referenced by KeBugCheckWithTf().
NTSTATUS NTAPI MmLoadSystemImage | ( | IN PUNICODE_STRING | FileName, |
IN PUNICODE_STRING NamePrefix | OPTIONAL, | ||
IN PUNICODE_STRING LoadedName | OPTIONAL, | ||
IN ULONG | Flags, | ||
OUT PVOID * | ModuleObject, | ||
OUT PVOID * | ImageBaseAddress | ||
) |
Definition at line 2938 of file sysldr.c.
Referenced by IopLoadDriver(), MiResolveImageReferences(), and SSI_DEF().
PMEMORY_AREA NTAPI MmLocateMemoryAreaByAddress | ( | PMMSUPPORT | AddressSpace, |
PVOID | Address | ||
) |
Definition at line 60 of file marea.c.
Referenced by MiProtectVirtualMemory(), MiQueryMemoryBasicInformation(), MiRosProtectVirtualMemory(), MiRosUnmapViewOfSection(), MiUnmapViewOfSection(), MmAccessFault(), MmAlterViewAttributes(), MmArePagesResident(), MmMakePagesDirty(), MmNotPresentFault(), MmpAccessFault(), MmPageOutPhysicalAddress(), MmpPageOutPhysicalAddress(), MmUnmapViewInSystemSpace(), MmUnmapViewOfSegment(), NtAllocateVirtualMemory(), and NtFreeVirtualMemory().
PMEMORY_AREA NTAPI MmLocateMemoryAreaByRegion | ( | PMMSUPPORT | AddressSpace, |
PVOID | Address, | ||
SIZE_T | Length | ||
) |
Definition at line 106 of file marea.c.
Referenced by MmCreateMemoryArea(), and MmMapViewOfSection().
FORCEINLINE VOID MmLockAddressSpace | ( | PMMSUPPORT | AddressSpace | ) |
Definition at line 1691 of file mm.h.
Referenced by MiInitSystemMemoryAreas(), MiLockVirtualMemory(), MiMapLockedPagesInUserSpace(), MiProtectVirtualMemory(), MiQueryMemoryBasicInformation(), MiRosProtectVirtualMemory(), MiUnlockVirtualMemory(), MiUnmapLockedPagesInUserSpace(), MiUnmapViewOfSection(), MmAlterViewAttributes(), MmArePagesResident(), MmCleanProcessAddressSpace(), MmFreeSectionPage(), MmGetFileNameForAddress(), MmMakePagesDirty(), MmMapViewInSystemSpaceEx(), MmMapViewOfSection(), MmNotPresentFault(), MmNotPresentFaultSectionView(), MmpAccessFault(), MmPageOutPhysicalAddress(), MmpPageOutPhysicalAddress(), MmUnmapViewInSystemSpace(), MmUnmapViewOfSegment(), NtAllocateVirtualMemory(), NtAreMappedFilesTheSame(), and NtFreeVirtualMemory().
NTSTATUS NTAPI MmMakeDataSectionResident | ( | _In_ PSECTION_OBJECT_POINTERS | SectionObjectPointer, |
_In_ LONGLONG | Offset, | ||
_In_ ULONG | Length, | ||
_In_ PLARGE_INTEGER | ValidDataLength | ||
) |
Definition at line 4925 of file section.c.
Referenced by CcRosEnsureVacbResident().
Definition at line 2362 of file sysldr.c.
Referenced by KeGetBugMessageText().
Definition at line 5202 of file section.c.
Referenced by CcCopyWrite(), CcSetDirtyPinnedData(), and CcZeroData().
NTSTATUS NTAPI MmMapViewInSystemSpaceEx | ( | _In_ PVOID | Section, |
_Outptr_result_bytebuffer_ *ViewSize PVOID * | MappedBase, | ||
_Inout_ PSIZE_T | ViewSize, | ||
_Inout_ PLARGE_INTEGER | SectionOffset, | ||
_In_ ULONG_PTR | Flags | ||
) |
Definition at line 4465 of file section.c.
Referenced by CcRosCreateVacb(), and MmMapViewInSystemSpace().
NTSTATUS NTAPI MmNotPresentFaultSectionView | ( | PMMSUPPORT | AddressSpace, |
MEMORY_AREA * | MemoryArea, | ||
PVOID | Address, | ||
BOOLEAN | Locked | ||
) |
Definition at line 1537 of file section.c.
Referenced by MmAccessFaultSectionView(), and MmNotPresentFault().
NTSTATUS NTAPI MmPageOutPhysicalAddress | ( | PFN_NUMBER | Page | ) |
Definition at line 51 of file rmap.c.
Referenced by CcRosTrimCache(), and MmTrimUserMemory().
NTSTATUS NTAPI MmPageOutSectionView | ( | PMMSUPPORT | AddressSpace, |
PMEMORY_AREA | MemoryArea, | ||
PVOID | Address, | ||
ULONG_PTR | Entry | ||
) |
NTSTATUS NTAPI MmProtectSectionView | ( | PMMSUPPORT | AddressSpace, |
PMEMORY_AREA | MemoryArea, | ||
PVOID | BaseAddress, | ||
SIZE_T | Length, | ||
ULONG | Protect, | ||
PULONG | OldProtect | ||
) |
Definition at line 2068 of file section.c.
Referenced by MiRosProtectVirtualMemory().
BOOLEAN NTAPI MmPurgeSegment | ( | _In_ PSECTION_OBJECT_POINTERS | SectionObjectPointer, |
_In_opt_ PLARGE_INTEGER | Offset, | ||
_In_ ULONG | Length | ||
) |
Definition at line 4833 of file section.c.
Referenced by CcPurgeCacheSection().
NTSTATUS NTAPI MmQuerySectionView | ( | PMEMORY_AREA | MemoryArea, |
PVOID | Address, | ||
PMEMORY_BASIC_INFORMATION | Info, | ||
PSIZE_T | ResultLength | ||
) |
Definition at line 2104 of file section.c.
Referenced by MiQueryMemoryBasicInformation().
Definition at line 1030 of file session.c.
Referenced by ExpWin32SessionCallout().
NTSTATUS NTAPI MmReadFromSwapPage | ( | SWAPENTRY | SwapEntry, |
PFN_NUMBER | Page | ||
) |
Definition at line 204 of file pagefile.c.
Referenced by MiSwapInPage(), and MmNotPresentFaultSectionView().
Definition at line 290 of file balance.c.
Referenced by MiDecrementAvailablePages(), and MmRebalanceMemoryConsumersAndWait().
VOID NTAPI MmReferencePage | ( | PFN_NUMBER | Page | ) |
Definition at line 518 of file freelist.c.
Referenced by MmGetLRUFirstUserPage(), and MmGetLRUNextUserPage().
NTSTATUS NTAPI MmReleasePageMemoryConsumer | ( | ULONG | Consumer, |
PFN_NUMBER | Page | ||
) |
Definition at line 72 of file balance.c.
Referenced by FreeSegmentPage(), if(), MiFreeSegmentPage(), MiGetOnePage(), MiPurgeImageSegment(), MiReadFilePage(), MmCreateProcessAddressSpace(), MmDeleteVirtualMapping(), MmFinalizeSectionPageOut(), MmFreeCacheSectionPage(), MmFreePageTable(), MmFreeSectionPage(), MmGetPageTableForProcess(), MmGetPageTableForProcessForPAE(), MmMakeSegmentResident(), MmPageOutCacheSection(), MmPageOutPhysicalAddress(), MmpFreePageFileSegment(), MmPurgeSegment(), and MmUnsharePageEntrySectionSegment().
NTSTATUS NTAPI MmRequestPageMemoryConsumer | ( | ULONG | Consumer, |
BOOLEAN | MyWait, | ||
PPFN_NUMBER | AllocatedPage | ||
) |
Definition at line 313 of file balance.c.
Referenced by CcInitCacheZeroPage(), MiGetOnePage(), MiGetPageTableForProcess(), MiReadFilePage(), MiSwapInPage(), MmAccessFaultSectionView(), MmCreateProcessAddressSpace(), MmGetPageTableForProcess(), MmGetPageTableForProcessForPAE(), MmMakeSegmentResident(), and MmNotPresentFaultSectionView().
Definition at line 890 of file page.c.
Definition at line 2695 of file pagfault.c.
Referenced by NtSetInformationProcess().
Definition at line 486 of file procsup.c.
Referenced by NtSetInformationProcess(), and PspComputeQuantumAndPriority().
Referenced by KdbpOverwriteInstruction(), MmAccessFaultSectionView(), and MmAlterViewAttributes().
VOID NTAPI MmSetRmapListHeadPage | ( | PFN_NUMBER | Page, |
struct _MM_RMAP_ENTRY * | ListHead | ||
) |
Referenced by MmDeleteRmap(), MmDeleteSectionAssociation(), and MmInsertRmap().
VOID NTAPI MmSetSavedSwapEntryPage | ( | PFN_NUMBER | Page, |
SWAPENTRY | SavedSwapEntry | ||
) |
Definition at line 483 of file freelist.c.
Referenced by MiSwapInPage(), MmFinalizeSectionPageOut(), MmFreeCacheSectionPage(), MmFreeSectionPage(), MmNotPresentFaultSectionView(), MmPageOutPhysicalAddress(), MmpFreePageFileSegment(), and MmUnsharePageEntrySectionSegment().
Definition at line 136 of file pagefile.c.
Definition at line 77 of file shutdown.c.
Referenced by PopGracefulShutdown().
Definition at line 138 of file balance.c.
Referenced by MmInitSystem().
Definition at line 945 of file sysldr.c.
Referenced by IopDeleteDriver(), IopInitializeDriverModule(), LoadSymbolsRoutine(), MiCallDllUnloadAndUnloadDll(), MiResolveImageReferences(), and SSI_DEF().
FORCEINLINE VOID MmUnlockAddressSpace | ( | PMMSUPPORT | AddressSpace | ) |
Definition at line 1704 of file mm.h.
Referenced by MiInitSystemMemoryAreas(), MiLockVirtualMemory(), MiMapLockedPagesInUserSpace(), MiProtectVirtualMemory(), MiQueryMemoryBasicInformation(), MiRosProtectVirtualMemory(), MiUnlockVirtualMemory(), MiUnmapLockedPagesInUserSpace(), MiUnmapViewOfSection(), MmAlterViewAttributes(), MmArePagesResident(), MmCleanProcessAddressSpace(), MmFreeSectionPage(), MmGetFileNameForAddress(), MmMakePagesDirty(), MmMapViewInSystemSpaceEx(), MmMapViewOfSection(), MmNotPresentFault(), MmNotPresentFaultSectionView(), MmpAccessFault(), MmPageOutPhysicalAddress(), MmpPageOutPhysicalAddress(), MmUnmapViewInSystemSpace(), MmUnmapViewOfSegment(), NtAllocateVirtualMemory(), NtAreMappedFilesTheSame(), and NtFreeVirtualMemory().
BOOLEAN NTAPI MmUnsharePageEntrySectionSegment | ( | PMEMORY_AREA | MemoryArea, |
PMM_SECTION_SEGMENT | Segment, | ||
PLARGE_INTEGER | Offset, | ||
BOOLEAN | Dirty, | ||
BOOLEAN | PageOut, | ||
ULONG_PTR * | InEntry | ||
) |
Definition at line 1089 of file section.c.
Referenced by MmAccessFaultSectionView(), MmFreeSectionPage(), and MmPageOutPhysicalAddress().
Referenced by ExAllocatePoolWithTag().
NTSTATUS NTAPI MmWriteToSwapPage | ( | SWAPENTRY | SwapEntry, |
PFN_NUMBER | Page | ||
) |
Definition at line 147 of file pagefile.c.
Referenced by MmPageOutPhysicalAddress().
Definition at line 36 of file zeropage.c.
Referenced by Phase1Initialization().
Finds the address of a given named exported routine in a loaded image. Note that this function does not support forwarders.
[in] | ImageBase | The base address of the loaded image. |
[in] | ExportName | The name of the export, given as an ANSI NULL-terminated string. |
Definition at line 401 of file sysldr.c.
Referenced by MiCallDllUnloadAndUnloadDll(), MmCallDllInitialize(), and MmGetSystemRoutineAddress().
NTSTATUS NTAPI RtlpFindExportedRoutineByName | ( | _In_ PVOID | ImageBase, |
_In_ PCSTR | ExportName, | ||
_Out_ PVOID * | Function, | ||
_Out_opt_ PBOOLEAN | IsForwarder, | ||
_In_ NTSTATUS | NotFoundStatus | ||
) |
ReactOS-only helper routine for RtlFindExportedRoutineByName(), that provides a finer granularity regarding the nature of the export, and the failure reasons.
[in] | ImageBase | The base address of the loaded image. |
[in] | ExportName | The name of the export, given as an ANSI NULL-terminated string. |
[out] | Function | The address of the named exported routine, or NULL if not found. If the export is a forwarder (see IsForwarder below), this address points to the forwarder name. |
[out] | IsForwarder | An optional pointer to a BOOLEAN variable, that is set to TRUE if the found export is a forwarder, and FALSE otherwise. |
[in] | NotFoundStatus | The status code to return in case the export could not be found (examples: STATUS_ENTRYPOINT_NOT_FOUND, STATUS_PROCEDURE_NOT_FOUND). |
NotFoundStatus
if the export could not be found;Definition at line 309 of file sysldr.c.
Referenced by CODE_SEG(), and RtlFindExportedRoutineByName().
FORCEINLINE VOID UpdateTotalCommittedPages | ( | LONG | Delta | ) |
Definition at line 871 of file mm.h.
Referenced by MmAllocSwapPage(), MmFreeSwapPage(), MmReleasePageMemoryConsumer(), and MmRequestPageMemoryConsumer().
_Out_ PKAPC_STATE ApcState |
Definition at line 1765 of file mm.h.
Referenced by _IRQL_requires_max_(), DbgkpMarkProcessPeb(), DbgkpPostFakeProcessCreateMessages(), ExpDebuggerWorker(), ExpWin32SessionCallout(), HalpLowerIrql(), IntAttachToCSRSS(), IntDetachFromCSRSS(), IntInt10AllocateBuffer(), IntInt10CallBios(), IntInt10FreeBuffer(), IntInt10ReadMemory(), IntInt10WriteMemory(), IntRemoveHook(), KdbCommand_Gdi_dumpht(), KdbCommand_Gdi_entry(), KdbCommand_Gdi_handle(), KdbpOverwriteInstruction(), KdSetOwedBreakpoints(), KeRemoveQueueApc(), KeStackAttachProcess(), KeUnstackDetachProcess(), KeUserModeCallback(), KiInsertQueueApc(), KiSwapThread(), MI_WS_OWNER(), MiDoMappedCopy(), MiDoPoolCopy(), MiLoadImageSection(), MiQueryMemoryBasicInformation(), MiUnmapViewOfSection(), MmCheckSystemImage(), MmMapViewOfArm3Section(), MmMapViewOfSection(), MmTrimUserMemory(), NtAllocateVirtualMemory(), NtFlushInstructionCache(), NtFreeVirtualMemory(), NtLockVirtualMemory(), NtProtectVirtualMemory(), NtSetInformationObject(), NtUnlockVirtualMemory(), NtUserSetWindowsHookEx(), NtUserWaitForInputIdle(), ObClearProcessHandleTable(), ObDuplicateObject(), ObpCloseHandle(), ObpCreateHandle(), ObpCreateUnnamedHandle(), ObSetHandleAttributes(), PspDeleteProcess(), PspWriteTebImpersonationInfo(), RtlGetCurrentPeb(), SepCleanupLUIDDeviceMapDirectory(), and VideoPortGetRomImage().
Definition at line 665 of file mm.h.
Referenced by _Requires_lock_held_().
|
extern |
Definition at line 30 of file mmdbg.c.
Referenced by MmArmInitSystem().
|
extern |
Definition at line 66 of file pagefile.c.
Referenced by MmAllocSwapPage(), MmFreeSwapPage(), MmInitPagingFile(), NtCreatePagingFile(), and QSI_DEF().
|
extern |
Definition at line 28 of file balance.c.
Referenced by MiTrimMemoryConsumer(), MmInitializeBalancer(), MmInitializeMemoryConsumer(), MmReleasePageMemoryConsumer(), MmRequestPageMemoryConsumer(), and QSI_DEF().
|
extern |
Definition at line 69 of file pagefile.c.
Referenced by MmAllocSwapPage(), MmFreeSwapPage(), MmInitPagingFile(), and QSI_DEF().
|
extern |
Definition at line 26 of file freelist.c.
Referenced by _Requires_lock_held_(), CcCanIWrite(), CcWriteBehind(), MiAllocatePagesForMdl(), MiAllocatePoolPages(), MiBalancerThread(), MiDecrementAvailablePages(), MiIncrementAvailablePages(), MiInitMachineDependent(), MiNotifyMemoryEvents(), MiRemoveAnyPage(), MiRemoveZeroPage(), MiResolveTransitionFault(), MiSessionCommitPageTables(), MiTrimMemoryConsumer(), MmAdjustWorkingSetSize(), MmAllocateSpecialPool(), MmArmAccessFault(), MmArmInitSystem(), MmWorkingSetManager(), MmZeroPageThread(), and QSI_DEF().
|
extern |
Definition at line 31 of file mmdbg.c.
Referenced by MmArmInitSystem().
|
extern |
Definition at line 25 of file mminit.c.
Referenced by MiEnablePagingOfDriver(), and MmPageEntireDriver().
|
extern |
Definition at line 32 of file freelist.c.
|
extern |
Definition at line 42 of file pfnlist.c.
Referenced by MiInsertPageInFreeList(), MiInsertPageInList(), MiRemoveAnyPage(), MiRemoveZeroPage(), and MmZeroPageThread().
|
extern |
Definition at line 31 of file meminit.c.
Referenced by MiAllocatePagesForMdl(), MiBuildPfnDatabaseFromLoaderBlock(), MiBuildPfnDatabaseSelf(), MiComputeNonPagedPoolVa(), MiDecrementReferenceCount(), MiGetPfnEntry(), MiInitializeColorTables(), MiInitializeSessionIds(), MiInsertPageInFreeList(), MiInsertPageInList(), MiInsertStandbyListAtFront(), MiScanMemoryDescriptors(), MiSetupPfnForPageTable(), MmAllocateContiguousMemory(), MmAllocateContiguousMemorySpecifyCache(), MmArmInitSystem(), MmCreatePhysicalMemorySection(), MmDumpArmPfnDatabase(), MmGetAddressablePageCountIncludingHoles(), MmInitializeMemoryManager(), MmMarkPagesInLookupTable(), MmReferencePage(), NtMapViewOfSection(), and QSI_DEF().
|
extern |
Definition at line 27 of file mminit.c.
Referenced by MmGetAddressSpaceOwner(), MmGetKernelAddressSpace(), and MmInitSystem().
|
extern |
Definition at line 22 of file sysldr.c.
Referenced by MmArmInitSystem(), and QSI_DEF().
|
extern |
Definition at line 30 of file meminit.c.
Referenced by MiBuildPfnDatabaseSelf(), MiBuildPfnDatabaseZeroPage(), MiInitializeSessionIds(), MiInsertPageInFreeList(), MiInsertPageInList(), MiInsertStandbyListAtFront(), MiScanMemoryDescriptors(), MmAllocatePagesInLookupTable(), MmAreMemoryPagesAvailable(), MmArmInitSystem(), MmFindAvailablePages(), MmFindAvailablePagesBeforePage(), MmGetAddressablePageCountIncludingHoles(), MmInitPageLookupTable(), MmMarkPagesInLookupTable(), MmUpdateLastFreePageHint(), and QSI_DEF().
|
extern |
Definition at line 47 of file pfnlist.c.
Referenced by MiUnlinkPageFromList().
|
extern |
Definition at line 45 of file pfnlist.c.
Referenced by CcCanIWrite(), MiDecrementReferenceCount(), MiInsertPageInList(), MiUnlinkPageFromList(), and MmWorkingSetManager().
|
extern |
Definition at line 63 of file pagefile.c.
Referenced by MiShutdownSystem(), MmInitPagingFile(), MmIsFileObjectAPagingFile(), MmShutdownSystem(), and NtCreatePagingFile().
|
extern |
Definition at line 48 of file init.c.
Referenced by CcInitializeCacheManager(), KdbSymInit(), MiAdjustWorkingSetManagerParameters(), MiBuildNonPagedPool(), MiComputeNonPagedPoolVa(), MiInitializeMemoryEvents(), MiInitializeNonPagedPool(), MiInitializeSessionIds(), MiInitializeSpecialPool(), MiMapPfnDatabase(), MiScanMemoryDescriptors(), MmArmInitSystem(), MmSetMemoryPriorityProcess(), MxGetNextPage(), Phase1InitializationDiscard(), and QSI_DEF().
|
extern |
Definition at line 34 of file freelist.c.
|
extern |
Definition at line 57 of file pagefile.c.
Referenced by MiReadPageFile(), MiShutdownSystem(), MmAllocSwapPage(), MmFreeSwapPage(), MmInitPagingFile(), MmIsFileObjectAPagingFile(), MmShutdownSystem(), MmWriteToSwapPage(), and NtCreatePagingFile().
|
extern |
Definition at line 35 of file freelist.c.
Referenced by QSI_DEF(), and UpdateTotalCommittedPages().
|
extern |
Definition at line 24 of file freelist.c.
Referenced by _Success_(), MI_PFN_ELEMENT(), MiAddDescriptorToDatabase(), MiBuildNonPagedPool(), MiBuildPfnDatabase(), MiDbgDumpAddressSpace(), MiGetPfnEntry(), MiGetPfnEntryIndex(), MiInitializeColorTables(), MiInitMachineDependent(), MiInitSystemMemoryAreas(), MiMapPfnDatabase(), and MmCreateVirtualMappingUnsafeEx().
|
extern |
Definition at line 49 of file krnlinit.c.
Referenced by KiInitSpinLocks().
|
extern |
Definition at line 33 of file freelist.c.
|
extern |
Definition at line 27 of file freelist.c.
Referenced by _Requires_lock_held_(), MiInitializeSpecialPool(), MmAdjustWorkingSetSize(), and MmArmInitSystem().
|
extern |
Definition at line 31 of file freelist.c.
Referenced by MmCommitSessionMappedView().
|
extern |
Definition at line 43 of file pfnlist.c.
Referenced by MiInsertPageInList(), and MiUnlinkPageFromList().
|
extern |
Definition at line 26 of file sysldr.c.
Referenced by MiFindInitializationCode(), MmAddVerifierThunks(), MmArmInitSystem(), MmLoadSystemImage(), and MmUnloadSystemImage().
|
extern |
Definition at line 397 of file mminit.c.
Referenced by CcCanIWrite(), and MmArmInitSystem().
|
extern |
Definition at line 396 of file mminit.c.
Referenced by CcCanIWrite(), CcWriteBehind(), and MmArmInitSystem().
|
extern |
Definition at line 359 of file mminit.c.
Referenced by MmArmInitSystem().
|
extern |
Definition at line 36 of file freelist.c.
|
extern |
Definition at line 30 of file freelist.c.
Referenced by QSI_DEF(), and UpdateTotalCommittedPages().
|
extern |
Definition at line 27 of file pool.c.
Referenced by _Requires_lock_held_().
|
extern |
Definition at line 28 of file pool.c.
Referenced by _Requires_lock_held_().
|
extern |
Definition at line 20 of file drvmgmt.c.
Referenced by MmIsVerifierEnabled().
|
extern |
Definition at line 41 of file pfnlist.c.
Referenced by MiRemoveAnyPage(), MiRemoveZeroPage(), and MmZeroPageThread().
Definition at line 666 of file mm.h.
Referenced by _Requires_lock_held_().
Definition at line 1305 of file mm.h.
Referenced by _Success_(), CcRosTrimCache(), DiskClassInstaller(), DmaRequest(), FatBuildZeroMdl(), FatExamineFatEntries(), FatFlushFat(), FatSetFatRun(), FindFile(), FreeWsleIndex(), Ki386FreeIdentityMap(), MempSetupPaging(), MempUnmapPage(), MemQueryMemoryZone(), MI_MAKE_TRANSITION_PTE(), MiAllocatePagesForMdl(), MiCacheEvictPages(), MiCheckForContiguousMemory(), MiFindContiguousMemory(), MiFindContiguousPages(), MiGetPfnEntry(), MiMapPageInHyperSpace(), MiReadFilePage(), MiReadPageFile(), MiResolvePageFileFault(), MiShutdownSystem(), MmCreatePhysicalMapping(), MmCreateVirtualMapping(), MmCreateVirtualMappingUnsafe(), MmCreateVirtualMappingUnsafeEx(), MmDeleteRmap(), MmDeleteSectionAssociation(), MmDeleteVirtualMapping(), MmFinalizeSectionPageOut(), MmFreeCacheSectionPage(), MmFreeMemoryArea(), MmGetLRUFirstUserPage(), MmGetLRUNextUserPage(), MmGetPfnForProcess(), MmGetReferenceCountPageWithoutLock(), MmGetSectionAssociation(), MmGetSegmentRmap(), MmInsertLRULastUserPage(), MmInsertRmap(), MmMdFindDescriptor(), MmMdFindDescriptorFromMdl(), MmPageOutPhysicalAddress(), MmPapFreePhysicalPages(), MmpPageOutPhysicalAddress(), MmReadFromSwapPage(), MmReleasePageMemoryConsumer(), MmRemoveLRUUserPage(), MmRequestPageMemoryConsumer(), MmSetSectionAssociation(), MmWriteToSwapPage(), MUIClearStyledText(), MUIClearText(), MUIGetEntry(), MUISetStyledText(), MUISetText(), OpenControlPanelItem(), RunUSetup(), SH_CreatePropertySheetPage(), ShowFolderOptionsDialog(), TestFreeNoAccess(), TestMmBuildMdlForNonPagedPool(), TrimWsList(), vfatDirFindFile(), VidBiosDrawGlyph(), VidBiosGetCursorPosition(), VidBiosPrintCharacter(), VidBiosScrollWindow(), VidBiosSetCursorPosition(), VidBiosSetVideoMode(), and VidBiosVideoService().
Definition at line 674 of file mm.h.
Referenced by _Requires_lock_held_().
Definition at line 1304 of file mm.h.
Referenced by _Success_(), and MmDeleteVirtualMapping().