|
ReactOS 0.4.17-dev-1190-g4c812f4
|

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 2227 of file partlist.c.
Referenced by rescan_main(), and wmain().
Definition at line 1611 of file partlist.c.
Definition at line 2267 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 3056 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 2657 of file partlist.c.
| PPARTENTRY GetNextUnpartitionedEntry | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 3027 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 2998 of file partlist.c.
Referenced by DeleteGptPartition(), and DeleteMbrPartition().
| ULONG GetPrimaryPartitionCount | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 2635 of file partlist.c.
Definition at line 1675 of file partlist.c.
Referenced by AddVolumeToList().
| PVOLENTRY GetVolumeFromPartition | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 3177 of file partlist.c.
Referenced by clean_main().
Definition at line 1781 of file partlist.c.
Referenced by UpdateVolumeInfo().
Definition at line 1741 of file partlist.c.
Referenced by AddVolumeToList().
|
static |
Definition at line 2165 of file partlist.c.
Referenced by SortVolumeList().
|
static |
Definition at line 2604 of file partlist.c.
|
static |
Definition at line 2619 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 2679 of file partlist.c.
Definition at line 3214 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().
Definition at line 2178 of file partlist.c.
Referenced by CreateVolumeList().
|
static |
Definition at line 311 of file partlist.c.
| VOID UpdateGptDiskLayout | ( | _In_ PDISKENTRY | DiskEntry, |
| _In_ BOOL | DeleteEntry | ||
| ) |
Definition at line 2908 of file partlist.c.
Referenced by CreateEfiPartition(), CreateMsrPartition(), CreatePrimaryGptPartition(), DeleteGptPartition(), gpt_main(), setid_main(), and UniqueIdDisk().
| VOID UpdateMbrDiskLayout | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 2731 of file partlist.c.
Referenced by active_main(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePrimaryMbrPartition(), DeleteMbrPartition(), inactive_main(), setid_main(), and UniqueIdDisk().
Definition at line 2296 of file partlist.c.
Referenced by PrintVolume().
| NTSTATUS WriteGptPartitions | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 2527 of file partlist.c.
Referenced by CreateEfiPartition(), CreateMsrPartition(), CreatePrimaryGptPartition(), DeleteGptPartition(), gpt_main(), setid_main(), and UniqueIdDisk().
| NTSTATUS WriteMbrPartitions | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 2403 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(), InsertGptPartition(), 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(), SelectVolume(), and SortVolumeList().