ReactOS 0.4.16-dev-981-g80eb313
|
Go to the source code of this file.
Classes | |
struct | _POOL_DESCRIPTOR |
struct | _POOL_HEADER |
struct | _POOL_TRACKER_TABLE |
struct | _POOL_TRACKER_BIG_PAGES |
struct | _MI_LARGE_PAGE_DRIVER_ENTRY |
struct | _PHYSICAL_MEMORY_RUN |
struct | _PHYSICAL_MEMORY_DESCRIPTOR |
struct | _MMCOLOR_TABLES |
struct | _MI_LARGE_PAGE_RANGES |
struct | _MMVIEW |
struct | _MMSESSION |
struct | _MM_SESSION_SPACE_FLAGS |
struct | _MM_SESSION_SPACE |
Enumerations | |
enum | _MMSYSTEM_PTE_POOL_TYPE { SystemPteSpace , NonPagedPoolExpansion , MaximumPtePoolTypes } |
enum | _MI_PFN_CACHE_ATTRIBUTE { MiNonCached , MiCached , MiWriteCombined , MiNotMapped } |
#define IMAGE_SCN_PROTECTION_MASK (IMAGE_SCN_MEM_WRITE | IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_EXECUTE) |
#define MI_GET_NEXT_COLOR | ( | ) | (MI_GET_PAGE_COLOR(++MmSystemPageColor)) |
#define MI_GET_NEXT_PROCESS_COLOR | ( | x | ) | (MI_GET_PAGE_COLOR(++(x)->NextPageColor)) |
#define MI_IS_SESSION_ADDRESS | ( | Address | ) | (((Address) >= MmSessionBase) && ((Address) < MiSessionSpaceEnd)) |
#define MI_IS_SESSION_IMAGE_ADDRESS | ( | Address | ) | (((Address) >= MiSessionImageStart) && ((Address) < MiSessionImageEnd)) |
#define MI_IS_SESSION_PTE | ( | Pte | ) | ((((PMMPTE)Pte) >= MiSessionBasePte) && (((PMMPTE)Pte) < MiSessionLastPte)) |
#define MI_IS_SYSTEM_PAGE_TABLE_ADDRESS | ( | Address | ) | (((Address) >= (PVOID)MiAddressToPte(MmSystemRangeStart)) && ((Address) <= (PVOID)PTE_TOP)) |
#define MI_LOWEST_VAD_ADDRESS (PVOID)MM_LOWEST_USER_ADDRESS |
#define MI_SESSION_DATA_PAGES_MAXIMUM (MM_ALLOCATION_GRANULARITY / PAGE_SIZE) |
#define MI_SESSION_TAG_PAGES_MAXIMUM (MM_ALLOCATION_GRANULARITY / PAGE_SIZE) |
#define MM_DECOMMIT (MM_ZERO_ACCESS | MM_GUARDPAGE) |
#define MM_NOACCESS (MM_ZERO_ACCESS | MM_WRITECOMBINE) |
#define MM_OUTSWAPPED_KSTACK (MM_EXECUTE_WRITECOPY | MM_WRITECOMBINE) |
#define POOL_LISTS_PER_PAGE (PAGE_SIZE / POOL_BLOCK_SIZE) |
#define POOL_MAX_ALLOC (PAGE_SIZE - (sizeof(POOL_HEADER) + POOL_BLOCK_SIZE)) |
#define SYSTEM_PD_SIZE (PPE_PER_PAGE * PD_SIZE) |
typedef struct _MM_SESSION_SPACE MM_SESSION_SPACE |
typedef struct _MMCOLOR_TABLES MMCOLOR_TABLES |
typedef struct _MMSESSION MMSESSION |
typedef struct _MI_LARGE_PAGE_RANGES * PMI_LARGE_PAGE_RANGES |
typedef struct _MM_SESSION_SPACE * PMM_SESSION_SPACE |
typedef struct _MMCOLOR_TABLES * PMMCOLOR_TABLES |
typedef struct _MMSESSION * PMMSESSION |
typedef struct _POOL_DESCRIPTOR POOL_DESCRIPTOR |
typedef struct _POOL_HEADER POOL_HEADER |
typedef struct _PHYSICAL_MEMORY_RUN * PPHYSICAL_MEMORY_RUN |
typedef struct _POOL_DESCRIPTOR * PPOOL_DESCRIPTOR |
typedef struct _POOL_HEADER * PPOOL_HEADER |
typedef struct _POOL_TRACKER_TABLE * PPOOL_TRACKER_TABLE |
Enumerator | |
---|---|
MiNonCached | |
MiCached | |
MiWriteCombined | |
MiNotMapped |
Definition at line 422 of file miarm.h.
Enumerator | |
---|---|
SystemPteSpace | |
NonPagedPoolExpansion | |
MaximumPtePoolTypes |
Definition at line 415 of file miarm.h.
C_ASSERT | ( | POOL_BLOCK_SIZE | = =sizeof(LIST_ENTRY) | ) |
C_ASSERT | ( | sizeof(POOL_HEADER) | = =POOL_BLOCK_SIZE | ) |
VOID NTAPI ExInitializePoolDescriptor | ( | IN PPOOL_DESCRIPTOR | PoolDescriptor, |
IN POOL_TYPE | PoolType, | ||
IN ULONG | PoolIndex, | ||
IN ULONG | Threshold, | ||
IN PVOID | PoolLock | ||
) |
Definition at line 969 of file expool.c.
Referenced by InitializePool(), and MiInitializeSessionPool().
Definition at line 1020 of file expool.c.
Referenced by MiBuildPagedPool(), and MiInitMachineDependent().
FORCEINLINE VOID MI_ERASE_PTE | ( | IN PMMPTE | PointerPte | ) |
Definition at line 1019 of file miarm.h.
Referenced by MiDeletePte(), MiDeleteSystemPageableVm(), MiDeleteVirtualAddresses(), MiUnmapLockedPagesInUserSpace(), and MmFreeSpecialPool().
Definition at line 1570 of file miarm.h.
Referenced by MiDeleteVirtualAddresses(), MiQueryAddressState(), and NtAllocateVirtualMemory().
FORCEINLINE BOOLEAN MI_IS_MAPPED_PTE | ( | PMMPTE | PointerPte | ) |
FORCEINLINE BOOLEAN MI_IS_PHYSICAL_ADDRESS | ( | IN PVOID | Address | ) |
Definition at line 959 of file miarm.h.
Referenced by MiDispatchFault(), MiFindInitializationCode(), MiFreeInitializationCode(), MiProtectFreeNonPagedPool(), MiReleaseProcessReferenceToSessionDataPage(), MiSetPagingOfDriver(), MiUnProtectFreeNonPagedPool(), MiWriteProtectSystemImage(), MmChangeKernelResourceSectionProtection(), MmFreeDriverInitialization(), MmFreeLoaderBlock(), MmMakeKernelResourceSectionWritable(), and MmProbeAndLockPages().
FORCEINLINE BOOLEAN MI_IS_PROCESS_WORKING_SET | ( | PMMSUPPORT | WorkingSet | ) |
Definition at line 675 of file miarm.h.
Referenced by MiInitializeWorkingSetList(), and MmWorkingSetManager().
FORCEINLINE BOOLEAN MI_IS_WS_UNSAFE | ( | IN PEPROCESS | Process | ) |
Definition at line 1127 of file miarm.h.
Referenced by MiLockProcessWorkingSet(), MiLockProcessWorkingSetShared(), MiLockProcessWorkingSetUnsafe(), MiUnlockProcessWorkingSet(), MiUnlockProcessWorkingSetForFault(), MiUnlockProcessWorkingSetShared(), and MiUnlockProcessWorkingSetUnsafe().
FORCEINLINE VOID MI_MAKE_HARDWARE_PTE | ( | IN PMMPTE | NewPte, |
IN PMMPTE | MappingPte, | ||
IN ULONG_PTR | ProtectionMask, | ||
IN PFN_NUMBER | PageFrameNumber | ||
) |
Definition at line 821 of file miarm.h.
Referenced by MiCompleteProtoPteFault(), MiResolveDemandZeroFault(), MiResolvePageFileFault(), MiResolveProtoPteFault(), MmArmAccessFault(), and MmCreateVirtualMappingUnsafeEx().
FORCEINLINE VOID MI_MAKE_HARDWARE_PTE_KERNEL | ( | IN PMMPTE | NewPte, |
IN PMMPTE | MappingPte, | ||
IN ULONG_PTR | ProtectionMask, | ||
IN PFN_NUMBER | PageFrameNumber | ||
) |
Definition at line 787 of file miarm.h.
Referenced by MiArchCreateProcessAddressSpace(), MmChangeKernelResourceSectionProtection(), MmCreateKernelStack(), MmGrowKernelStackEx(), and MmInitSystem().
FORCEINLINE VOID MI_MAKE_HARDWARE_PTE_USER | ( | IN PMMPTE | NewPte, |
IN PMMPTE | MappingPte, | ||
IN ULONG_PTR | ProtectionMask, | ||
IN PFN_NUMBER | PageFrameNumber | ||
) |
Definition at line 841 of file miarm.h.
Referenced by MiCompleteProtoPteFault(), MiFlushTbAndCapture(), MiMapLockedPagesInUserSpace(), MiResolveDemandZeroFault(), MiResolveProtoPteFault(), and MmArmAccessFault().
Definition at line 868 of file miarm.h.
Definition at line 897 of file miarm.h.
FORCEINLINE VOID MI_MAKE_TRANSITION_PTE | ( | _Out_ PMMPTE | NewPte, |
_In_ PFN_NUMBER | Page, | ||
_In_ ULONG | Protection | ||
) |
Definition at line 943 of file miarm.h.
Referenced by MiResolvePageFileFault(), and TrimWsList().
FORCEINLINE PMMPFN MI_PFN_ELEMENT | ( | IN PFN_NUMBER | Pfn | ) |
Definition at line 1587 of file miarm.h.
Referenced by MiDecrementReferenceCount(), MiDecrementShareCount(), MiDispatchFault(), MiFindContiguousPages(), MiGetPageProtection(), MiInitializeAndChargePfn(), MiInitializePfn(), MiInitializePfnAndMakePteValid(), MiInitializePfnForOtherProcess(), MiInsertPageInFreeList(), MiInsertPageInList(), MiInsertStandbyListAtFront(), MiMapLockedPagesInUserSpace(), MiReleaseProcessReferenceToSessionDataPage(), MiRemoveAnyPage(), MiRemovePageByColor(), MiRemoveZeroPage(), MiResolveDemandZeroFault(), MiResolvePageFileFault(), MiResolveProtoPteFault(), MiSegmentDelete(), MiSessionCommitPageTables(), MiSessionCreateInternal(), MiUnlinkFreeOrZeroedPage(), MiUnlinkPageFromList(), MmArmAccessFault(), and MmFreeSpecialPool().
Definition at line 991 of file miarm.h.
Referenced by MiFlushTbAndCapture(), MiSetSystemCodeProtection(), MmArmAccessFault(), and MmChangeKernelResourceSectionProtection().
Definition at line 1048 of file miarm.h.
Referenced by MmArmAccessFault().
Definition at line 1006 of file miarm.h.
Referenced by _IRQL_requires_max_(), MiAccessCheck(), MiAddMappedPtes(), MiAllocatePoolPages(), MiDecommitPages(), MiDecrementShareCount(), MiMapViewOfDataSection(), MiProcessValidPteList(), MiProtectFreeNonPagedPool(), MiProtectVirtualMemory(), MiResolvePageFileFault(), MmArmAccessFault(), MmCommitSessionMappedView(), MmCreateKernelStack(), MmGrowKernelStackEx(), and NtAllocateVirtualMemory().
Definition at line 1031 of file miarm.h.
Referenced by MiAllocatePoolPages(), MiBuildPagedPool(), MiFillSystemPageDirectory(), MiInitializeAndChargePfn(), MiRemoveMappedPtes(), MiSessionCommitPageTables(), MiSessionCreateInternal(), and MiSessionInitializeWorkingSetList().
Definition at line 973 of file miarm.h.
Referenced by MiAllocatePoolPages(), MiArchCreateProcessAddressSpace(), MiBuildPagedPool(), MiCompleteProtoPteFault(), MiCopyPfn(), MiDispatchFault(), MiInitializeColorTables(), MiInitializePfnAndMakePteValid(), MiInitMachineDependent(), MiLoadImageSection(), MiMapLockedPagesInUserSpace(), MiMapPageInHyperSpace(), MiMapPagesInZeroSpace(), MiMapPDEs(), MiMapPfnDatabase(), MiMapPPEs(), MiMapPTEs(), MiReloadBootLoadedDrivers(), MiResolveDemandZeroFault(), MiResolvePageFileFault(), MiResolveProtoPteFault(), MiResolveTransitionFault(), MiSessionCreateInternal(), MiUnProtectFreeNonPagedPool(), MiZeroPfn(), MmAllocateNonCachedMemory(), MmArmAccessFault(), MmCreateKernelStack(), MmGrowKernelStackEx(), MmMapIoSpace(), MmMapLockedPagesSpecifyCache(), and MmMapLockedPagesWithReservedMapping().
FORCEINLINE BOOLEAN MI_WS_OWNER | ( | IN PEPROCESS | Process | ) |
Definition at line 1090 of file miarm.h.
Referenced by MiUnlockProcessWorkingSet(), MiUnlockProcessWorkingSetForFault(), MiUnlockProcessWorkingSetShared(), and MiUnlockProcessWorkingSetUnsafe().
FORCEINLINE KIRQL MiAcquireExpansionLock | ( | VOID | ) |
Definition at line 1544 of file miarm.h.
Referenced by MiArchCreateProcessAddressSpace(), MiDereferenceSessionFinal(), MiSessionAddProcess(), MiSessionInitializeWorkingSetList(), MiSessionLeader(), MiSessionRemoveProcess(), MmDeleteProcessAddressSpace(), MmGetSessionById(), and MmWorkingSetManager().
PMDL NTAPI MiAllocatePagesForMdl | ( | IN PHYSICAL_ADDRESS | LowAddress, |
IN PHYSICAL_ADDRESS | HighAddress, | ||
IN PHYSICAL_ADDRESS | SkipBytes, | ||
IN SIZE_T | TotalBytes, | ||
IN MI_PFN_CACHE_ATTRIBUTE | CacheAttribute, | ||
IN ULONG | Flags | ||
) |
Definition at line 182 of file freelist.c.
Referenced by MmAllocateNonCachedMemory(), MmAllocatePagesForMdl(), and MmAllocatePagesForMdlEx().
TABLE_SEARCH_RESULT NTAPI MiCheckForConflictingNode | ( | IN ULONG_PTR | StartVpn, |
IN ULONG_PTR | EndVpn, | ||
IN PMM_AVL_TABLE | Table, | ||
OUT PMMADDRESS_NODE * | NodeOrParent | ||
) |
Definition at line 150 of file vadnode.c.
Referenced by MiInsertVadEx(), MiMapLockedPagesInUserSpace(), MiProtectVirtualMemory(), MmLocateMemoryAreaByAddress(), MmLocateMemoryAreaByRegion(), and NtAllocateVirtualMemory().
PVOID NTAPI MiCheckForContiguousMemory | ( | IN PVOID | BaseAddress, |
IN PFN_NUMBER | BaseAddressPages, | ||
IN PFN_NUMBER | SizeInPages, | ||
IN PFN_NUMBER | LowestPfn, | ||
IN PFN_NUMBER | HighestPfn, | ||
IN PFN_NUMBER | BoundaryPfn, | ||
IN MI_PFN_CACHE_ATTRIBUTE | CacheAttribute | ||
) |
Definition at line 214 of file contmem.c.
Referenced by MiAllocateContiguousMemory().
Definition at line 479 of file pagfault.c.
Referenced by MiDeletePte(), MiInitializePfn(), MiInitializePfnAndMakePteValid(), and MmArmAccessFault().
NTSTATUS NTAPI MiCheckSecuredVad | ( | IN PMMVAD | Vad, |
IN PVOID | Base, | ||
IN SIZE_T | Size, | ||
IN ULONG | ProtectionMask | ||
) |
Definition at line 903 of file vadnode.c.
Referenced by MiUnmapViewOfSection(), and NtAllocateVirtualMemory().
Definition at line 499 of file mminit.c.
Referenced by MmArmInitSystem().
FORCEINLINE BOOLEAN MiConvertSharedWorkingSetLockToExclusive | ( | _In_ PETHREAD | Thread, |
_In_ PMMSUPPORT | Vm | ||
) |
Definition at line 1441 of file miarm.h.
Referenced by MmWorkingSetManager().
FORCEINLINE USHORT MiDecrementPageTableReferences | ( | IN PVOID | Address | ) |
Definition at line 2505 of file miarm.h.
Referenced by _Success_(), MiDeletePde(), MiDeleteVirtualAddresses(), MiUnmapLockedPagesInUserSpace(), and MmDeletePageFileMapping().
Definition at line 1236 of file pfnlist.c.
Referenced by MiDecrementShareCount(), MiDeletePte(), MiDereferencePfnAndDropLockCount(), and MmFreePagesFromMdl().
Definition at line 1141 of file pfnlist.c.
Referenced by FreeWsleIndex(), MiDeletePte(), MiDeleteSystemPageableVm(), MiFreeContiguousMemory(), MiProcessValidPteList(), MiProtectVirtualMemory(), MiReleaseProcessReferenceToSessionDataPage(), MiRemoveMappedPtes(), MiUnmapLockedPagesInUserSpace(), MmDeleteKernelStack(), MmDeleteProcessAddressSpace(), MmFreeLoaderBlock(), MmFreeSpecialPool(), and TrimWsList().
Definition at line 2949 of file section.c.
Referenced by MmpDeleteSection().
Definition at line 2539 of file miarm.h.
Referenced by _Success_(), MiDeleteVirtualAddresses(), MiUnmapLockedPagesInUserSpace(), and MmDeletePageFileMapping().
VOID NTAPI MiDeletePte | ( | IN PMMPTE | PointerPte, |
IN PVOID | VirtualAddress, | ||
IN PEPROCESS | CurrentProcess, | ||
IN PMMPTE | PrototypePte | ||
) |
Definition at line 369 of file virtual.c.
Referenced by MiDeletePde(), MiDeleteVirtualAddresses(), MiResolveProtoPteFault(), and MmArmAccessFault().
PFN_COUNT NTAPI MiDeleteSystemPageableVm | ( | IN PMMPTE | PointerPte, |
IN PFN_NUMBER | PageCount, | ||
IN ULONG | Flags, | ||
OUT PPFN_NUMBER | ValidPages | ||
) |
Definition at line 275 of file virtual.c.
Referenced by MiFreeInitializationCode(), MiFreePoolPages(), MmFreeDriverInitialization(), and MmFreeSpecialPool().
Definition at line 530 of file virtual.c.
Referenced by MiRemoveMappedView(), MmCleanProcessAddressSpace(), MmDeleteTeb(), and NtFreeVirtualMemory().
FORCEINLINE VOID MiDereferencePfnAndDropLockCount | ( | IN PMMPFN | Pfn1 | ) |
Definition at line 1628 of file miarm.h.
Referenced by MI_UNLOCK_VA(), MiCompleteProtoPteFault(), MiDispatchFault(), and MmUnlockPages().
FORCEINLINE ULONG_PTR MiDetermineUserGlobalPteMask | ( | IN PVOID | PointerPte | ) |
Definition at line 750 of file miarm.h.
Referenced by MI_MAKE_HARDWARE_PTE(), and MiResolveTransitionFault().
FORCEINLINE VOID MiDropLockCount | ( | IN PMMPFN | Pfn1 | ) |
Definition at line 1598 of file miarm.h.
Referenced by MiResolveTransitionFault().
PFN_NUMBER NTAPI MiFindContiguousPages | ( | IN PFN_NUMBER | LowestPfn, |
IN PFN_NUMBER | HighestPfn, | ||
IN PFN_NUMBER | BoundaryPfn, | ||
IN PFN_NUMBER | SizeInPages, | ||
IN MEMORY_CACHING_TYPE | CacheType | ||
) |
Definition at line 22 of file contmem.c.
Referenced by MiFindContiguousMemory().
NTSTATUS NTAPI MiFindEmptyAddressRangeDownBasedTree | ( | IN SIZE_T | Length, |
IN ULONG_PTR | BoundaryAddress, | ||
IN ULONG_PTR | Alignment, | ||
IN PMM_AVL_TABLE | Table, | ||
OUT PULONG_PTR | Base | ||
) |
Definition at line 799 of file vadnode.c.
Referenced by MmCreateArm3Section().
TABLE_SEARCH_RESULT NTAPI MiFindEmptyAddressRangeDownTree | ( | IN SIZE_T | Length, |
IN ULONG_PTR | BoundaryAddress, | ||
IN ULONG_PTR | Alignment, | ||
IN PMM_AVL_TABLE | Table, | ||
OUT PULONG_PTR | Base, | ||
OUT PMMADDRESS_NODE * | Parent | ||
) |
Definition at line 681 of file vadnode.c.
Referenced by MiInsertVadEx(), and MmFindGap().
TABLE_SEARCH_RESULT NTAPI MiFindEmptyAddressRangeInTree | ( | IN SIZE_T | Length, |
IN ULONG_PTR | Alignment, | ||
IN PMM_AVL_TABLE | Table, | ||
OUT PMMADDRESS_NODE * | PreviousVad, | ||
OUT PULONG_PTR | Base | ||
) |
Definition at line 584 of file vadnode.c.
Referenced by MiInsertVadEx(), MiMapLockedPagesInUserSpace(), and MmFindGap().
PMMADDRESS_NODE NTAPI MiGetNextNode | ( | IN PMMADDRESS_NODE | Node | ) |
Definition at line 549 of file vadnode.c.
Referenced by MiFindEmptyAddressRangeInTree(), and MiQueryMemoryBasicInformation().
Definition at line 1355 of file virtual.c.
Referenced by MiProtectVirtualMemory(), MiQueryAddressState(), and NtAllocateVirtualMemory().
PMMADDRESS_NODE NTAPI MiGetPreviousNode | ( | IN PMMADDRESS_NODE | Node | ) |
Definition at line 513 of file vadnode.c.
Referenced by MiFindEmptyAddressRangeDownBasedTree(), and MiFindEmptyAddressRangeDownTree().
FORCEINLINE USHORT MiIncrementPageTableReferences | ( | IN PVOID | Address | ) |
Definition at line 2479 of file miarm.h.
Referenced by MiDecommitPages(), MiMapLockedPagesInUserSpace(), MiProtectVirtualMemory(), MmArmAccessFault(), MmCreatePageFileMapping(), MmCreateVirtualMappingUnsafeEx(), and NtAllocateVirtualMemory().
NTSTATUS NTAPI MiInitializeAndChargePfn | ( | OUT PPFN_NUMBER | PageFrameIndex, |
IN PMMPDE | PointerPde, | ||
IN PFN_NUMBER | ContainingPageFrame, | ||
IN BOOLEAN | SessionAllocation | ||
) |
Definition at line 1101 of file pfnlist.c.
Referenced by MiInitializeSessionPool().
Definition at line 553 of file mminit.c.
Referenced by MiBuildPfnDatabase(), and MiInitMachineDependent().
Definition at line 68 of file largepag.c.
Referenced by MmArmInitSystem().
Definition at line 34 of file largepag.c.
Referenced by MmArmInitSystem().
Definition at line 1330 of file mminit.c.
Referenced by MmInitSystem().
Definition at line 186 of file pool.c.
Referenced by MiBuildNonPagedPool(), and MiInitMachineDependent().
VOID NTAPI MiInitializePfn | ( | IN PFN_NUMBER | PageFrameIndex, |
IN PMMPTE | PointerPte, | ||
IN BOOLEAN | Modified | ||
) |
Definition at line 970 of file pfnlist.c.
Referenced by MiLoadImageSection(), MiResolveDemandZeroFault(), MiResolvePageFileFault(), MiResolveProtoPteFault(), MmArmAccessFault(), MmCreateKernelStack(), MmGrowKernelStackEx(), and MmInitializeProcessAddressSpace().
VOID NTAPI MiInitializePfnAndMakePteValid | ( | IN PFN_NUMBER | PageFrameIndex, |
IN PMMPTE | PointerPte, | ||
IN MMPTE | TempPte | ||
) |
Definition at line 1041 of file pfnlist.c.
Referenced by GetFreeWsleIndex(), MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), and MmAllocateSpecialPool().
VOID NTAPI MiInitializePfnDatabase | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 1065 of file mminit.c.
Referenced by MiInitMachineDependent().
VOID NTAPI MiInitializePfnForOtherProcess | ( | IN PFN_NUMBER | PageFrameIndex, |
IN PVOID | PteAddress, | ||
IN PFN_NUMBER | PteFrame | ||
) |
Definition at line 1301 of file pfnlist.c.
Referenced by MiAllocatePoolPages(), MiBuildPagedPool(), MiFillSystemPageDirectory(), MiInitializeAndChargePfn(), MiSessionCommitPageTables(), MiSessionCreateInternal(), and MiSessionInitializeWorkingSetList().
Definition at line 203 of file pool.c.
Referenced by MiInitializeMemoryEvents().
Definition at line 116 of file session.c.
Referenced by MmInitSystem().
Definition at line 1276 of file pool.c.
Definition at line 63 of file init.c.
Referenced by MmArmInitSystem().
Definition at line 40 of file session.c.
Referenced by MmInitSystem().
VOID NTAPI MiInitializeSystemPtes | ( | IN PMMPTE | StartingPte, |
IN ULONG | NumberOfPtes, | ||
IN MMSYSTEM_PTE_POOL_TYPE | PoolType | ||
) |
Definition at line 388 of file syspte.c.
Referenced by MiBuildSystemPteSpace(), MiInitializeNonPagedPool(), and MiInitMachineDependent().
BOOLEAN NTAPI MiInitializeSystemSpaceMap | ( | IN PMMSESSION InputSession | OPTIONAL | ) |
Definition at line 222 of file section.c.
Referenced by MiBuildPagedPool(), and MiSessionCreateInternal().
NTSTATUS NTAPI MiInitMachineDependent | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 697 of file init.c.
Referenced by MmArmInitSystem().
Definition at line 423 of file vadnode.c.
Referenced by MmCreateArm3Section().
VOID NTAPI MiInsertNode | ( | IN PMM_AVL_TABLE | Table, |
IN PMMADDRESS_NODE | NewNode, | ||
PMMADDRESS_NODE | Parent, | ||
TABLE_SEARCH_RESULT | Result | ||
) |
VOID NTAPI MiInsertPageInFreeList | ( | IN PFN_NUMBER | PageFrameIndex | ) |
Definition at line 611 of file pfnlist.c.
Referenced by MiAddDescriptorToDatabase(), MiBuildPfnDatabaseFromLoaderBlock(), MiDecrementReferenceCount(), MiDecrementShareCount(), MiSegmentDelete(), MmCreateProcessAddressSpace(), MmDereferencePage(), and MmFreeLoaderBlock().
VOID NTAPI MiInsertPageInList | ( | IN PMMPFNLIST | ListHead, |
IN PFN_NUMBER | PageFrameIndex | ||
) |
Definition at line 779 of file pfnlist.c.
Referenced by MiDecrementReferenceCount(), and MmZeroPageThread().
Referenced by MiMapLockedPagesInUserSpace(), and NtFreeVirtualMemory().
NTSTATUS NTAPI MiInsertVadEx | ( | _Inout_ PMMVAD | Vad, |
_In_ ULONG_PTR * | BaseAddress, | ||
_In_ SIZE_T | ViewSize, | ||
_In_ ULONG_PTR | HighestAddress, | ||
_In_ ULONG_PTR | Alignment, | ||
_In_ ULONG | AllocationType | ||
) |
Definition at line 282 of file vadnode.c.
Referenced by MiCreatePebOrTeb(), MiMapViewOfDataSection(), and NtAllocateVirtualMemory().
FORCEINLINE BOOLEAN MiIsMemoryTypeFree | ( | TYPE_OF_MEMORY | MemoryType | ) |
Definition at line 682 of file miarm.h.
Referenced by MiAddDescriptorToDatabase(), and MiScanMemoryDescriptors().
FORCEINLINE BOOLEAN MiIsMemoryTypeInvisible | ( | TYPE_OF_MEMORY | MemoryType | ) |
Definition at line 692 of file miarm.h.
Referenced by KdpGetMemorySizeInMBs(), MiAddDescriptorToDatabase(), MiBuildPfnDatabase(), and MiScanMemoryDescriptors().
Definition at line 174 of file freelist.c.
Referenced by MiAllocatePagesForMdl(), MiFindContiguousPages(), MmGetRmapListHeadPage(), MmIsPageInUse(), and MmSetRmapListHeadPage().
FORCEINLINE BOOLEAN MiIsRosSectionObject | ( | IN PSECTION | Section | ) |
Definition at line 1111 of file miarm.h.
Referenced by MmExtendSection(), MmGetFileObjectForSection(), MmGetImageInformation(), MmMapViewInSessionSpace(), MmMapViewInSystemSpaceEx(), MmMapViewOfSection(), MmpDeleteSection(), and NtQuerySection().
FORCEINLINE BOOLEAN MiIsUserPde | ( | PVOID | Address | ) |
Definition at line 731 of file miarm.h.
Referenced by MiDeletePde(), MiDetermineUserGlobalPteMask(), and MmArmAccessFault().
FORCEINLINE BOOLEAN MiIsUserPte | ( | PVOID | Address | ) |
Definition at line 739 of file miarm.h.
Referenced by MiDetermineUserGlobalPteMask(), and MmArmAccessFault().
Definition at line 116 of file vadnode.c.
Referenced by MiCheckVadsForLockOperation(), MiCheckVirtualAddress(), MiUnmapLockedPagesInUserSpace(), MiUnmapViewOfSection(), MmDeleteTeb(), MmGetFileNameForAddress(), NtAreMappedFilesTheSame(), and NtFreeVirtualMemory().
Definition at line 556 of file section.c.
Referenced by MiDeleteVirtualAddresses().
Definition at line 1137 of file miarm.h.
Referenced by MiLockProcessWorkingSetForFault(), MiLockVirtualMemory(), MiUnlockVirtualMemory(), MmArmAccessFault(), MmFreeMemoryArea(), MmInitializeProcessAddressSpace(), MmProbeAndLockPages(), and MmTrimUserMemory().
FORCEINLINE VOID MiLockProcessWorkingSetForFault | ( | IN PEPROCESS | Process, |
IN PETHREAD | Thread, | ||
IN BOOLEAN | Safe, | ||
IN BOOLEAN | Shared | ||
) |
Definition at line 1514 of file miarm.h.
Referenced by MiGetPageProtection(), and MiMakeSystemAddressValid().
Definition at line 1159 of file miarm.h.
Referenced by MiLockProcessWorkingSetForFault(), MiQueryMemoryBasicInformation(), MmAccessFault(), MmGetPageFileMapping(), MmGetPageProtect(), MmGetPfnForProcess(), MmIsDisabledPage(), MmIsPagePresent(), and MmIsPageSwapEntry().
Definition at line 1182 of file miarm.h.
Referenced by _Success_(), MiDecommitPages(), MiInsertVadEx(), MiLockProcessWorkingSetForFault(), MiMapLockedPagesInUserSpace(), MiProtectVirtualMemory(), MiUnmapLockedPagesInUserSpace(), MiUnmapViewOfSection(), MmCleanProcessAddressSpace(), MmCreatePageFileMapping(), MmCreateVirtualMappingUnsafeEx(), MmDeletePageFileMapping(), MmDeleteTeb(), MmInsertMemoryArea(), MmSetDirtyBit(), MmSetPageProtect(), NtAllocateVirtualMemory(), and NtFreeVirtualMemory().
FORCEINLINE VOID MiLockWorkingSet | ( | IN PETHREAD | Thread, |
IN PMMSUPPORT | WorkingSet | ||
) |
Definition at line 1278 of file miarm.h.
Referenced by MiDeleteSystemPageableVm(), MiSetPagingOfDriver(), MmAdjustWorkingSetSize(), MmArmAccessFault(), MmFreeMemoryArea(), and MmInsertMemoryArea().
FORCEINLINE VOID MiLockWorkingSetShared | ( | _In_ PETHREAD | Thread, |
_In_ PMMSUPPORT | WorkingSet | ||
) |
Definition at line 1319 of file miarm.h.
Referenced by MmAccessFault(), and MmWorkingSetManager().
PLDR_DATA_TABLE_ENTRY NTAPI MiLookupDataTableEntry | ( | IN PVOID | Address | ) |
Definition at line 3528 of file sysldr.c.
Referenced by ExAllocatePool(), MmAddVerifierThunks(), and MmPageEntireDriver().
VOID NTAPI MiMakePdeExistAndMakeValid | ( | IN PMMPDE | PointerPde, |
IN PEPROCESS | TargetProcess, | ||
IN KIRQL | OldIrql | ||
) |
Definition at line 2481 of file virtual.c.
Referenced by _Success_(), MiDecommitPages(), MiMapLockedPagesInUserSpace(), MiProtectVirtualMemory(), MmCreatePageFileMapping(), MmCreateVirtualMappingUnsafeEx(), MmDeletePageFileMapping(), MmGetPageFileMapping(), MmGetPageProtect(), MmGetPfnForProcess(), MmIsDisabledPage(), MmIsPagePresent(), MmIsPageSwapEntry(), MmSetDirtyBit(), MmSetPageProtect(), and NtAllocateVirtualMemory().
Definition at line 140 of file section.c.
Referenced by MiProtectVirtualMemory(), MmCreateVirtualMappingUnsafeEx(), MmSetPageProtect(), and NtAllocateVirtualMemory().
ULONG NTAPI MiMakeSystemAddressValid | ( | IN PVOID | PageTableVirtualAddress, |
IN PEPROCESS | CurrentProcess | ||
) |
Definition at line 183 of file virtual.c.
Referenced by MiCalculatePageCommitment(), MiDeleteVirtualAddresses(), MiIsEntireRangeCommitted(), MiIsPageTablePresent(), MiMakePdeExistAndMakeValid(), and MiQueryAddressState().
Definition at line 235 of file virtual.c.
Referenced by MiGetPageProtection(), and MiSegmentDelete().
VOID NTAPI MiMapPfnDatabase | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 663 of file mminit.c.
Referenced by MiInitMachineDependent().
PFN_NUMBER NTAPI MiPagesInLoaderBlock | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock, |
IN PBOOLEAN | IncludeType | ||
) |
NTSTATUS NTAPI MiQueryMemorySectionName | ( | IN HANDLE | ProcessHandle, |
IN PVOID | BaseAddress, | ||
OUT PVOID | MemoryInformation, | ||
IN SIZE_T | MemoryInformationLength, | ||
OUT PSIZE_T | ReturnLength | ||
) |
Definition at line 1752 of file section.c.
Referenced by NtQueryVirtualMemory().
FORCEINLINE VOID MiReferenceProbedPageAndBumpLockCount | ( | IN PMMPFN | Pfn1 | ) |
Definition at line 1700 of file miarm.h.
Referenced by MI_LOCK_VA(), and MmProbeAndLockPages().
FORCEINLINE VOID MiReferenceUnusedPageAndBumpLockCount | ( | IN PMMPFN | Pfn1 | ) |
Definition at line 1800 of file miarm.h.
Referenced by MiResolveTransitionFault().
FORCEINLINE VOID MiReferenceUsedPageAndBumpLockCount | ( | IN PMMPFN | Pfn1 | ) |
Definition at line 1755 of file miarm.h.
Referenced by MiDispatchFault().
FORCEINLINE VOID MiReleaseExpansionLock | ( | KIRQL | OldIrql | ) |
Definition at line 1557 of file miarm.h.
Referenced by MiArchCreateProcessAddressSpace(), MiDereferenceSessionFinal(), MiSessionAddProcess(), MiSessionInitializeWorkingSetList(), MiSessionLeader(), MiSessionRemoveProcess(), MmDeleteProcessAddressSpace(), MmGetSessionById(), and MmWorkingSetManager().
VOID NTAPI MiReleaseProcessReferenceToSessionDataPage | ( | IN PMM_SESSION_SPACE | SessionGlobal | ) |
Definition at line 209 of file session.c.
Referenced by MiDereferenceSession(), and MmDeleteProcessAddressSpace().
VOID NTAPI MiReleaseSystemPtes | ( | IN PMMPTE | StartingPte, |
IN ULONG | NumberOfPtes, | ||
IN MMSYSTEM_PTE_POOL_TYPE | SystemPtePoolType | ||
) |
Definition at line 264 of file syspte.c.
Referenced by MiAllocatePoolPages(), MiArchCreateProcessAddressSpace(), MiCopyPfn(), MiReleaseProcessReferenceToSessionDataPage(), MiZeroPfn(), MmDeleteKernelStack(), MmFreeNonCachedMemory(), MmUnmapIoSpace(), and MmUnmapLockedPages().
PFN_NUMBER NTAPI MiRemoveAnyPage | ( | IN ULONG | Color | ) |
Definition at line 477 of file pfnlist.c.
Referenced by GetFreeWsleIndex(), MiAllocatePagesForMdl(), MiAllocatePoolPages(), MiArchCreateProcessAddressSpace(), MiInitMachineDependent(), MiLoadImageSection(), MiResolveDemandZeroFault(), MiResolvePageFileFault(), MiResolveProtoPteFault(), MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), MmAllocateSpecialPool(), MmArmAccessFault(), MmCreateKernelStack(), MmCreateProcessAddressSpace(), MmGrowKernelStackEx(), and MmZeroPageThread().
Definition at line 766 of file section.c.
Referenced by MiUnmapViewOfSection(), and MmCleanProcessAddressSpace().
VOID NTAPI MiRemoveNode | ( | IN PMMADDRESS_NODE | Node, |
IN PMM_AVL_TABLE | Table | ||
) |
Definition at line 440 of file vadnode.c.
Referenced by MiDeleteARM3Section(), MiUnmapLockedPagesInUserSpace(), MiUnmapViewOfSection(), MmCleanProcessAddressSpace(), MmDeleteTeb(), and NtFreeVirtualMemory().
PFN_NUMBER NTAPI MiRemoveZeroPage | ( | IN ULONG | Color | ) |
Definition at line 537 of file pfnlist.c.
Referenced by MiBuildPagedPool(), MiFillSystemPageDirectory(), MiInitializeAndChargePfn(), MiRemoveZeroPageSafe(), MiResolveDemandZeroFault(), MiSessionCommitPageTables(), and MmAllocPage().
FORCEINLINE PFN_NUMBER MiRemoveZeroPageSafe | ( | IN ULONG | Color | ) |
Definition at line 2413 of file miarm.h.
Referenced by MiArchCreateProcessAddressSpace(), MiResolveDemandZeroFault(), MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), MmArmAccessFault(), and MmCreateProcessAddressSpace().
PMMPTE NTAPI MiReserveSystemPtes | ( | IN ULONG | NumberOfPtes, |
IN MMSYSTEM_PTE_POOL_TYPE | SystemPtePoolType | ||
) |
Definition at line 246 of file syspte.c.
Referenced by _IRQL_requires_max_(), MiAllocatePoolPages(), MiArchCreateProcessAddressSpace(), MiBuildPagedPool(), MiBuildSystemPteSpace(), MiCopyPfn(), MiInitializeLargePageSupport(), MiInitMachineDependent(), MiLoadImageSection(), MiReloadBootLoadedDrivers(), MiSessionCreateInternal(), MiZeroPfn(), MmAllocateNonCachedMemory(), MmCreateKernelStack(), MmMapIoSpace(), and MmMapLockedPagesSpecifyCache().
NTSTATUS NTAPI MiRosProtectVirtualMemory | ( | IN PEPROCESS | Process, |
IN OUT PVOID * | BaseAddress, | ||
IN OUT PSIZE_T | NumberOfBytesToProtect, | ||
IN ULONG | NewAccessProtection, | ||
OUT PULONG OldAccessProtection | OPTIONAL | ||
) |
Definition at line 2158 of file virtual.c.
Referenced by MiProtectVirtualMemory().
Definition at line 4562 of file section.c.
Referenced by MmUnmapViewInSystemSpace().
NTSTATUS NTAPI MiRosUnmapViewOfSection | ( | IN PEPROCESS | Process, |
IN PVOID | BaseAddress, | ||
IN BOOLEAN | SkipDebuggerNotify | ||
) |
Definition at line 3594 of file section.c.
Referenced by MiRosCleanupMemoryArea(), and MiUnmapViewOfSection().
Definition at line 423 of file session.c.
Referenced by MmCreateProcessAddressSpace().
Definition at line 392 of file session.c.
Referenced by MmCleanProcessAddressSpace().
Definition at line 54 of file largepag.c.
Referenced by MmArmInitSystem().
Definition at line 137 of file pfnlist.c.
Referenced by MiAllocatePagesForMdl(), and MiFindContiguousPages().
Definition at line 265 of file pfnlist.c.
Referenced by MiDeletePte(), MiDispatchFault(), MiResolveTransitionFault(), and MiSegmentDelete().
Definition at line 1207 of file miarm.h.
Referenced by MiLockVirtualMemory(), MiUnlockProcessWorkingSetForFault(), MiUnlockVirtualMemory(), MmArmAccessFault(), MmFreeMemoryArea(), MmInitializeProcessAddressSpace(), MmProbeAndLockPages(), and MmTrimUserMemory().
FORCEINLINE VOID MiUnlockProcessWorkingSetForFault | ( | IN PEPROCESS | Process, |
IN PETHREAD | Thread, | ||
OUT PBOOLEAN | Safe, | ||
OUT PBOOLEAN | Shared | ||
) |
Definition at line 1481 of file miarm.h.
Referenced by MiGetPageProtection(), and MiMakeSystemAddressValid().
Definition at line 1228 of file miarm.h.
Referenced by MiQueryMemoryBasicInformation(), MiUnlockProcessWorkingSetForFault(), MmAccessFault(), MmGetPageFileMapping(), MmGetPageProtect(), MmGetPfnForProcess(), MmIsDisabledPage(), MmIsPagePresent(), and MmIsPageSwapEntry().
Definition at line 1252 of file miarm.h.
Referenced by _Success_(), MiDecommitPages(), MiInsertVadEx(), MiMapLockedPagesInUserSpace(), MiProtectVirtualMemory(), MiRemoveMappedView(), MiUnlockProcessWorkingSetForFault(), MiUnmapLockedPagesInUserSpace(), MmCleanProcessAddressSpace(), MmCreatePageFileMapping(), MmCreateVirtualMappingUnsafeEx(), MmDeletePageFileMapping(), MmDeleteTeb(), MmInsertMemoryArea(), MmSetDirtyBit(), MmSetPageProtect(), NtAllocateVirtualMemory(), and NtFreeVirtualMemory().
FORCEINLINE VOID MiUnlockWorkingSet | ( | IN PETHREAD | Thread, |
IN PMMSUPPORT | WorkingSet | ||
) |
Definition at line 1364 of file miarm.h.
Referenced by MiDeleteSystemPageableVm(), MiSetPagingOfDriver(), MmAdjustWorkingSetSize(), MmArmAccessFault(), MmFreeMemoryArea(), MmInsertMemoryArea(), and MmWorkingSetManager().
FORCEINLINE VOID MiUnlockWorkingSetShared | ( | _In_ PETHREAD | Thread, |
_In_ PMMSUPPORT | WorkingSet | ||
) |
Definition at line 1402 of file miarm.h.
Referenced by MmAccessFault(), and MmWorkingSetManager().
Definition at line 2481 of file sysldr.c.
Referenced by MmInitSystem(), and MmLoadSystemImage().
VOID NTAPI MiZeroPhysicalPage | ( | IN PFN_NUMBER | PageFrameIndex | ) |
Definition at line 122 of file pfnlist.c.
FORCEINLINE BOOLEAN MM_ANY_WS_LOCK_HELD | ( | IN PETHREAD | Thread | ) |
Definition at line 1065 of file miarm.h.
Referenced by MiLockProcessWorkingSet(), MiLockProcessWorkingSetShared(), MiLockProcessWorkingSetUnsafe(), MiLockWorkingSet(), MiLockWorkingSetShared(), MmRebalanceMemoryConsumersAndWait(), and TrimWsList().
FORCEINLINE BOOLEAN MM_ANY_WS_LOCK_HELD_EXCLUSIVE | ( | _In_ PETHREAD | Thread | ) |
Definition at line 1078 of file miarm.h.
Referenced by MiDeletePte(), MiInsertInWorkingSetList(), and RemoveFromWsList().
NTSTATUS NTAPI MmArmAccessFault | ( | IN ULONG | FaultCode, |
IN PVOID | Address, | ||
IN KPROCESSOR_MODE | Mode, | ||
IN PVOID | TrapInformation | ||
) |
Definition at line 1698 of file pagfault.c.
Referenced by MmAccessFault().
Definition at line 2037 of file mminit.c.
PPHYSICAL_MEMORY_DESCRIPTOR NTAPI MmInitializeMemoryLimits | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock, |
IN PBOOLEAN | IncludeType | ||
) |
Definition at line 1613 of file mminit.c.
Referenced by MmArmInitSystem().
PFN_NUMBER NTAPI MxGetNextPage | ( | IN PFN_NUMBER | PageCount | ) |
Definition at line 474 of file mminit.c.
Referenced by MiInitializeColorTables(), MiInitializePageTable(), MiInitMachineDependent(), MiMapPDEs(), MiMapPPEs(), and MiMapPTEs().
|
extern |
Definition at line 36 of file init.c.
Referenced by MmArmAccessFault().
|
extern |
Definition at line 37 of file init.c.
Referenced by MiInitializePfnAndMakePteValid(), and MiQueryAddressState().
|
extern |
Definition at line 41 of file expool.c.
Referenced by ExQueryPoolUsage().
|
extern |
Definition at line 43 of file expool.c.
Referenced by ExQueryPoolUsage(), and InitializePool().
|
extern |
Definition at line 22 of file hypermap.c.
Referenced by MiInitializePageTable().
|
extern |
Definition at line 33 of file session.c.
Referenced by MiAcquireExpansionLock(), and MiReleaseExpansionLock().
|
extern |
Definition at line 21 of file pool.c.
Referenced by MiInitializeNonPagedPool(), and MmArmInitSystem().
|
extern |
Definition at line 21 of file hypermap.c.
Referenced by MiBuildSystemPteSpace(), MiInitMachineDependent(), and MiMapPagesInZeroSpace().
|
extern |
Definition at line 234 of file mminit.c.
Referenced by MiIsUserPde(), and MmArmInitSystem().
|
extern |
Definition at line 233 of file mminit.c.
Referenced by MI_MAKE_HARDWARE_PTE_KERNEL(), MI_MAKE_HARDWARE_PTE_USER(), MiAccessCheck(), MiDeletePte(), MiIsUserPte(), MiResolveDemandZeroFault(), MiResolveProtoPteFault(), MmArmAccessFault(), and MmArmInitSystem().
|
extern |
Definition at line 293 of file mminit.c.
Referenced by MiDecrementAvailablePages(), MiIncrementAvailablePages(), MiInitializeMemoryEvents(), MiNotifyMemoryEvents(), and MmArmInitSystem().
|
extern |
Definition at line 297 of file mminit.c.
Referenced by MiInitializeMemoryEvents(), MiInitializePoolEvents(), and MmArmInitSystem().
|
extern |
Definition at line 305 of file mminit.c.
Referenced by MiInitializeNonPagedPoolThresholds(), and MiInitializePoolEvents().
|
extern |
Definition at line 295 of file mminit.c.
Referenced by MiInitializeMemoryEvents(), MiInitializePoolEvents(), and MmArmInitSystem().
|
extern |
Definition at line 303 of file mminit.c.
Referenced by MiBuildPagedPool(), and MiInitializePoolEvents().
|
extern |
Definition at line 27 of file largepag.c.
Referenced by MiInitializeDriverLargePageList(), and MiUseLargeDriverPage().
|
extern |
Definition at line 26 of file largepag.c.
Referenced by MiInitializeDriverLargePageList(), and MiUseLargeDriverPage().
|
extern |
Definition at line 292 of file mminit.c.
Referenced by MiDecrementAvailablePages(), MiIncrementAvailablePages(), MiInitializeMemoryEvents(), MiNotifyMemoryEvents(), and MmArmInitSystem().
|
extern |
Definition at line 296 of file mminit.c.
Referenced by MiInitializeMemoryEvents(), MiInitializePoolEvents(), and MmArmInitSystem().
|
extern |
Definition at line 304 of file mminit.c.
Referenced by MiInitializeNonPagedPoolThresholds(), and MiInitializePoolEvents().
|
extern |
Definition at line 294 of file mminit.c.
Referenced by MiInitializeMemoryEvents(), MiInitializePoolEvents(), and MmArmInitSystem().
|
extern |
Definition at line 302 of file mminit.c.
Referenced by MiBuildPagedPool(), and MiInitializePoolEvents().
|
extern |
Definition at line 384 of file mminit.c.
Referenced by MiInitMachineDependent(), and MiScanMemoryDescriptors().
|
extern |
Definition at line 27 of file iosup.c.
Referenced by MiAllocateContiguousMemory(), MiMapLockedPagesInUserSpace(), MmAllocateNonCachedMemory(), MmAllocatePagesForMdlEx(), MmMapIoSpace(), MmMapLockedPagesSpecifyCache(), and MmMapLockedPagesWithReservedMapping().
|
extern |
Definition at line 145 of file mminit.c.
Referenced by MiInitializeSessionSpaceLayout().
|
extern |
Definition at line 28 of file init.c.
Referenced by MiInitializeSessionSpaceLayout().
|
extern |
Definition at line 144 of file mminit.c.
Referenced by MiInitializeSessionSpaceLayout().
|
extern |
Definition at line 143 of file mminit.c.
Referenced by MiInitializeSessionSpaceLayout().
|
extern |
Definition at line 29 of file init.c.
Referenced by MiInitializeSessionSpaceLayout().
|
extern |
Definition at line 146 of file mminit.c.
Referenced by MiInitializeSessionSpaceLayout().
|
extern |
Definition at line 31 of file init.c.
Referenced by MiInitializeSessionPool(), and MiInitializeSessionSpaceLayout().
|
extern |
Definition at line 32 of file init.c.
Referenced by MiInitializeSessionPool(), and MiInitializeSessionSpaceLayout().
|
extern |
Definition at line 27 of file init.c.
Referenced by MiDbgDumpAddressSpace(), MiInitializeSessionSpaceLayout(), MiInitSystemMemoryAreas(), and MiSessionCommitPageTables().
|
extern |
Definition at line 130 of file mminit.c.
Referenced by MiInitializeSessionSpaceLayout(), MiResolveDemandZeroFault(), and MiSessionInitializeWorkingSetList().
|
extern |
Definition at line 30 of file init.c.
Referenced by MiInitializeSessionSpaceLayout(), MiInitializeSystemSpaceMap(), MiResolveDemandZeroFault(), and MmCommitSessionMappedView().
|
extern |
Definition at line 656 of file miarm.h.
Referenced by MiDbgDumpAddressSpace(), MiInitializePageTable(), MiInitializeSessionSpaceLayout(), MiInitializeSystemSpaceMap(), and MiInitSystemMemoryAreas().
|
extern |
Definition at line 26 of file pool.c.
Referenced by _Requires_lock_held_(), and MiInitializePoolEvents().
|
extern |
Definition at line 352 of file mminit.c.
Referenced by MmArmInitSystem().
|
extern |
Definition at line 49 of file init.c.
Referenced by MiDbgDumpAddressSpace(), MiInitSystemMemoryAreas(), MmAddVerifierThunks(), and MmArmInitSystem().
|
extern |
Definition at line 388 of file mminit.c.
Referenced by MmArmInitSystem(), and MmCreatePeb().
|
extern |
Definition at line 387 of file mminit.c.
Referenced by MmArmInitSystem().
|
extern |
Definition at line 22 of file procsup.c.
Referenced by MmArmInitSystem(), MmCreateKernelStack(), and MmDeleteKernelStack().
|
extern |
Definition at line 44 of file init.c.
Referenced by MiDecommitPages(), MiProcessValidPteList(), MiResolveProtoPteFault(), and NtAllocateVirtualMemory().
|
extern |
Definition at line 41 of file mminit.c.
Referenced by MiBuildNonPagedPool(), and MiComputeNonPagedPoolVa().
|
extern |
Definition at line 34 of file sysldr.c.
Referenced by MiWriteProtectSystemImage().
|
extern |
Definition at line 32 of file session.c.
Referenced by MiAcquireExpansionLock(), MiInitializeWorkingSetList(), and MiReleaseExpansionLock().
|
extern |
Definition at line 20 of file hypermap.c.
Referenced by MiInitializePageTable(), MiInitMachineDependent(), and MiMapPageInHyperSpace().
|
extern |
Definition at line 286 of file mminit.c.
Referenced by MiInitializeColorTables(), MiInitMachineDependent(), MiInsertPageInFreeList(), MiInsertPageInList(), MiRemoveAnyPage(), MiRemovePageByColor(), MiRemoveZeroPage(), MiRemoveZeroPageSafe(), and MiUnlinkFreeOrZeroedPage().
|
extern |
Definition at line 301 of file mminit.c.
Referenced by MiDecrementAvailablePages(), MiIncrementAvailablePages(), MiInitializeMemoryEvents(), and MiNotifyMemoryEvents().
|
extern |
Definition at line 111 of file section.c.
Referenced by MmArmInitSystem(), and MmCreateArm3Section().
|
extern |
Definition at line 56 of file init.c.
Referenced by MiArchCreateProcessAddressSpace(), MiComputeNonPagedPoolVa(), and MiInitMachineDependent().
|
extern |
Definition at line 24 of file largepag.c.
Referenced by MiInitializeDriverLargePageList().
|
extern |
Definition at line 25 of file largepag.c.
Referenced by MiInitializeDriverLargePageList().
|
extern |
Definition at line 262 of file mminit.c.
Referenced by MmArmInitSystem(), MmCreateKernelStack(), MmDeleteKernelStack(), and MmGrowKernelStackEx().
|
extern |
Definition at line 300 of file mminit.c.
Referenced by MiDecrementAvailablePages(), MiIncrementAvailablePages(), MiInitializeMemoryEvents(), and MiNotifyMemoryEvents().
|
extern |
Definition at line 42 of file mminit.c.
Referenced by MiBuildNonPagedPool(), and MiComputeNonPagedPoolVa().
|
extern |
Definition at line 21 of file procsup.c.
Referenced by MmArmInitSystem(), and MmDeleteKernelStack().
|
extern |
Definition at line 22 of file init.c.
Referenced by MiBuildNonPagedPool(), MiBuildPagedPool(), MiComputeNonPagedPoolVa(), MiInitializeNonPagedPool(), and MiInitMachineDependent().
|
extern |
Definition at line 30 of file mminit.c.
Referenced by _Requires_lock_held_(), MiBuildNonPagedPool(), MiInitializeNonPagedPoolThresholds(), MiInitializePoolEvents(), and MiInitMachineDependent().
|
extern |
Definition at line 20 of file init.c.
Referenced by MiBuildNonPagedPool(), and MiComputeNonPagedPoolVa().
|
extern |
Definition at line 40 of file mminit.c.
Referenced by MiBuildNonPagedPool(), and MiComputeNonPagedPoolVa().
|
extern |
Definition at line 314 of file mminit.c.
Referenced by MiDecrementAvailablePages(), MmArmInitSystem(), and MmWorkingSetManager().
|
extern |
Definition at line 39 of file mminit.c.
Referenced by MiBuildNonPagedPool(), and MiComputeNonPagedPoolVa().
|
extern |
Definition at line 370 of file mminit.c.
Referenced by MmCreatePeb().
|
extern |
Definition at line 99 of file mminit.c.
Referenced by MI_MAKE_SUBSECTION_PTE(), MiBuildNonPagedPool(), MiDbgDumpAddressSpace(), MiFreeContiguousMemory(), MiFreePoolPages(), MiInitMachineDependent(), MiInitSystemMemoryAreas(), MmArmAccessFault(), and MmDeterminePoolType().
|
extern |
Definition at line 25 of file init.c.
Referenced by MiBuildNonPagedPool(), MiDbgDumpAddressSpace(), MiFreeContiguousMemory(), MiInitializeNonPagedPool(), MiInitMachineDependent(), MiInitSystemMemoryAreas(), and MmArmAccessFault().
|
extern |
Definition at line 24 of file init.c.
Referenced by MiBuildNonPagedPool(), MiBuildPfnDatabaseFromPages(), MiDbgDumpAddressSpace(), MiFreeContiguousMemory(), MiInitializeNonPagedPool(), MiInitMachineDependent(), MiInitSystemMemoryAreas(), MmArmAccessFault(), MmArmInitSystem(), and MmDeterminePoolType().
|
extern |
Definition at line 590 of file miarm.h.
Referenced by MiBuildPagedPool(), MiBuildSystemPteSpace(), MiDbgDumpAddressSpace(), MiInitMachineDependent(), and MiInitSystemMemoryAreas().
|
extern |
Definition at line 42 of file init.c.
Referenced by MiBuildSystemPteSpace(), MiInitializeSpecialPool(), MiInitMachineDependent(), MiInitSystemMemoryAreas(), and MmArmInitSystem().
|
extern |
Definition at line 589 of file miarm.h.
Referenced by MiBuildPagedPool(), MiDecrementShareCount(), MiFreePoolPages(), MiInitializePageTable(), MiMakeSystemAddressValid(), MiResolveTransitionFault(), MmAccessFault(), and MmDeterminePoolType().
|
extern |
Definition at line 25 of file pool.c.
Referenced by _Requires_lock_held_(), MiAllocatePoolPages(), MiBuildPagedPool(), MiCheckVirtualAddress(), MiFreePoolPages(), and MiInitializePoolEvents().
|
extern |
Definition at line 24 of file pool.c.
Referenced by MiAllocatePoolPages(), MiFreePoolPages(), MiInitializePoolEvents(), and MmArmInitSystem().
|
extern |
Definition at line 588 of file miarm.h.
Referenced by MI_MAKE_PROTOTYPE_PTE(), MiAllocatePoolPages(), MiBuildPagedPool(), MiCheckVirtualAddress(), MiDbgDumpAddressSpace(), MiDecrementShareCount(), MiFreePoolPages(), MiInitializePageTable(), MiInitMachineDependent(), MiInitSystemMemoryAreas(), MiMakeSystemAddressValid(), MiResolveTransitionFault(), MmAccessFault(), MmArmInitSystem(), and MmDeterminePoolType().
|
extern |
Definition at line 45 of file init.c.
Referenced by MiFindContiguousPages(), MmArmInitSystem(), and MmGetPhysicalMemoryRanges().
|
extern |
Definition at line 322 of file mminit.c.
Referenced by MiAdjustWorkingSetManagerParameters(), MiInitializeMemoryEvents(), and MmWorkingSetManager().
|
extern |
Definition at line 20 of file procsup.c.
Referenced by MmCreateProcessAddressSpace().
|
extern |
Definition at line 20 of file largepag.c.
Referenced by MiArchCreateProcessAddressSpace(), and MiInitializeLargePageSupport().
|
extern |
Definition at line 325 of file mminit.c.
Referenced by MmArmInitSystem().
|
extern |
Definition at line 31 of file pool.c.
Referenced by MiAllocatePoolPages(), MiFreePoolPages(), MiInitializeNonPagedPool(), and MmArmAccessFault().
Definition at line 22 of file page.c.
Referenced by MI_MAKE_HARDWARE_PTE(), MI_MAKE_HARDWARE_PTE_KERNEL(), MI_MAKE_HARDWARE_PTE_USER(), MiDispatchFault(), MiResolveTransitionFault(), and MmSetPageProtect().
Definition at line 71 of file page.c.
Referenced by MiGetPageProtection(), MiProtectVirtualMemory(), MiQueryAddressState(), MiQueryMemoryBasicInformation(), and MmQuerySectionView().
|
extern |
Definition at line 28 of file freelist.c.
Referenced by MmArmInitSystem().
|
extern |
Definition at line 257 of file mminit.c.
Referenced by MiComputeColorInformation(), MiInsertPageInFreeList(), MiInsertPageInList(), MiRemoveAnyPage(), MiRemoveZeroPage(), MiSessionCommitPageTables(), and MiUnlinkFreeOrZeroedPage().
|
extern |
Definition at line 256 of file mminit.c.
Referenced by MiComputeColorInformation(), MiInitializeColorTables(), MiInitMachineDependent(), MiRemoveAnyPage(), MiRemovePageByColor(), MiRemoveZeroPage(), and MmArmInitSystem().
|
extern |
Definition at line 110 of file section.c.
Referenced by MiDeleteARM3Section(), MmArmInitSystem(), and MmCreateArm3Section().
|
extern |
Definition at line 109 of file section.c.
Referenced by MiDeleteARM3Section(), MiFindEmptyAddressRangeDownBasedTree(), MiInsertBasedSection(), MiRemoveNode(), MmCreateArm3Section(), and MmInitSectionImplementation().
|
extern |
Definition at line 108 of file section.c.
Referenced by MiMapViewOfDataSection(), MmArmInitSystem(), MmCommitSessionMappedView(), and NtAllocateVirtualMemory().
|
extern |
Definition at line 593 of file miarm.h.
Referenced by MiDbgDumpAddressSpace(), MiInitializeSessionPool(), MiInitializeSessionSpaceLayout(), MiInitSystemMemoryAreas(), MiSessionCommitPageTables(), MiSessionCreateInternal(), and MiSessionInitializeWorkingSetList().
|
extern |
Definition at line 37 of file init.c.
Referenced by MiInitializeSessionSpaceLayout().
|
extern |
Definition at line 36 of file init.c.
Referenced by MiInitializeSessionPool(), and MiInitializeSessionSpaceLayout().
|
extern |
Definition at line 34 of file init.c.
Referenced by MiInitializeSessionSpaceLayout().
|
extern |
Definition at line 21 of file session.c.
Referenced by MiCheckVirtualAddress(), MiDereferenceSession(), MiDereferenceSessionFinal(), MiInitializeSessionPool(), MiInitializeSessionSpaceLayout(), MiSessionAddProcess(), MiSessionCommitPageTables(), MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), MiSessionRemoveProcess(), MmArmAccessFault(), MmCommitSessionMappedView(), MmMapViewInSessionSpace(), MmSessionCreate(), and MmUnmapViewInSessionSpace().
|
extern |
Definition at line 35 of file init.c.
Referenced by MiInitializeSessionSpaceLayout(), MiInitializeSystemSpaceMap(), and MmCommitSessionMappedView().
|
extern |
Definition at line 26 of file mminit.c.
Referenced by MiCheckVirtualAddress(), and MmInitSystem().
|
extern |
Definition at line 21 of file init.c.
Referenced by InitializePool(), MiBuildNonPagedPool(), MiBuildPfnDatabaseFromPages(), MiComputeNonPagedPoolVa(), MiDbgDumpAddressSpace(), MiFreeContiguousMemory(), MiInitializeNonPagedPool(), MiInitMachineDependent(), MiInitSystemMemoryAreas(), MmArmAccessFault(), and MmArmInitSystem().
|
extern |
Definition at line 599 of file miarm.h.
Referenced by MiBuildPagedPool(), MiCreatePagingFileMap(), MiDbgDumpAddressSpace(), MiInitMachineDependent(), and MiInitSystemMemoryAreas().
|
extern |
Definition at line 111 of file mminit.c.
Referenced by _Requires_lock_held_(), MiBuildPagedPool(), and MiInitializePoolEvents().
|
extern |
Definition at line 29 of file pool.c.
Referenced by MiInitializeSpecialPool(), MmArmInitSystem(), and MmUseSpecialPool().
|
extern |
Definition at line 44 of file pfnlist.c.
Referenced by MiInsertPageInList(), MiInsertStandbyListAtFront(), MiUnlinkPageFromList(), and MmArmInitSystem().
|
extern |
Definition at line 196 of file section.c.
Referenced by MI_MAKE_SUBSECTION_PTE(), and MiInitMachineDependent().
|
extern |
Definition at line 54 of file init.c.
Referenced by MiDbgDumpAddressSpace(), and MmArmInitSystem().
|
extern |
Definition at line 53 of file init.c.
Referenced by MiDbgDumpAddressSpace(), and MmArmInitSystem().
|
extern |
Definition at line 174 of file mminit.c.
Referenced by GetNextPageColorForWsList(), GetPteTemplateForWsList(), and MiComputeNonPagedPoolVa().
|
extern |
Definition at line 55 of file init.c.
Referenced by MI_IS_PROCESS_WORKING_SET(), MiConvertSharedWorkingSetLockToExclusive(), MiDeleteSystemPageableVm(), MiLockWorkingSet(), MiLockWorkingSetShared(), MiSetPagingOfDriver(), MiUnlockWorkingSet(), MiUnlockWorkingSetShared(), MmAccessFault(), MmArmAccessFault(), MmArmInitSystem(), MmFreeMemoryArea(), and MmInsertMemoryArea().
|
extern |
Definition at line 22 of file mdlsup.c.
Referenced by MiDereferencePfnAndDropLockCount(), MiDropLockCount(), MiReferenceProbedPageAndBumpLockCount(), MiReferenceUnusedPageAndBumpLockCount(), MiReferenceUsedPageAndBumpLockCount(), and MmAdjustWorkingSetSize().
|
extern |
Definition at line 40 of file init.c.
Referenced by MiAllocatePoolPages(), MiBuildPagedPool(), and MiFillSystemPageDirectory().
|
extern |
Definition at line 41 of file init.c.
Referenced by MiAllocatePoolPages(), MiBuildPagedPool(), MiFillSystemPageDirectory(), and MiRemoveMappedPtes().
|
extern |
Definition at line 23 of file syspte.c.
Referenced by MiInitializeSystemPtes(), MiReleaseSystemPtes(), MmUnmapLockedPages(), and MmUnmapReservedMapping().
|
extern |
Definition at line 22 of file syspte.c.
Referenced by MiInitializeSystemPtes(), MiReleaseSystemPtes(), MmUnmapLockedPages(), and MmUnmapReservedMapping().
|
extern |
Definition at line 326 of file mminit.c.
Referenced by MmArmInitSystem(), MmQuerySystemSize(), and MmSetMemoryPriorityProcess().
|
extern |
Definition at line 39 of file init.c.
Referenced by MiDbgDumpAddressSpace(), MiInitializePageTable(), MiInitializeSessionSpaceLayout(), MiInitializeSystemSpaceMap(), and MiInitSystemMemoryAreas().
|
extern |
Definition at line 25 of file syspte.c.
Referenced by MiInitializeSystemPtes(), MiReleaseSystemPtes(), MiReserveAlignedSystemPtes(), and MiUseLargeDriverPage().
|
extern |
Definition at line 28 of file sysldr.c.
Referenced by MiSetPagingOfDriver().
|
extern |
Definition at line 30 of file session.c.
Referenced by MiInitializeWorkingSetList(), MiSessionInitializeWorkingSetList(), MmArmInitSystem(), and MmWorkingSetManager().
|
extern |
Definition at line 19 of file wslist.cpp.
Referenced by MiInitializeWorkingSetList().
|
extern |
Definition at line 20 of file zeropage.c.
Referenced by MiInsertPageInFreeList(), MmArmInitSystem(), and MmZeroPageThread().
|
extern |
Definition at line 71 of file pagefile.c.
|
extern |
Definition at line 46 of file init.c.
Referenced by MiBuildPfnDatabase(), MiInitMachineDependent(), MiMapPfnDatabase(), MiScanMemoryDescriptors(), and MxGetNextPage().
|
extern |
Definition at line 47 of file init.c.
Referenced by MiBuildPfnDatabase(), MiInitMachineDependent(), MiIsRegularMemory(), MiMapPfnDatabase(), MiScanMemoryDescriptors(), and MxGetNextPage().
|
extern |
Definition at line 43 of file init.c.
Referenced by MiBuildNonPagedPool(), MiBuildPfnDatabase(), MiDbgDumpAddressSpace(), MiInitMachineDependent(), MiInitSystemMemoryAreas(), and MmArmInitSystem().
|
extern |
Definition at line 42 of file expool.c.
Referenced by ExAllocatePoolWithTag(), ExQueryPoolUsage(), and InitializePool().
|
extern |
Definition at line 49 of file expool.c.
Referenced by ExpGetPoolTagInfoTarget(), ExpInsertPoolTracker(), ExpRemovePoolTracker(), ExpSeedHotTags(), and InitializePool().
|
extern |
Definition at line 40 of file init.c.
Referenced by MiDeletePte(), MiDeleteVirtualAddresses(), MiInitMachineDependent(), and MmArmAccessFault().
|
extern |
Definition at line 28 of file init.c.
Referenced by MiAllocatePoolPages(), MiBuildPagedPool(), MiFillSystemPageDirectory(), MiInitializeAndChargePfn(), MiInitMachineDependent(), MiMapPDEs(), and MiMapPPEs().
|
extern |
Definition at line 32 of file init.c.
Referenced by MiInitializeAndChargePfn(), MiInitMachineDependent(), MiSessionCommitPageTables(), MiSessionCreateInternal(), and MiSessionInitializeWorkingSetList().
|
extern |
Definition at line 29 of file init.c.
Referenced by GetPteTemplateForWsList(), MiAllocatePoolPages(), MiArchCreateProcessAddressSpace(), MiBuildPagedPool(), MiCopyPfn(), MiDbgTranslatePhysicalAddress(), MiInitializeColorTables(), MiInitMachineDependent(), MiLoadImageSection(), MiMapPagesInZeroSpace(), MiMapPfnDatabase(), MiMapPTEs(), MiReloadBootLoadedDrivers(), MiSessionCreateInternal(), MiZeroPfn(), MmAllocateNonCachedMemory(), MmAllocateSpecialPool(), MmInitSystem(), MmMapIoSpace(), MmMapLockedPagesSpecifyCache(), and MmMapLockedPagesWithReservedMapping().
|
extern |
Definition at line 33 of file init.c.
Referenced by GetPteTemplateForWsList(), MiArchCreateProcessAddressSpace(), MiInitMachineDependent(), MiMapPageInHyperSpace(), MiSessionCreateInternal(), and MiSessionInitializeWorkingSetList().