|
ReactOS 0.4.16-dev-1983-g1a17364
|
#include "diskpart.h"#include <ntddscsi.h>#include <debug.h>#include <pshpack1.h>#include <poppack.h>
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 17 of file partlist.c.
| #define MBR_MAGIC 0xAA55 |
Definition at line 40 of file partlist.c.
| #define NDEBUG |
Definition at line 14 of file partlist.c.
| #define PARTITION_LINUX 0x83 |
Definition at line 36 of file partlist.c.
| #define PARTITION_TBL_SIZE 4 |
Definition at line 38 of file partlist.c.
| #define ROOT_NAME L"\\Registry\\Machine\\HARDWARE\\DESCRIPTION\\System\\MultifunctionAdapter" |
Definition at line 303 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 877 of file partlist.c.
|
static |
Definition at line 452 of file partlist.c.
Definition at line 1375 of file partlist.c.
Referenced by CreateVolumeList().
Definition at line 135 of file partlist.c.
Definition at line 1136 of file partlist.c.
Definition at line 1491 of file partlist.c.
Referenced by rescan_main(), and wmain().
Definition at line 1210 of file partlist.c.
Definition at line 1529 of file partlist.c.
Referenced by rescan_main(), and wmain().
|
static |
Definition at line 213 of file partlist.c.
|
static |
Definition at line 183 of file partlist.c.
| NTSTATUS DismountVolume | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2045 of file partlist.c.
Definition at line 307 of file partlist.c.
|
static |
Definition at line 148 of file partlist.c.
|
static |
Definition at line 1736 of file partlist.c.
| PPARTENTRY GetNextUnpartitionedEntry | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2016 of file partlist.c.
Referenced by DeletePartition().
| PPARTENTRY GetPrevUnpartitionedEntry | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 1987 of file partlist.c.
Referenced by DeletePartition().
| ULONG GetPrimaryPartitionCount | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 1714 of file partlist.c.
Definition at line 1269 of file partlist.c.
Referenced by AddVolumeToList().
| PVOLENTRY GetVolumeFromPartition | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2153 of file partlist.c.
Referenced by clean_main().
Definition at line 1335 of file partlist.c.
Referenced by AddVolumeToList().
|
static |
Definition at line 1683 of file partlist.c.
|
static |
Definition at line 1698 of file partlist.c.
| VOID ReadLayoutBuffer | ( | _In_ HANDLE | FileHandle, |
| _In_ PDISKENTRY | DiskEntry | ||
| ) |
Definition at line 816 of file partlist.c.
Referenced by AddDiskToList(), and CreateDisk().
|
static |
Definition at line 1758 of file partlist.c.
Definition at line 2190 of file partlist.c.
Referenced by clean_main().
|
static |
Definition at line 561 of file partlist.c.
|
static |
Definition at line 257 of file partlist.c.
| VOID UpdateDiskLayout | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 1810 of file partlist.c.
| NTSTATUS WritePartitions | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 1558 of file partlist.c.
| LIST_ENTRY BiosDiskListHead |
Definition at line 73 of file partlist.c.
Referenced by AddDiskToList(), CreatePartitionList(), DestroyPartitionList(), and EnumerateBiosDiskEntries().
| PDISKENTRY CurrentDisk = NULL |
Definition at line 76 of file partlist.c.
Referenced by active_main(), clean_main(), ConvertGPT(), ConvertMBR(), CreateDisk(), CreateExtendedPartition(), CreateLogicalPartition(), CreatePartitionList(), CreatePrimaryPartition(), DeletePartition(), DestroyPartitionList(), DetailDisk(), DetailPartition(), DumpDisk(), DumpPartition(), GetNextPartition(), GetPrevPartition(), inactive_main(), ListPartition(), PrintDisk(), SelectDisk(), SelectPartition(), SelectVolume(), setid_main(), and UniqueIdDisk().
| PPARTENTRY CurrentPartition = NULL |
Definition at line 77 of file partlist.c.
Referenced by CreatePartitionList(), and DestroyPartitionList().
Definition at line 78 of file partlist.c.
Referenced by CreateVolumeList(), DestroyVolumeList(), DetailVolume(), filesystems_main(), PrintVolume(), RemoveVolume(), and SelectVolume().
| LIST_ENTRY DiskListHead |
Definition at line 72 of file partlist.c.
Referenced by AddDiskToList(), CreatePartitionList(), DestroyPartitionList(), DetailVolume(), ListDisk(), and SelectDisk().
| LIST_ENTRY VolumeListHead |
Definition at line 74 of file partlist.c.
Referenced by AddVolumeToList(), CreateVolumeList(), DestroyVolumeList(), DetailDisk(), DetailPartition(), GetVolumeFromPartition(), ListVolume(), and SelectVolume().