|
ReactOS 0.4.16-dev-2208-g6350669
|

Go to the source code of this file.
Classes | |
| struct | _PARTITION |
| struct | _PARTITION_SECTOR |
Macros | |
| #define | NDEBUG |
| #define | InsertAscendingList(ListHead, NewEntry, Type, ListEntryField, SortField) |
| #define | PARTITION_LINUX 0x83 |
| #define | PARTITION_TBL_SIZE 4 |
| #define | MBR_MAGIC 0xAA55 |
| #define | ROOT_NAME L"\\Registry\\Machine\\HARDWARE\\DESCRIPTION\\System\\MultifunctionAdapter" |
Typedefs | |
| typedef struct _PARTITION | PARTITION |
| typedef struct _PARTITION * | PPARTITION |
| typedef struct _PARTITION_SECTOR | PARTITION_SECTOR |
| typedef struct _PARTITION_SECTOR * | PPARTITION_SECTOR |
Variables | |
| LIST_ENTRY | DiskListHead |
| LIST_ENTRY | BiosDiskListHead |
| LIST_ENTRY | VolumeListHead |
| PDISKENTRY | CurrentDisk = NULL |
| PPARTENTRY | CurrentPartition = NULL |
| PVOLENTRY | CurrentVolume = NULL |
Definition at line 16 of file partlist.c.
| #define MBR_MAGIC 0xAA55 |
Definition at line 39 of file partlist.c.
| #define NDEBUG |
Definition at line 13 of file partlist.c.
| #define PARTITION_LINUX 0x83 |
Definition at line 35 of file partlist.c.
| #define PARTITION_TBL_SIZE 4 |
Definition at line 37 of file partlist.c.
| #define ROOT_NAME L"\\Registry\\Machine\\HARDWARE\\DESCRIPTION\\System\\MultifunctionAdapter" |
Definition at line 357 of file partlist.c.
| typedef struct _PARTITION PARTITION |
| typedef struct _PARTITION_SECTOR PARTITION_SECTOR |
| typedef struct _PARTITION * PPARTITION |
| typedef struct _PARTITION_SECTOR * PPARTITION_SECTOR |
Definition at line 1126 of file partlist.c.
|
static |
Definition at line 616 of file partlist.c.
Referenced by AddDiskToList().
|
static |
Definition at line 506 of file partlist.c.
Referenced by AddDiskToList().
Definition at line 2023 of file partlist.c.
Referenced by CreateVolumeList().
Definition at line 189 of file partlist.c.
Definition at line 1537 of file partlist.c.
Definition at line 2158 of file partlist.c.
Referenced by rescan_main(), and wmain().
Definition at line 1611 of file partlist.c.
Definition at line 2196 of file partlist.c.
Referenced by rescan_main(), and wmain().
|
static |
Definition at line 267 of file partlist.c.
|
static |
Definition at line 237 of file partlist.c.
| NTSTATUS DismountVolume | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2878 of file partlist.c.
Definition at line 361 of file partlist.c.
|
static |
Definition at line 1834 of file partlist.c.
Referenced by IsVolumeBoot().
|
static |
Definition at line 202 of file partlist.c.
|
static |
Definition at line 2479 of file partlist.c.
| PPARTENTRY GetNextUnpartitionedEntry | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2849 of file partlist.c.
Referenced by DeleteGptPartition(), and DeleteMbrPartition().
|
static |
Definition at line 1870 of file partlist.c.
Referenced by IsVolumeBoot(), and IsVolumeSystem().
| PPARTENTRY GetPrevUnpartitionedEntry | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2820 of file partlist.c.
Referenced by DeleteGptPartition(), and DeleteMbrPartition().
| ULONG GetPrimaryPartitionCount | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 2457 of file partlist.c.
Definition at line 1675 of file partlist.c.
Referenced by AddVolumeToList().
| PVOLENTRY GetVolumeFromPartition | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2986 of file partlist.c.
Referenced by clean_main().
Definition at line 1781 of file partlist.c.
Referenced by AddVolumeToList().
Definition at line 1741 of file partlist.c.
Referenced by AddVolumeToList().
|
static |
Definition at line 2426 of file partlist.c.
|
static |
Definition at line 2441 of file partlist.c.
Definition at line 1986 of file partlist.c.
Referenced by AddVolumeToList().
Definition at line 1932 of file partlist.c.
Referenced by AddVolumeToList().
| VOID ReadLayoutBuffer | ( | _In_ HANDLE | FileHandle, |
| _In_ PDISKENTRY | DiskEntry | ||
| ) |
Definition at line 1065 of file partlist.c.
Referenced by AddDiskToList(), and CreateDisk().
|
static |
Definition at line 2501 of file partlist.c.
Definition at line 3023 of file partlist.c.
Referenced by clean_main().
| VOID ScanForUnpartitionedGptDiskSpace | ( | PDISKENTRY | DiskEntry | ) |
Definition at line 921 of file partlist.c.
Referenced by AddDiskToList(), and ConvertGPT().
| VOID ScanForUnpartitionedMbrDiskSpace | ( | PDISKENTRY | DiskEntry | ) |
Definition at line 660 of file partlist.c.
Referenced by AddDiskToList(), ConvertMBR(), CreateExtendedPartition(), and CreatePrimaryPartition().
|
static |
Definition at line 311 of file partlist.c.
| VOID UpdateGptDiskLayout | ( | _In_ PDISKENTRY | DiskEntry, |
| _In_ BOOL | DeleteEntry | ||
| ) |
Definition at line 2730 of file partlist.c.
Referenced by CreateEfiPartition(), CreateMsrPartition(), CreatePrimaryGptPartition(), DeleteGptPartition(), gpt_main(), setid_main(), and UniqueIdDisk().
| VOID UpdateMbrDiskLayout | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 2553 of file partlist.c.
Referenced by active_main(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePrimaryMbrPartition(), DeleteMbrPartition(), inactive_main(), setid_main(), and UniqueIdDisk().
| NTSTATUS WriteGptPartitions | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 2349 of file partlist.c.
Referenced by CreateEfiPartition(), CreateMsrPartition(), CreatePrimaryGptPartition(), DeleteGptPartition(), gpt_main(), setid_main(), and UniqueIdDisk().
| NTSTATUS WriteMbrPartitions | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 2225 of file partlist.c.
Referenced by active_main(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePrimaryMbrPartition(), DeleteMbrPartition(), inactive_main(), setid_main(), and UniqueIdDisk().
| LIST_ENTRY BiosDiskListHead |
Definition at line 72 of file partlist.c.
Referenced by AddDiskToList(), CreatePartitionList(), DestroyPartitionList(), and EnumerateBiosDiskEntries().
| PDISKENTRY CurrentDisk = NULL |
Definition at line 75 of file partlist.c.
Referenced by active_main(), clean_main(), ConvertGPT(), ConvertMBR(), CreateDisk(), CreateEfiPartition(), CreateExtendedPartition(), CreateLogicalPartition(), CreateMsrPartition(), CreatePartitionList(), CreatePrimaryGptPartition(), CreatePrimaryMbrPartition(), CreatePrimaryPartition(), DeleteGptPartition(), DeleteMbrPartition(), DeletePartition(), DestroyPartitionList(), DetailDisk(), DetailPartition(), DumpDisk(), DumpPartition(), GetNextPartition(), GetPrevPartition(), gpt_main(), inactive_main(), ListPartition(), PrintDisk(), SelectDisk(), SelectPartition(), SelectVolume(), setid_main(), and UniqueIdDisk().
| PPARTENTRY CurrentPartition = NULL |
Definition at line 76 of file partlist.c.
Referenced by CreatePartitionList(), and DestroyPartitionList().
Definition at line 77 of file partlist.c.
Referenced by assign_main(), CreateVolumeList(), DestroyVolumeList(), DetailVolume(), filesystems_main(), format_main(), PrintVolume(), remove_main(), RemoveVolume(), and SelectVolume().
| LIST_ENTRY DiskListHead |
Definition at line 71 of file partlist.c.
Referenced by AddDiskToList(), CreatePartitionList(), DestroyPartitionList(), DetailVolume(), GetDiskForVolume(), GetPartitionForVolume(), ListDisk(), and SelectDisk().
| LIST_ENTRY VolumeListHead |
Definition at line 73 of file partlist.c.
Referenced by AddVolumeToList(), CreateVolumeList(), DestroyVolumeList(), DetailDisk(), DetailPartition(), GetVolumeFromPartition(), ListVolume(), and SelectVolume().