#include "cmp.h"
Go to the source code of this file.
Defines | |
#define | CM_DEFAULT_RATIO (3) |
#define | CM_LIMIT_RATIO(x) ((x / 10) * 8) |
#define | CM_MINIMUM_GLOBAL_QUOTA (16 *1024 * 1024) |
#define | CM_REGISTRY_WARNING_LEVEL (95) |
Functions | |
VOID | CmQueryRegistryQuotaInformation (IN PSYSTEM_REGISTRY_QUOTA_INFORMATION RegistryQuotaInformation) |
VOID | CmSetRegistryQuotaInformation (IN PSYSTEM_REGISTRY_QUOTA_INFORMATION RegistryQuotaInformation) |
VOID | CmpQuotaWarningWorker (IN PVOID WorkItem) |
BOOLEAN | CmpClaimGlobalQuota (IN ULONG Size) |
VOID | CmpReleaseGlobalQuota (IN ULONG Size) |
VOID | CmpComputeGlobalQuotaAllowed (VOID) |
VOID | CmpSetGlobalQuotaAllowed (VOID) |
Variables | |
ULONG | CmRegistrySizeLimit |
ULONG | CmRegistrySizeLimitLength |
ULONG | CmRegistrySizeLimitType |
ULONG | MmSizeOfPagedPoolInBytes |
ULONG | CmpGlobalQuota |
ULONG | CmpGlobalQuotaAllowed |
ULONG | CmpGlobalQuotaWarning |
BOOLEAN | CmpQuotaWarningPopupDisplayed |
ULONG | CmpGlobalQuotaUsed |
|
Definition at line 51 of file cmgquota.c. Referenced by CmpComputeGlobalQuotaAllowed(). |
|
Definition at line 52 of file cmgquota.c. Referenced by CmpComputeGlobalQuotaAllowed(). |
|
Definition at line 53 of file cmgquota.c. Referenced by CmpComputeGlobalQuotaAllowed(), and CmSetRegistryQuotaInformation(). |
|
Definition at line 59 of file cmgquota.c. Referenced by CmpComputeGlobalQuotaAllowed(), and CmSetRegistryQuotaInformation(). |
|
Definition at line 204 of file cmgquota.c. References CmpGlobalQuotaAllowed, CmpGlobalQuotaUsed, CmpGlobalQuotaWarning, CmpQuotaWarningPopupDisplayed, CmpQuotaWarningWorker(), DelayedWorkQueue, ExAllocatePool, ExInitializeWorkItem, ExQueueWorkItem(), ExReadyForErrors, FALSE, NonPagedPool, NULL, PWORK_QUEUE_ITEM, Size, and TRUE. Referenced by CmpAllocate().
|
|
Definition at line 293 of file cmgquota.c. References CM_DEFAULT_RATIO, CM_LIMIT_RATIO, CM_MINIMUM_GLOBAL_QUOTA, CM_REGISTRY_WARNING_LEVEL, CM_WRAP_LIMIT, CmpGlobalQuota, CmpGlobalQuotaWarning, CmRegistrySizeLimit, CmRegistrySizeLimitLength, CmRegistrySizeLimitType, and MmSizeOfPagedPoolInBytes. Referenced by CmInitSystem1().
|
|
Definition at line 166 of file cmgquota.c. References ExFreePool(), ExRaiseHardError(), NTSTATUS(), NULL, and Status. Referenced by CmpClaimGlobalQuota().
|
|
Definition at line 265 of file cmgquota.c. References CmpGlobalQuotaUsed, KeBugCheckEx(), and Size. Referenced by CmpAllocate(), CmpFree(), HvFreeHivePartial(), HvInitializeHive(), and HvWriteHive().
|
|
Definition at line 354 of file cmgquota.c. References CmpGlobalQuota, and CmpGlobalQuotaAllowed. Referenced by CmLoadKey(), CmpLoadHiveVolatile(), and CmRestoreKey().
|
|
Definition at line 92 of file cmgquota.c. References CmpGlobalQuota, CmpGlobalQuotaUsed, and MmSizeOfPagedPoolInBytes. Referenced by NtQuerySystemInformation().
|
|
Definition at line 121 of file cmgquota.c. References CM_MINIMUM_GLOBAL_QUOTA, CM_REGISTRY_WARNING_LEVEL, CM_WRAP_LIMIT, CmpGlobalQuota, CmpGlobalQuotaAllowed, and CmpGlobalQuotaWarning. Referenced by NtSetSystemInformation().
|
|
Definition at line 72 of file cmgquota.c. Referenced by CmpComputeGlobalQuotaAllowed(), CmpSetGlobalQuotaAllowed(), CmQueryRegistryQuotaInformation(), and CmSetRegistryQuotaInformation(). |
|
Definition at line 73 of file cmgquota.c. |
|
Definition at line 88 of file cmgquota.c. |
|
Definition at line 78 of file cmgquota.c. |
|
Definition at line 83 of file cmgquota.c. Referenced by CmpClaimGlobalQuota(). |
|
Definition at line 61 of file cmgquota.c. Referenced by CmpComputeGlobalQuotaAllowed(). |
|
Definition at line 62 of file cmgquota.c. Referenced by CmpComputeGlobalQuotaAllowed(). |
|
Definition at line 63 of file cmgquota.c. Referenced by CmpComputeGlobalQuotaAllowed(). |
|
Definition at line 65 of file cmgquota.c. |