|
ReactOS 0.4.16-dev-1946-g52006dd
|

Go to the source code of this file.
Classes | |
| struct | _SMP_PAGEFILE_DESCRIPTOR |
| struct | _SMP_VOLUME_DESCRIPTOR |
Macros | |
| #define | NDEBUG |
| #define | STANDARD_PAGING_FILE_NAME L"\\??\\?:\\pagefile.sys" |
| #define | STANDARD_DRIVE_LETTER_OFFSET 4 |
| #define | MAX_PAGING_FILES 16 |
| #define | MEGABYTE (1024 * 1024) |
| #define | GIGABYTE (1024ULL * MEGABYTE) |
| #define | TERABYTE (1024ULL * GIGABYTE) |
| #define | MAXIMUM_PAGEFILE_SIZE32 ((1ULL * 1024 * 1024 - 1) * PAGE_SIZE) |
| #define | MAXIMUM_PAGEFILE_SIZE64 ((4ULL * 1024 * 1024 * 1024 - 1) * PAGE_SIZE) |
| #define | MAXIMUM_PAGEFILE_SIZE MAXIMUM_PAGEFILE_SIZE32 |
| #define | MINIMUM_TO_KEEP_FREE (256 * MEGABYTE) |
| #define | FUZZ_FACTOR (16 * MEGABYTE) |
| #define | SMP_PAGEFILE_CREATED 0x01 |
| #define | SMP_PAGEFILE_DEFAULT 0x02 |
| #define | SMP_PAGEFILE_SYSTEM_MANAGED 0x04 |
| #define | SMP_PAGEFILE_WAS_TOO_BIG 0x08 |
| #define | SMP_PAGEFILE_ON_ANY_DRIVE 0x10 |
| #define | SMP_PAGEFILE_EMERGENCY 0x20 |
| #define | SMP_PAGEFILE_DUMP_PROCESSED 0x40 |
| #define | SMP_VOLUME_INSERTED 0x01 |
| #define | SMP_VOLUME_PAGEFILE_CREATED 0x04 |
| #define | SMP_VOLUME_IS_BOOT 0x08 |
Typedefs | |
| typedef struct _SMP_PAGEFILE_DESCRIPTOR | SMP_PAGEFILE_DESCRIPTOR |
| typedef struct _SMP_PAGEFILE_DESCRIPTOR * | PSMP_PAGEFILE_DESCRIPTOR |
| typedef struct _SMP_VOLUME_DESCRIPTOR | SMP_VOLUME_DESCRIPTOR |
| typedef struct _SMP_VOLUME_DESCRIPTOR * | PSMP_VOLUME_DESCRIPTOR |
Variables | |
| LIST_ENTRY | SmpPagingFileDescriptorList |
| LIST_ENTRY | SmpVolumeDescriptorList |
| BOOLEAN | SmpRegistrySpecifierPresent |
| ULONG | SmpNumberOfPagingFiles |
Definition at line 82 of file pagefile.c.
Definition at line 30 of file pagefile.c.
| #define MAX_PAGING_FILES 16 |
Definition at line 23 of file pagefile.c.
| #define MAXIMUM_PAGEFILE_SIZE MAXIMUM_PAGEFILE_SIZE32 |
Definition at line 76 of file pagefile.c.
Definition at line 35 of file pagefile.c.
Definition at line 44 of file pagefile.c.
| #define MEGABYTE (1024 * 1024) |
Definition at line 24 of file pagefile.c.
Definition at line 81 of file pagefile.c.
| #define NDEBUG |
Definition at line 13 of file pagefile.c.
| #define SMP_PAGEFILE_CREATED 0x01 |
Definition at line 87 of file pagefile.c.
| #define SMP_PAGEFILE_DEFAULT 0x02 |
Definition at line 88 of file pagefile.c.
| #define SMP_PAGEFILE_DUMP_PROCESSED 0x40 |
Definition at line 93 of file pagefile.c.
| #define SMP_PAGEFILE_EMERGENCY 0x20 |
Definition at line 92 of file pagefile.c.
| #define SMP_PAGEFILE_ON_ANY_DRIVE 0x10 |
Definition at line 91 of file pagefile.c.
| #define SMP_PAGEFILE_SYSTEM_MANAGED 0x04 |
Definition at line 89 of file pagefile.c.
| #define SMP_PAGEFILE_WAS_TOO_BIG 0x08 |
Definition at line 90 of file pagefile.c.
| #define SMP_VOLUME_INSERTED 0x01 |
Definition at line 109 of file pagefile.c.
| #define SMP_VOLUME_IS_BOOT 0x08 |
Definition at line 111 of file pagefile.c.
| #define SMP_VOLUME_PAGEFILE_CREATED 0x04 |
Definition at line 110 of file pagefile.c.
| #define STANDARD_DRIVE_LETTER_OFFSET 4 |
Definition at line 22 of file pagefile.c.
| #define STANDARD_PAGING_FILE_NAME L"\\??\\?:\\pagefile.sys" |
Definition at line 21 of file pagefile.c.
Definition at line 31 of file pagefile.c.
Definition at line 834 of file pagefile.c.
Referenced by SmpCreatePagingFiles().
| NTSTATUS NTAPI SmpCreatePagingFile | ( | IN PUNICODE_STRING | Name, |
| IN PLARGE_INTEGER | MinSize, | ||
| IN PLARGE_INTEGER | MaxSize, | ||
| IN ULONG | Priority | ||
| ) |
Definition at line 504 of file pagefile.c.
Referenced by SmpCreatePagingFileOnFixedDrive().
| NTSTATUS NTAPI SmpCreatePagingFileDescriptor | ( | IN PUNICODE_STRING | PageFileToken | ) |
Definition at line 139 of file pagefile.c.
Referenced by SmpLoadDataFromRegistry().
| NTSTATUS NTAPI SmpCreatePagingFileOnAnyDrive | ( | IN PSMP_PAGEFILE_DESCRIPTOR | Descriptor, |
| IN PLARGE_INTEGER | FuzzFactor, | ||
| IN PLARGE_INTEGER | MinimumSize | ||
| ) |
Definition at line 667 of file pagefile.c.
Referenced by SmpCreatePagingFiles(), and SmpCreateSystemManagedPagingFile().
| NTSTATUS NTAPI SmpCreatePagingFileOnFixedDrive | ( | IN PSMP_PAGEFILE_DESCRIPTOR | Descriptor, |
| IN PLARGE_INTEGER | FuzzFactor, | ||
| IN PLARGE_INTEGER | MinimumSize | ||
| ) |
Definition at line 535 of file pagefile.c.
Referenced by SmpCreatePagingFileOnAnyDrive(), SmpCreatePagingFiles(), and SmpCreateSystemManagedPagingFile().
Definition at line 1049 of file pagefile.c.
Referenced by SmpLoadDataFromRegistry().
| NTSTATUS NTAPI SmpCreateSystemManagedPagingFile | ( | IN PSMP_PAGEFILE_DESCRIPTOR | Descriptor, |
| IN BOOLEAN | DecreaseSize | ||
| ) |
Definition at line 801 of file pagefile.c.
Referenced by SmpCreateEmergencyPagingFile(), and SmpCreatePagingFiles().
Definition at line 869 of file pagefile.c.
Referenced by SmpCreatePagingFiles().
| NTSTATUS NTAPI SmpDeletePagingFile | ( | IN PUNICODE_STRING | FileName | ) |
Definition at line 340 of file pagefile.c.
Referenced by SmpCreatePagingFileOnFixedDrive().
| NTSTATUS NTAPI SmpGetPagingFileSize | ( | IN PUNICODE_STRING | FileName, |
| OUT PLARGE_INTEGER | Size | ||
| ) |
Definition at line 295 of file pagefile.c.
Referenced by SmpCreatePagingFileOnFixedDrive().
| NTSTATUS NTAPI SmpGetVolumeFreeSpace | ( | IN PSMP_VOLUME_DESCRIPTOR | Volume | ) |
Definition at line 394 of file pagefile.c.
Referenced by SmpCreatePagingFileOnFixedDrive().
| VOID NTAPI SmpMakeDefaultPagingFileDescriptor | ( | IN PSMP_PAGEFILE_DESCRIPTOR | Descriptor | ) |
Definition at line 705 of file pagefile.c.
Referenced by SmpMakeSystemManagedPagingFileDescriptor().
| VOID NTAPI SmpMakeSystemManagedPagingFileDescriptor | ( | IN PSMP_PAGEFILE_DESCRIPTOR | Descriptor | ) |
Definition at line 715 of file pagefile.c.
Referenced by SmpCreateSystemManagedPagingFile().
Definition at line 130 of file pagefile.c.
Referenced by SmpLoadDataFromRegistry().
| PSMP_VOLUME_DESCRIPTOR NTAPI SmpSearchVolumeDescriptor | ( | IN WCHAR | DriveLetter | ) |
Definition at line 472 of file pagefile.c.
Referenced by SmpCreatePagingFileOnFixedDrive().
| NTSTATUS NTAPI SmpValidatePagingFileSizes | ( | IN PSMP_PAGEFILE_DESCRIPTOR | Descriptor | ) |
Definition at line 749 of file pagefile.c.
Referenced by SmpCreatePagingFiles(), and SmpCreateSystemManagedPagingFile().
| ULONG SmpNumberOfPagingFiles |
Definition at line 124 of file pagefile.c.
Referenced by SmpCreateEmergencyPagingFile(), SmpCreatePagingFileDescriptor(), SmpCreatePagingFiles(), and SmpCreateSystemManagedPagingFile().
| LIST_ENTRY SmpPagingFileDescriptorList |
Definition at line 122 of file pagefile.c.
Referenced by SmpCreateEmergencyPagingFile(), SmpCreatePagingFileDescriptor(), SmpCreatePagingFiles(), SmpCreateSystemManagedPagingFile(), and SmpPagingFileInitialize().
| BOOLEAN SmpRegistrySpecifierPresent |
Definition at line 123 of file pagefile.c.
Referenced by SmpCreatePagingFileDescriptor(), and SmpCreatePagingFiles().
| LIST_ENTRY SmpVolumeDescriptorList |
Definition at line 122 of file pagefile.c.
Referenced by SmpCreatePagingFileOnAnyDrive(), SmpCreateVolumeDescriptors(), SmpPagingFileInitialize(), and SmpSearchVolumeDescriptor().