ReactOS 0.4.15-dev-6057-gd708c79
|
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) |
NTSTATUS NTAPI | MmRequestPageMemoryConsumer (ULONG Consumer, BOOLEAN CanWait, PPFN_NUMBER AllocatedPage) |
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 KTIMER | MiBalancerTimer |
static LONG | PageOutThreadActive |
Definition at line 305 of file balance.c.
Referenced by MiInitBalancerThread().
Definition at line 363 of file balance.c.
Referenced by MmInitSystem().
Definition at line 97 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 45 of file balance.c.
Referenced by MiInitMachineDependent().
VOID NTAPI MmInitializeMemoryConsumer | ( | ULONG | Consumer, |
NTSTATUS(*)(ULONG Target, ULONG Priority, PULONG NrFreed) | Trim | ||
) |
Definition at line 58 of file balance.c.
Referenced by MmInitSystem().
Definition at line 271 of file balance.c.
Referenced by MiDecrementAvailablePages().
NTSTATUS NTAPI MmReleasePageMemoryConsumer | ( | ULONG | Consumer, |
PFN_NUMBER | Page | ||
) |
Definition at line 73 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 281 of file balance.c.
Referenced by CcInitCacheZeroPage(), MiGetOnePage(), MiGetPageTableForProcess(), MiReadFilePage(), MiSwapInPage(), MmAccessFaultSectionView(), MmCreateProcessAddressSpace(), MmGetPageTableForProcess(), MmGetPageTableForProcessForPAE(), MmMakeSegmentResident(), and MmNotPresentFaultSectionView().
Definition at line 139 of file balance.c.
Referenced by MmInitSystem().
|
static |
Definition at line 35 of file balance.c.
Referenced by MiBalancerThread(), MiInitBalancerThread(), and MmRebalanceMemoryConsumers().
Definition at line 34 of file balance.c.
Referenced by MiInitBalancerThread().
|
static |
Definition at line 33 of file balance.c.
Referenced by MiInitBalancerThread().
|
static |
Definition at line 36 of file balance.c.
Referenced by MiBalancerThread(), and MiInitBalancerThread().
MM_MEMORY_CONSUMER MiMemoryConsumers[MC_MAXIMUM] |
Definition at line 30 of file balance.c.
Referenced by MiTrimMemoryConsumer(), MmInitializeBalancer(), MmInitializeMemoryConsumer(), MmReleasePageMemoryConsumer(), MmRequestPageMemoryConsumer(), and QSI_DEF().
|
static |
Definition at line 31 of file balance.c.
Referenced by MiTrimMemoryConsumer(), and MmInitializeBalancer().
|
static |
Definition at line 32 of file balance.c.
Referenced by MmInitializeBalancer().
|
static |
Definition at line 38 of file balance.c.
Referenced by MiBalancerThread().