ReactOS 0.4.16-dev-732-g2d1144a
|
#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 252 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 766 of file partlist.c.
|
static |
Definition at line 401 of file partlist.c.
Definition at line 1298 of file partlist.c.
Referenced by CreateVolumeList().
Definition at line 84 of file partlist.c.
Definition at line 1059 of file partlist.c.
Definition at line 1414 of file partlist.c.
Referenced by rescan_main(), and wmain().
Definition at line 1133 of file partlist.c.
Definition at line 1452 of file partlist.c.
Referenced by rescan_main(), and wmain().
|
static |
Definition at line 162 of file partlist.c.
|
static |
Definition at line 132 of file partlist.c.
NTSTATUS DismountVolume | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 1960 of file partlist.c.
Definition at line 256 of file partlist.c.
|
static |
Definition at line 97 of file partlist.c.
|
static |
Definition at line 1659 of file partlist.c.
PPARTENTRY GetNextUnpartitionedEntry | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 1932 of file partlist.c.
Referenced by DeletePartition().
PPARTENTRY GetPrevUnpartitionedEntry | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 1903 of file partlist.c.
Referenced by DeletePartition().
ULONG GetPrimaryPartitionCount | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 1637 of file partlist.c.
Definition at line 1192 of file partlist.c.
Referenced by AddVolumeToList().
PVOLENTRY GetVolumeFromPartition | ( | _In_ PPARTENTRY | PartEntry | ) |
Definition at line 2068 of file partlist.c.
Referenced by clean_main().
Definition at line 1258 of file partlist.c.
Referenced by AddVolumeToList().
|
static |
Definition at line 1606 of file partlist.c.
|
static |
Definition at line 1621 of file partlist.c.
|
static |
Definition at line 1681 of file partlist.c.
Definition at line 2105 of file partlist.c.
Referenced by clean_main().
|
static |
Definition at line 510 of file partlist.c.
|
static |
Definition at line 206 of file partlist.c.
VOID UpdateDiskLayout | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 1733 of file partlist.c.
NTSTATUS WritePartitions | ( | _In_ PDISKENTRY | DiskEntry | ) |
Definition at line 1481 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(), 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().