ReactOS 0.4.15-dev-7918-g2a2556c
|
#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 1326 of file partlist.c.
Referenced by CreatePartitionList().
|
static |
Definition at line 2903 of file partlist.c.
Referenced by CreateExtendedPartition().
|
static |
Definition at line 771 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(), CreatePartition(), CreatePartitionList(), and DeletePartition().
BOOLEAN CreateExtendedPartition | ( | _In_ PPARTLIST | List, |
_Inout_ PPARTENTRY | PartEntry, | ||
_In_opt_ ULONGLONG | SizeBytes | ||
) |
Definition at line 2930 of file partlist.c.
Referenced by CreatePartitionPage().
|
static |
Definition at line 640 of file partlist.c.
Referenced by AddLogicalDiskSpace(), InitializePartitionEntry(), and ScanForUnpartitionedDiskSpace().
BOOLEAN CreatePartition | ( | _In_ PPARTLIST | List, |
_Inout_ PPARTENTRY | PartEntry, | ||
_In_opt_ ULONGLONG | SizeBytes | ||
) |
Definition at line 2869 of file partlist.c.
Referenced by CreatePartitionPage(), SelectFileSystemPage(), and SelectPartitionPage().
Definition at line 1867 of file partlist.c.
Referenced by LoadSetupData(), rescan_main(), SelectPartitionPage(), UpgradeRepairPage(), and wmain().
BOOLEAN DeletePartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY | PartEntry, | ||
OUT PPARTENTRY *FreeRegion | OPTIONAL | ||
) |
Definition at line 3091 of file partlist.c.
Referenced by DeletePartitionPage().
Definition at line 1951 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 2984 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 2838 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 3304 of file partlist.c.
Referenced by SelectFileSystemPage().
|
static |
Definition at line 1811 of file partlist.c.
Referenced by CreatePartitionList(), FindSupportedSystemPartition(), and SetActivePartition().
PDISKENTRY GetDiskByBiosNumber | ( | IN PPARTLIST | List, |
IN ULONG | HwDiskNumber | ||
) |
Definition at line 2008 of file partlist.c.
PDISKENTRY GetDiskByNumber | ( | IN PPARTLIST | List, |
IN ULONG | DiskNumber | ||
) |
Definition at line 2034 of file partlist.c.
Referenced by GetDiskOrPartition(), and SelectPartition().
Definition at line 2060 of file partlist.c.
Referenced by ResolveArcNameManually().
PDISKENTRY GetDiskBySignature | ( | IN PPARTLIST | List, |
IN ULONG | Signature | ||
) |
Definition at line 2090 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 2163 of file partlist.c.
Referenced by EnumerateInstallations().
|
static |
Definition at line 105 of file partlist.c.
Referenced by AddDiskToList().
|
static |
Definition at line 2462 of file partlist.c.
Referenced by ReAllocateLayoutBuffer().
PPARTENTRY GetNextPartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY CurrentPart | OPTIONAL | ||
) |
Definition at line 2227 of file partlist.c.
Referenced by ScrollDownPartitionList().
BOOLEAN GetNextUncheckedPartition | ( | IN PPARTLIST | List, |
OUT PDISKENTRY *pDiskEntry | OPTIONAL, | ||
OUT PPARTENTRY * | pPartEntry | ||
) |
Definition at line 4057 of file partlist.c.
Referenced by CheckFileSystemPage().
BOOLEAN GetNextUnformattedPartition | ( | IN PPARTLIST | List, |
OUT PDISKENTRY *pDiskEntry | OPTIONAL, | ||
OUT PPARTENTRY * | pPartEntry | ||
) |
Definition at line 3998 of file partlist.c.
Referenced by SelectFileSystemPage().
|
static |
Definition at line 2759 of file partlist.c.
Referenced by DeletePartition().
PPARTENTRY GetPartition | ( | IN PDISKENTRY | DiskEntry, |
IN ULONG | PartitionNumber | ||
) |
Definition at line 2116 of file partlist.c.
Referenced by GetDiskOrPartition(), ResolveArcNameManually(), and SelectPartition().
PPARTENTRY GetPrevPartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY CurrentPart | OPTIONAL | ||
) |
Definition at line 2319 of file partlist.c.
Referenced by ScrollUpPartitionList().
|
static |
Definition at line 2724 of file partlist.c.
Referenced by DeletePartition().
|
static |
Definition at line 2435 of file partlist.c.
Referenced by CreateExtendedPartition(), CreatePrimaryPartition(), ExtendedPartitionCreationChecks(), FindSupportedSystemPartition(), PartitionCreationChecks(), and UpdateDiskLayout().
|
static |
Definition at line 1738 of file partlist.c.
Referenced by CreatePartitionList(), FindSupportedSystemPartition(), and SetActivePartition().
|
static |
Definition at line 678 of file partlist.c.
Referenced by CreateExtendedPartition(), and CreatePartition().
|
static |
Definition at line 574 of file partlist.c.
Referenced by AddPartitionToDisk().
|
inlinestatic |
Definition at line 2415 of file partlist.c.
Referenced by UpdateDiskLayout().
BOOLEAN IsPartitionActive | ( | IN PPARTENTRY | PartEntry | ) |
Definition at line 1788 of file partlist.c.
Referenced by GetActiveDiskPartition(), SelectPartitionPage(), and SetActivePartition().
|
inlinestatic |
Definition at line 2424 of file partlist.c.
Referenced by UpdateDiskLayout().
BOOLEAN IsSuperFloppy | ( | IN PDISKENTRY | DiskEntry | ) |
Definition at line 501 of file partlist.c.
Referenced by AddDiskToList(), BootLoaderHardDiskPage(), ExtendedPartitionCreationChecks(), PartitionCreationChecks(), and xHalIoWritePartitionTable().
|
static |
Definition at line 3224 of file partlist.c.
Referenced by FindSupportedSystemPartition().
ERROR_NUMBER PartitionCreationChecks | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2793 of file partlist.c.
Referenced by CreatePartition(), and SelectPartitionPage().
|
static |
Definition at line 2489 of file partlist.c.
Referenced by UpdateDiskLayout().
Definition at line 95 of file partlist.c.
Referenced by CreatePartitionPage(), IsPartitionLargeEnough(), ListPartition(), PrettifySize1(), PrettifySize2(), PrintDisk(), PrintDiskData(), PrintPartitionData(), and PrintVolume().
|
static |
Definition at line 962 of file partlist.c.
Referenced by AddDiskToList().
Definition at line 2203 of file partlist.c.
Referenced by SelectPartitionPage().
BOOLEAN SetActivePartition | ( | IN PPARTLIST | List, |
IN PPARTENTRY | PartEntry, | ||
IN PPARTENTRY OldActivePart | OPTIONAL | ||
) |
Definition at line 3599 of file partlist.c.
Referenced by SelectFileSystemPage().
|
static |
Definition at line 1173 of file partlist.c.
Referenced by UpdateDiskSignatures().
VOID SetMBRPartitionType | ( | IN PPARTENTRY | PartEntry, |
IN UCHAR | PartitionType | ||
) |
Definition at line 3981 of file partlist.c.
Referenced by FormatPartition().
BOOLEAN SetMountedDeviceValue | ( | IN WCHAR | Letter, |
IN ULONG | Signature, | ||
IN LARGE_INTEGER | StartingOffset | ||
) |
Definition at line 3844 of file partlist.c.
Referenced by SetMountedDeviceValues().
Definition at line 3905 of file partlist.c.
Referenced by UpdateRegistry().
|
static |
Definition at line 290 of file partlist.c.
Referenced by EnumerateBiosDiskEntries().
|
static |
Definition at line 2541 of file partlist.c.
Referenced by active_main(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePartition(), CreatePrimaryPartition(), DeletePartition(), inactive_main(), setid_main(), and UniqueIdDisk().
Definition at line 1235 of file partlist.c.
Referenced by CreatePartitionList().
Definition at line 1265 of file partlist.c.
Referenced by CreatePartitionList().
NTSTATUS WritePartitions | ( | IN PDISKENTRY | DiskEntry | ) |
Definition at line 3663 of file partlist.c.
Referenced by active_main(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePrimaryPartition(), DeletePartition(), FormatPartition(), inactive_main(), setid_main(), UniqueIdDisk(), and WritePartitionsToDisk().
Definition at line 3807 of file partlist.c.
Referenced by SelectFileSystemPage().