ReactOS 0.4.16-dev-87-g3dfbe52
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | MINIMUM_PAGEFILE_SIZE (256ULL * PAGE_SIZE) |
#define | MM_PAGEFILE_COMMIT_RATIO (1) |
#define | MM_PAGEFILE_COMMIT_GRACE (256) |
#define | FILE_FROM_ENTRY(i) ((i) & 0x0f) |
#define | OFFSET_FROM_ENTRY(i) ((i) >> 11) |
#define | ENTRY_FROM_FILE_OFFSET(i, j) ((i) | ((j) << 11) | 0x400) |
Functions | |
C_ASSERT (FILE_FROM_ENTRY(0xffffffff)< MAX_PAGING_FILES) | |
VOID NTAPI | MmBuildMdlFromPages (PMDL Mdl, PPFN_NUMBER Pages) |
BOOLEAN NTAPI | MmIsFileObjectAPagingFile (PFILE_OBJECT FileObject) |
VOID NTAPI | MmShowOutOfSpaceMessagePagingFile (VOID) |
NTSTATUS NTAPI | MmWriteToSwapPage (SWAPENTRY SwapEntry, PFN_NUMBER Page) |
NTSTATUS NTAPI | MmReadFromSwapPage (SWAPENTRY SwapEntry, PFN_NUMBER Page) |
NTSTATUS NTAPI | MiReadPageFile (_In_ PFN_NUMBER Page, _In_ ULONG PageFileIndex, _In_ ULONG_PTR PageFileOffset) |
VOID NTAPI | MmInitPagingFile (VOID) |
VOID NTAPI | MmFreeSwapPage (SWAPENTRY Entry) |
SWAPENTRY NTAPI | MmAllocSwapPage (VOID) |
NTSTATUS NTAPI | NtCreatePagingFile (_In_ PUNICODE_STRING FileName, _In_ PLARGE_INTEGER MinimumSize, _In_ PLARGE_INTEGER MaximumSize, _In_ ULONG Reserved) |
Definition at line 98 of file pagefile.c.
Definition at line 96 of file pagefile.c.
Definition at line 18 of file pagefile.c.
#define MM_PAGEFILE_COMMIT_GRACE (256) |
Definition at line 91 of file pagefile.c.
#define MM_PAGEFILE_COMMIT_RATIO (1) |
Definition at line 83 of file pagefile.c.
#define NDEBUG |
Definition at line 12 of file pagefile.c.
Definition at line 97 of file pagefile.c.
C_ASSERT | ( | ) |
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().
Definition at line 322 of file pagefile.c.
Referenced by MmPageOutPhysicalAddress().
VOID NTAPI MmBuildMdlFromPages | ( | PMDL | Mdl, |
PPFN_NUMBER | Pages | ||
) |
Definition at line 111 of file pagefile.c.
Referenced by MiReadFilePage(), MiReadPageFile(), MiWritePage(), and MmWriteToSwapPage().
Definition at line 291 of file pagefile.c.
Referenced by MiFreeSegmentPage(), MmFreeCacheSectionPage(), MmFreeSectionPage(), MmPageOutPhysicalAddress(), MmpFreePageFileSegment(), and MmUnsharePageEntrySectionSegment().
Definition at line 272 of file pagefile.c.
Referenced by MmInitSystem().
BOOLEAN NTAPI MmIsFileObjectAPagingFile | ( | PFILE_OBJECT | FileObject | ) |
Definition at line 119 of file pagefile.c.
Referenced by FsRtlIsPagingFile(), and IoPageRead().
NTSTATUS NTAPI MmReadFromSwapPage | ( | SWAPENTRY | SwapEntry, |
PFN_NUMBER | Page | ||
) |
Definition at line 204 of file pagefile.c.
Referenced by MiSwapInPage(), and MmNotPresentFaultSectionView().
Definition at line 136 of file pagefile.c.
NTSTATUS NTAPI MmWriteToSwapPage | ( | SWAPENTRY | SwapEntry, |
PFN_NUMBER | Page | ||
) |
Definition at line 147 of file pagefile.c.
Referenced by MmPageOutPhysicalAddress().
NTSTATUS NTAPI NtCreatePagingFile | ( | _In_ PUNICODE_STRING | FileName, |
_In_ PLARGE_INTEGER | MinimumSize, | ||
_In_ PLARGE_INTEGER | MaximumSize, | ||
_In_ ULONG | Reserved | ||
) |
Definition at line 366 of file pagefile.c.
Referenced by SmpCreatePagingFile().
PFN_COUNT MiFreeSwapPages |
Definition at line 66 of file pagefile.c.
Referenced by MmAllocSwapPage(), MmFreeSwapPage(), MmInitPagingFile(), NtCreatePagingFile(), and QSI_DEF().
|
static |
Definition at line 76 of file pagefile.c.
Referenced by MmInitPagingFile().
PFN_COUNT MiUsedSwapPages |
Definition at line 69 of file pagefile.c.
Referenced by MmAllocSwapPage(), MmFreeSwapPage(), MmInitPagingFile(), and QSI_DEF().
ULONG MmNumberOfPagingFiles |
Definition at line 63 of file pagefile.c.
Referenced by MiShutdownSystem(), MmInitPagingFile(), MmIsFileObjectAPagingFile(), MmShutdownSystem(), and NtCreatePagingFile().
KGUARDED_MUTEX MmPageFileCreationLock |
Definition at line 60 of file pagefile.c.
Referenced by MmAllocSwapPage(), MmFreeSwapPage(), MmInitPagingFile(), and NtCreatePagingFile().
PMMPAGING_FILE MmPagingFile[MAX_PAGING_FILES] |
Definition at line 57 of file pagefile.c.
Referenced by MiReadPageFile(), MiShutdownSystem(), MmAllocSwapPage(), MmFreeSwapPage(), MmInitPagingFile(), MmIsFileObjectAPagingFile(), MmShutdownSystem(), MmWriteToSwapPage(), and NtCreatePagingFile().
Definition at line 103 of file pagefile.c.
Referenced by MmShowOutOfSpaceMessagePagingFile(), and NtCreatePagingFile().
Definition at line 105 of file pagefile.c.
Referenced by NtCreatePagingFile().
BOOLEAN MmZeroPageFile |
Definition at line 71 of file pagefile.c.