ReactOS 0.4.15-dev-6679-g945ee4b
|
#include "precomp.h"
#include <ntddscsi.h>
#include "partlist.h"
#include "fsrec.h"
#include "registry.h"
#include <debug.h>
#include <pshpack1.h>
#include <poppack.h>
Go to the source code of this file.
Classes | |
struct | _REG_DISK_MOUNT_INFO |
Macros | |
#define | NDEBUG |
#define | ROOT_NAME L"\\Registry\\Machine\\HARDWARE\\DESCRIPTION\\System\\MultifunctionAdapter" |
Typedefs | |
typedef struct _REG_DISK_MOUNT_INFO | REG_DISK_MOUNT_INFO |
typedef struct _REG_DISK_MOUNT_INFO * | PREG_DISK_MOUNT_INFO |
#define NDEBUG |
Definition at line 16 of file partlist.c.
#define ROOT_NAME L"\\Registry\\Machine\\HARDWARE\\DESCRIPTION\\System\\MultifunctionAdapter" |
typedef struct _REG_DISK_MOUNT_INFO * PREG_DISK_MOUNT_INFO |
Definition at line 1306 of file partlist.c.
Referenced by CreatePartitionList().
|
static |
Definition at line 2823 of file partlist.c.
Referenced by CreateExtendedPartition().
|
static |
Definition at line 751 of file partlist.c.
Referenced by AddDiskToList().
Definition at line 67 of file partlist.c.
Referenced by InitializePartitionEntry(), and ScanForUnpartitionedDiskSpace().
Definition at line 79 of file partlist.c.
Referenced by PeFmtCreateSection().
Definition at line 138 of file partlist.c.
Referenced by CreateExtendedPartition(), CreateLogicalPartition(), CreatePartitionList(), CreatePrimaryPartition(), and DeletePartition().
BOOLEAN CreateExtendedPartition | ( | IN PPARTLIST | List, |
IN OUT PPARTENTRY | PartEntry, | ||
IN ULONGLONG | SectorCount | ||
) |
Definition at line 2850 of file partlist.c.
Referenced by CreateExtendedPartitionPage().
|
static |
Definition at line 640 of file partlist.c.
Referenced by AddLogicalDiskSpace(), InitializePartitionEntry(), and ScanForUnpartitionedDiskSpace().
BOOLEAN CreateLogicalPartition | ( | IN PPARTLIST | List, |
IN OUT PPARTENTRY | PartEntry, | ||
IN ULONGLONG | SectorCount, | ||
IN BOOLEAN | AutoCreate | ||
) |
Definition at line 2904 of file partlist.c.
Referenced by CreateLogicalPartitionPage(), and SelectPartitionPage().
Definition at line 1847 of file partlist.c.
Referenced by LoadSetupData(), rescan_main(), SelectPartitionPage(), UpgradeRepairPage(), and wmain().
BOOLEAN CreatePrimaryPartition | ( | IN PPARTLIST | List, |
IN OUT PPARTENTRY | PartEntry, | ||
IN ULONGLONG | SectorCount, | ||
IN BOOLEAN | AutoCreate | ||
) |
Definition at line 2786 of file partlist.c.
Referenced by CreatePrimaryPartitionPage(), SelectFileSystemPage(), and SelectPartitionPage().
BOOLEAN DeletePartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY | PartEntry, | ||
OUT PPARTENTRY *FreeRegion | OPTIONAL | ||
) |
Definition at line 3047 of file partlist.c.
Referenced by DeletePartitionPage().
Definition at line 1931 of file partlist.c.
Referenced by QuitPage(), rescan_main(), SelectPartitionPage(), and wmain().
|
static |
Definition at line 247 of file partlist.c.
Referenced by EnumerateBiosDiskEntries().
|
static |
Definition at line 217 of file partlist.c.
Referenced by EnumerateBiosDiskEntries().
NTSTATUS DismountVolume | ( | IN PPARTENTRY | PartEntry | ) |
Definition at line 2940 of file partlist.c.
Referenced by AddPartitionToDisk(), clean_main(), and DeletePartition().
Definition at line 337 of file partlist.c.
Referenced by CreatePartitionList().
ERROR_NUMBER ExtendedPartitionCreationChecks | ( | IN PPARTENTRY | PartEntry | ) |
Definition at line 3981 of file partlist.c.
Referenced by CreateExtendedPartition(), and SelectPartitionPage().
PPARTENTRY FindSupportedSystemPartition | ( | IN PPARTLIST | List, |
IN BOOLEAN | ForceSelect, | ||
IN PDISKENTRY AlternativeDisk | OPTIONAL, | ||
IN PPARTENTRY AlternativePart | OPTIONAL | ||
) |
Definition at line 3260 of file partlist.c.
Referenced by SelectFileSystemPage().
|
static |
Definition at line 1791 of file partlist.c.
Referenced by CreatePartitionList(), FindSupportedSystemPartition(), and SetActivePartition().
PDISKENTRY GetDiskByBiosNumber | ( | IN PPARTLIST | List, |
IN ULONG | HwDiskNumber | ||
) |
Definition at line 1988 of file partlist.c.
PDISKENTRY GetDiskByNumber | ( | IN PPARTLIST | List, |
IN ULONG | DiskNumber | ||
) |
Definition at line 2014 of file partlist.c.
Referenced by GetDiskOrPartition(), and SelectPartition().
Definition at line 2040 of file partlist.c.
Referenced by ResolveArcNameManually().
PDISKENTRY GetDiskBySignature | ( | IN PPARTLIST | List, |
IN ULONG | Signature | ||
) |
Definition at line 2070 of file partlist.c.
Referenced by ResolveArcNameManually().
BOOLEAN GetDiskOrPartition | ( | IN PPARTLIST | List, |
IN ULONG | DiskNumber, | ||
IN ULONG PartitionNumber | OPTIONAL, | ||
OUT PDISKENTRY * | pDiskEntry, | ||
OUT PPARTENTRY *pPartEntry | OPTIONAL | ||
) |
Definition at line 2143 of file partlist.c.
Referenced by EnumerateInstallations().
|
static |
Definition at line 105 of file partlist.c.
Referenced by AddDiskToList().
|
static |
Definition at line 2455 of file partlist.c.
Referenced by ReAllocateLayoutBuffer().
PPARTENTRY GetNextPartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY CurrentPart | OPTIONAL | ||
) |
Definition at line 2207 of file partlist.c.
Referenced by ScrollDownPartitionList().
BOOLEAN GetNextUncheckedPartition | ( | IN PPARTLIST | List, |
OUT PDISKENTRY *pDiskEntry | OPTIONAL, | ||
OUT PPARTENTRY * | pPartEntry | ||
) |
Definition at line 4094 of file partlist.c.
Referenced by CheckFileSystemPage().
BOOLEAN GetNextUnformattedPartition | ( | IN PPARTLIST | List, |
OUT PDISKENTRY *pDiskEntry | OPTIONAL, | ||
OUT PPARTENTRY * | pPartEntry | ||
) |
Definition at line 4035 of file partlist.c.
Referenced by SelectFileSystemPage().
|
static |
Definition at line 2752 of file partlist.c.
Referenced by DeletePartition().
PPARTENTRY GetPartition | ( | IN PDISKENTRY | DiskEntry, |
IN ULONG | PartitionNumber | ||
) |
Definition at line 2096 of file partlist.c.
Referenced by GetDiskOrPartition(), ResolveArcNameManually(), and SelectPartition().
PPARTENTRY GetPrevPartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY CurrentPart | OPTIONAL | ||
) |
Definition at line 2299 of file partlist.c.
Referenced by ScrollUpPartitionList().
|
static |
Definition at line 2717 of file partlist.c.
Referenced by DeletePartition().
|
static |
Definition at line 2428 of file partlist.c.
Referenced by CreateExtendedPartition(), CreatePrimaryPartition(), ExtendedPartitionCreationChecks(), FindSupportedSystemPartition(), PrimaryPartitionCreationChecks(), and UpdateDiskLayout().
|
static |
Definition at line 1718 of file partlist.c.
Referenced by CreatePartitionList(), FindSupportedSystemPartition(), and SetActivePartition().
|
static |
Definition at line 678 of file partlist.c.
Referenced by CreateExtendedPartition(), CreateLogicalPartition(), and CreatePrimaryPartition().
|
static |
Definition at line 574 of file partlist.c.
Referenced by AddPartitionToDisk().
FORCEINLINE BOOLEAN IsEmptyLayoutEntry | ( | IN PPARTITION_INFORMATION | PartitionInfo | ) |
Definition at line 2396 of file partlist.c.
Referenced by UpdateDiskLayout().
BOOLEAN IsPartitionActive | ( | IN PPARTENTRY | PartEntry | ) |
Definition at line 1768 of file partlist.c.
Referenced by GetActiveDiskPartition(), SelectPartitionPage(), and SetActivePartition().
FORCEINLINE BOOLEAN IsSamePrimaryLayoutEntry | ( | IN PPARTITION_INFORMATION | PartitionInfo, |
IN PDISKENTRY | DiskEntry, | ||
IN PPARTENTRY | PartEntry | ||
) |
Definition at line 2411 of file partlist.c.
Referenced by UpdateDiskLayout().
BOOLEAN IsSuperFloppy | ( | IN PDISKENTRY | DiskEntry | ) |
Definition at line 501 of file partlist.c.
Referenced by AddDiskToList(), BootLoaderInstallationPage(), ExtendedPartitionCreationChecks(), LogicalPartitionCreationChecks(), PrimaryPartitionCreationChecks(), and xHalIoWritePartitionTable().
|
static |
Definition at line 3180 of file partlist.c.
Referenced by FindSupportedSystemPartition().
ERROR_NUMBER LogicalPartitionCreationChecks | ( | IN PPARTENTRY | PartEntry | ) |
Definition at line 4012 of file partlist.c.
Referenced by CreateLogicalPartition(), and SelectPartitionPage().
ERROR_NUMBER PrimaryPartitionCreationChecks | ( | IN PPARTENTRY | PartEntry | ) |
Definition at line 3954 of file partlist.c.
Referenced by CreatePrimaryPartition(), and SelectPartitionPage().
|
static |
Definition at line 2482 of file partlist.c.
Referenced by UpdateDiskLayout().
Definition at line 95 of file partlist.c.
Referenced by ListPartition(), PrettifySize1(), PrettifySize2(), PrintDisk(), PrintDiskData(), PrintPartitionData(), and PrintVolume().
|
static |
Definition at line 942 of file partlist.c.
Referenced by AddDiskToList().
Definition at line 2183 of file partlist.c.
Referenced by SelectPartitionPage().
BOOLEAN SetActivePartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY | PartEntry, | ||
IN PPARTENTRY OldActivePart | OPTIONAL | ||
) |
Definition at line 3555 of file partlist.c.
Referenced by SelectFileSystemPage().
|
static |
Definition at line 1153 of file partlist.c.
Referenced by UpdateDiskSignatures().
VOID SetMBRPartitionType | ( | IN PPARTENTRY | PartEntry, |
IN UCHAR | PartitionType | ||
) |
Definition at line 3937 of file partlist.c.
Referenced by FormatPartition().
BOOLEAN SetMountedDeviceValue | ( | IN WCHAR | Letter, |
IN ULONG | Signature, | ||
IN LARGE_INTEGER | StartingOffset | ||
) |
Definition at line 3800 of file partlist.c.
Referenced by SetMountedDeviceValues().
Definition at line 3861 of file partlist.c.
Referenced by UpdateRegistry().
|
static |
Definition at line 290 of file partlist.c.
Referenced by EnumerateBiosDiskEntries().
|
static |
Definition at line 2534 of file partlist.c.
Referenced by active_main(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePrimaryPartition(), DeletePartition(), inactive_main(), setid_main(), and UniqueIdDisk().
Definition at line 1215 of file partlist.c.
Referenced by CreatePartitionList().
Definition at line 1245 of file partlist.c.
Referenced by CreatePartitionList().
NTSTATUS WritePartitions | ( | IN PDISKENTRY | DiskEntry | ) |
Definition at line 3619 of file partlist.c.
Referenced by active_main(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePrimaryPartition(), DeletePartition(), FormatPartition(), inactive_main(), setid_main(), UniqueIdDisk(), and WritePartitionsToDisk().
Definition at line 3763 of file partlist.c.
Referenced by SelectFileSystemPage().