ReactOS 0.4.16-dev-109-gf4cb10f
|
Go to the source code of this file.
Classes | |
struct | _MM_ALLOCATION_REQUEST |
Macros | |
#define | NDEBUG |
Typedefs | |
typedef struct _MM_ALLOCATION_REQUEST | MM_ALLOCATION_REQUEST |
typedef struct _MM_ALLOCATION_REQUEST * | PMM_ALLOCATION_REQUEST |
Functions | |
VOID NTAPI | MmInitializeBalancer (ULONG NrAvailablePages, ULONG NrSystemPages) |
VOID NTAPI | MmInitializeMemoryConsumer (ULONG Consumer, NTSTATUS(*Trim)(ULONG Target, ULONG Priority, PULONG NrFreed)) |
VOID NTAPI | MiZeroPhysicalPage (IN PFN_NUMBER PageFrameIndex) |
NTSTATUS NTAPI | MmReleasePageMemoryConsumer (ULONG Consumer, PFN_NUMBER Page) |
ULONG NTAPI | MiTrimMemoryConsumer (ULONG Consumer, ULONG InitialTarget) |
NTSTATUS | MmTrimUserMemory (ULONG Target, ULONG Priority, PULONG NrFreedPages) |
VOID NTAPI | MmRebalanceMemoryConsumers (VOID) |
VOID NTAPI | MmRebalanceMemoryConsumersAndWait (VOID) |
NTSTATUS NTAPI | MmRequestPageMemoryConsumer (ULONG Consumer, BOOLEAN CanWait, PPFN_NUMBER AllocatedPage) |
VOID | CcRosTrimCache (_In_ ULONG Target, _Out_ PULONG NrFreed) |
VOID NTAPI | MiBalancerThread (PVOID Unused) |
VOID NTAPI | MiInitBalancerThread (VOID) |
Variables | |
MM_MEMORY_CONSUMER | MiMemoryConsumers [MC_MAXIMUM] |
static ULONG | MiMinimumAvailablePages |
static ULONG | MiMinimumPagesPerRun |
static CLIENT_ID | MiBalancerThreadId |
static HANDLE | MiBalancerThreadHandle = NULL |
static KEVENT | MiBalancerEvent |
static KEVENT | MiBalancerDoneEvent |
static KTIMER | MiBalancerTimer |
static LONG | PageOutThreadActive |
Definition at line 456 of file view.c.
Referenced by MiBalancerThread().
Definition at line 351 of file balance.c.
Referenced by MiInitBalancerThread().
Definition at line 420 of file balance.c.
Referenced by MmInitSystem().
Definition at line 96 of file balance.c.
Referenced by MiBalancerThread().
VOID NTAPI MiZeroPhysicalPage | ( | IN PFN_NUMBER | PageFrameIndex | ) |
Definition at line 122 of file pfnlist.c.
Referenced by MiRemoveZeroPage().
Definition at line 44 of file balance.c.
Referenced by MiInitMachineDependent().
VOID NTAPI MmInitializeMemoryConsumer | ( | ULONG | Consumer, |
NTSTATUS(*)(ULONG Target, ULONG Priority, PULONG NrFreed) | Trim | ||
) |
Definition at line 57 of file balance.c.
Referenced by MmInitSystem().
Definition at line 290 of file balance.c.
Referenced by MiDecrementAvailablePages(), and MmRebalanceMemoryConsumersAndWait().
Definition at line 300 of file balance.c.
Referenced by MmAccessFault(), and MmArmAccessFault().
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 | CanWait, | ||
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 138 of file balance.c.
Referenced by MmInitSystem().
|
static |
Definition at line 34 of file balance.c.
Referenced by MiBalancerThread(), MiInitBalancerThread(), and MmRebalanceMemoryConsumersAndWait().
|
static |
Definition at line 33 of file balance.c.
Referenced by MiBalancerThread(), MiInitBalancerThread(), and MmRebalanceMemoryConsumers().
Definition at line 32 of file balance.c.
Referenced by MiInitBalancerThread().
|
static |
Definition at line 31 of file balance.c.
Referenced by MiInitBalancerThread().
|
static |
Definition at line 35 of file balance.c.
Referenced by MiBalancerThread(), and MiInitBalancerThread().
MM_MEMORY_CONSUMER MiMemoryConsumers[MC_MAXIMUM] |
Definition at line 28 of file balance.c.
Referenced by MiTrimMemoryConsumer(), MmInitializeBalancer(), MmInitializeMemoryConsumer(), MmReleasePageMemoryConsumer(), MmRequestPageMemoryConsumer(), and QSI_DEF().
|
static |
Definition at line 29 of file balance.c.
Referenced by MiBalancerThread(), MiTrimMemoryConsumer(), and MmInitializeBalancer().
|
static |
Definition at line 30 of file balance.c.
Referenced by MmInitializeBalancer().
|
static |
Definition at line 37 of file balance.c.
Referenced by MiBalancerThread().