#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | ARCDBG |
#define | CHANGED_DONT_ZAP ((BOOLEAN)(5)) |
Functions | |
ARC_STATUS | OpenDisks (VOID) |
VOID | CloseDisks (VOID) |
ARC_STATUS | GetGeometry (VOID) |
BOOLEAN | CheckIfDiskIsOffLine (IN ULONG Disk) |
ARC_STATUS | InitializePartitionLists (VOID) |
ARC_STATUS | GetRegions (IN ULONG Disk, IN PPARTITION p, IN BOOLEAN WantUsedRegions, IN BOOLEAN WantFreeRegions, IN BOOLEAN WantLogicalRegions, OUT PREGION_DESCRIPTOR *Region, OUT ULONG *RegionCount, IN REGION_TYPE RegionType) |
BOOLEAN | AddRegionEntry (IN OUT PREGION_DESCRIPTOR *Regions, IN OUT ULONG *RegionCount, IN ULONG SizeMB, IN REGION_TYPE RegionType, IN PPARTITION Partition, IN LARGE_INTEGER AlignedRegionOffset, IN LARGE_INTEGER AlignedRegionSize) |
VOID | AddPartitionToLinkedList (IN PARTITION **Head, IN PARTITION *p) |
BOOLEAN | IsInLinkedList (IN PPARTITION p, IN PPARTITION List) |
BOOLEAN | IsInLogicalList (IN ULONG Disk, IN PPARTITION p) |
BOOLEAN | IsInPartitionList (IN ULONG Disk, IN PPARTITION p) |
LARGE_INTEGER | AlignTowardsDiskStart (IN ULONG Disk, IN LARGE_INTEGER Offset) |
LARGE_INTEGER | AlignTowardsDiskEnd (IN ULONG Disk, IN LARGE_INTEGER Offset) |
VOID | FreeLinkedPartitionList (IN PARTITION **q) |
VOID | MergeFreePartitions (IN PPARTITION p) |
VOID | RenumberPartitions (ULONG Disk) |
VOID | FreePartitionInfoLinkedLists (IN PARTITION **ListHeadArray) |
LARGE_INTEGER | DiskLengthBytes (IN ULONG Disk) |
PPARTITION | AllocatePartitionStructure (IN ULONG Disk, IN LARGE_INTEGER Offset, IN LARGE_INTEGER Length, IN UCHAR SysID, IN BOOLEAN Update, IN BOOLEAN Active, IN BOOLEAN Recognized) |
ARC_STATUS | FdiskInitialize (VOID) |
VOID | FdiskCleanUp (VOID) |
VOID | DetermineCreateSizeAndOffset (IN PREGION_DESCRIPTOR Region, IN LARGE_INTEGER MinimumSize, IN ULONG CreationSizeMB, IN REGION_TYPE Type, OUT PLARGE_INTEGER CreationStart, OUT PLARGE_INTEGER CreationSize) |
ARC_STATUS | CreatePartitionEx (IN PREGION_DESCRIPTOR Region, IN LARGE_INTEGER MinimumSize, IN ULONG CreationSizeMB, IN REGION_TYPE Type, IN UCHAR SysId) |
ARC_STATUS | CreatePartition (IN PREGION_DESCRIPTOR Region, IN ULONG CreationSizeMB, IN REGION_TYPE Type) |
ARC_STATUS | DeletePartition (IN PREGION_DESCRIPTOR Region) |
ARC_STATUS | GetDiskRegions (IN ULONG Disk, IN BOOLEAN WantUsedRegions, IN BOOLEAN WantFreeRegions, IN BOOLEAN WantPrimaryRegions, IN BOOLEAN WantLogicalRegions, OUT PREGION_DESCRIPTOR *Region, OUT ULONG *RegionCount) |
BOOLEAN | AddRegionEntry (OUT PREGION_DESCRIPTOR *Regions, OUT ULONG *RegionCount, IN ULONG SizeMB, IN REGION_TYPE RegionType, IN PPARTITION Partition, IN LARGE_INTEGER AlignedRegionOffset, IN LARGE_INTEGER AlignedRegionSize) |
VOID | FreeRegionArray (IN PREGION_DESCRIPTOR Region, IN ULONG RegionCount) |
VOID | AddPartitionToLinkedList (IN OUT PARTITION **Head, IN PARTITION *p) |
VOID | RenumberPartitions (IN ULONG Disk) |
PPARTITION | FindPartitionElement (IN ULONG Disk, IN ULONG Partition) |
VOID | SetSysID (IN ULONG Disk, IN ULONG Partition, IN UCHAR SysID) |
VOID | SetSysID2 (IN PREGION_DESCRIPTOR Region, IN UCHAR SysID) |
ULONG | GetHiddenSectorCount (IN ULONG Disk, IN ULONG Partition) |
VOID | FreeLinkedPartitionList (IN OUT PPARTITION *q) |
VOID | FreePartitionInfoLinkedLists (IN PPARTITION *ListHeadArray) |
ARC_STATUS | InitializeFreeSpace (IN ULONG Disk, IN PPARTITION *PartitionList, IN LARGE_INTEGER StartOffset, IN LARGE_INTEGER Length) |
ARC_STATUS | InitializeLogicalVolumeList (IN ULONG Disk, IN PDRIVE_LAYOUT_INFORMATION DriveLayout, IN ULONG PartitionNumber) |
ARC_STATUS | InitializePrimaryPartitionList (IN ULONG Disk, IN PDRIVE_LAYOUT_INFORMATION DriveLayout, OUT PULONG NextPartitionNumber) |
ULONG | SIZEMB (IN LARGE_INTEGER ByteCount) |
ULONG | DiskSizeMB (IN ULONG Disk) |
BOOLEAN | IsExtended (IN UCHAR SysID) |
ARC_STATUS | IsAnyCreationAllowed (IN ULONG Disk, IN BOOLEAN AllowMultiplePrimaries, OUT PBOOLEAN AnyAllowed, OUT PBOOLEAN PrimaryAllowed, OUT PBOOLEAN ExtendedAllowed, OUT PBOOLEAN LogicalAllowed) |
ARC_STATUS | IsCreationOfPrimaryAllowed (IN ULONG Disk, IN BOOLEAN AllowMultiplePrimaries, OUT BOOLEAN *Allowed) |
ARC_STATUS | IsCreationOfExtendedAllowed (IN ULONG Disk, OUT BOOLEAN *Allowed) |
ARC_STATUS | IsCreationOfLogicalAllowed (IN ULONG Disk, OUT BOOLEAN *Allowed) |
ARC_STATUS | DoesAnyPartitionExist (IN ULONG Disk, OUT PBOOLEAN AnyExists, OUT PBOOLEAN PrimaryExists, OUT PBOOLEAN ExtendedExists, OUT PBOOLEAN LogicalExists) |
ARC_STATUS | DoesAnyPrimaryExist (IN ULONG Disk, OUT BOOLEAN *Exists) |
ARC_STATUS | DoesExtendedExist (IN ULONG Disk, OUT BOOLEAN *Exists) |
ARC_STATUS | DoesAnyLogicalExist (IN ULONG Disk, OUT BOOLEAN *Exists) |
ULONG | GetDiskCount (VOID) |
PCHAR | GetDiskName (ULONG Disk) |
PCHAR | GetSysIDName (UCHAR SysID) |
VOID | UnusedEntryFill (IN PPARTITION_INFORMATION pinfo, IN ULONG EntryCount) |
LARGE_INTEGER | MakeBootRec (ULONG Disk, PPARTITION_INFORMATION pinfo, PPARTITION pLogical, PPARTITION pNextLogical) |
ARC_STATUS | ZapSector (ULONG Disk, LARGE_INTEGER Offset) |
ARC_STATUS | WriteDriveLayout (IN ULONG Disk) |
ARC_STATUS | CommitPartitionChanges (IN ULONG Disk) |
BOOLEAN | HavePartitionsBeenChanged (IN ULONG Disk) |
VOID | FdMarkDiskDirty (IN ULONG Disk) |
VOID | FdSetPersistentData (IN PREGION_DESCRIPTOR Region, IN ULONG Data) |
ULONG | FdGetMinimumSizeMB (IN ULONG Disk) |
ULONG | FdGetMaximumSizeMB (IN PREGION_DESCRIPTOR Region, IN REGION_TYPE CreationType) |
LARGE_INTEGER | FdGetExactSize (IN PREGION_DESCRIPTOR Region, IN BOOLEAN ForExtended) |
LARGE_INTEGER | FdGetExactOffset (IN PREGION_DESCRIPTOR Region) |
BOOLEAN | FdCrosses1024Cylinder (IN PREGION_DESCRIPTOR Region, IN ULONG CreationSizeMB, IN REGION_TYPE RegionType) |
BOOLEAN | IsDiskOffLine (IN ULONG Disk) |
Variables | |
ULONG | CountOfDisks |
PCHAR * | DiskNames |
DISKGEOM * | DiskGeometryArray |
PPARTITION * | PrimaryPartitions |
PPARTITION * | LogicalVolumes |
PBOOLEAN | OffLine |
BOOLEAN * | ChangesMade |
char | UNKNOWN [] = "Unknown type" |
PCHAR | SysIDStrings [256] |
|
Definition at line 26 of file fdengine.c. |
|
Definition at line 55 of file fdengine.c. Referenced by SetSysID(), SetSysID2(), and WriteDriveLayout(). |
|
Definition at line 1051 of file fdengine.c. References _tagPARTITION::Next, NULL, _tagPARTITION::Offset, and _tagPARTITION::Prev. Referenced by CreatePartitionEx(), InitializeFreeSpace(), InitializeLogicalVolumeList(), and InitializePrimaryPartitionList().
|
|
|
|
Definition at line 965 of file fdengine.c. References _tagREGION_DESCRIPTOR::Active, _tagREGION_DATA::AlignedRegionOffset, _tagREGION_DATA::AlignedRegionSize, AllocateMemory, _tagREGION_DESCRIPTOR::Disk, FALSE, NULL, _tagREGION_DESCRIPTOR::OriginalPartitionNumber, _tagREGION_DATA::Partition, _tagREGION_DESCRIPTOR::PartitionNumber, _tagREGION_DESCRIPTOR::PersistentData, ReallocateMemory, _tagREGION_DESCRIPTOR::Recognized, _tagREGION_DESCRIPTOR::RegionType, _tagREGION_DESCRIPTOR::Reserved, _tagREGION_DESCRIPTOR::SizeMB, _tagREGION_DESCRIPTOR::SysID, and TRUE. Referenced by GetRegions().
|
|
|
|
Definition at line 2073 of file fdengine.c. References AlignTowardsDiskStart(), _tagDISKGEOM::BytesPerCylinder, DiskGeometryArray, and Offset. Referenced by GetRegions().
|
|
Definition at line 2038 of file fdengine.c. References _tagDISKGEOM::BytesPerCylinder, DiskGeometryArray, and Offset. Referenced by AlignTowardsDiskEnd(), and GetRegions().
|
|
Definition at line 1541 of file fdengine.c. References Active, _tagPARTITION::Active, AllocateMemory, _tagPARTITION::Disk, _tagPARTITION::Length, _tagPARTITION::Next, NULL, Offset, _tagPARTITION::Offset, _tagPARTITION::OriginalPartitionNumber, _tagPARTITION::PartitionNumber, _tagPARTITION::PersistentData, _tagPARTITION::Prev, _tagPARTITION::Recognized, _tagPARTITION::SysID, and _tagPARTITION::Update. Referenced by CreatePartitionEx(), InitializeFreeSpace(), InitializeLogicalVolumeList(), and InitializePrimaryPartitionList().
|
|
Definition at line 302 of file fdengine.c. References FALSE, GetDiskName(), Handle, LowCloseDisk(), LowOpenDisk(), OK_STATUS, and TRUE. Referenced by FdiskInitialize().
|
|
|
|
Definition at line 3063 of file fdengine.c. References ARC_STATUS, ASRT, ChangesMade, FALSE, HavePartitionsBeenChanged(), LogicalVolumes, _tagPARTITION::Next, OffLine, OK_STATUS, _tagPARTITION::OriginalPartitionNumber, _tagPARTITION::PartitionNumber, PrimaryPartitions, _tagPARTITION::Update, and WriteDriveLayout(). Referenced by DoPartitionCreate(), and DoPartitionDelete().
|
|
Definition at line 698 of file fdengine.c. References CreatePartitionEx(), REGION_EXTENDED, SYSID_BIGFAT, and SYSID_EXTENDED. Referenced by DoPartitionCreate().
|
|
Definition at line 549 of file fdengine.c. References AddPartitionToLinkedList(), AllocatePartitionStructure(), ASRT, ChangesMade, DetermineCreateSizeAndOffset(), _tagPARTITION::Disk, FALSE, _tagPARTITION::Length, LogicalVolumes, MergeFreePartitions(), NULL, _tagPARTITION::Offset, OK_STATUS, _tagREGION_DATA::Partition, PrimaryPartitions, _tagPARTITION::Recognized, REGION_EXTENDED, REGION_LOGICAL, RenumberPartitions(), RETURN_OUT_OF_MEMORY, _tagPARTITION::SysID, SYSID_UNUSED, TRUE, and _tagPARTITION::Update. Referenced by CreatePartition().
|
|
Definition at line 721 of file fdengine.c. References _tagPARTITION::Active, ASRT, ChangesMade, _tagPARTITION::Disk, FALSE, FreeLinkedPartitionList(), IsExtended(), IsInLogicalList(), IsInPartitionList(), LogicalVolumes, MergeFreePartitions(), OK_STATUS, _tagPARTITION::OriginalPartitionNumber, _tagREGION_DATA::Partition, PrimaryPartitions, REGION_LOGICAL, RenumberPartitions(), _tagPARTITION::SysID, SYSID_UNUSED, TRUE, and _tagPARTITION::Update. Referenced by DoPartitionDelete().
|
|
Definition at line 429 of file fdengine.c. References _tagREGION_DATA::AlignedRegionOffset, _tagREGION_DATA::AlignedRegionSize, ASRT, _tagDISKGEOM::BytesPerCylinder, _tagDISKGEOM::BytesPerTrack, DiskGeometryArray, ONE_MEG, REGION_EXTENDED, REGION_LOGICAL, REGION_PRIMARY, and SYSID_UNUSED. Referenced by CreatePartitionEx(), and FdCrosses1024Cylinder().
|
|
Definition at line 1940 of file fdengine.c. References _tagDISKGEOM::BytesPerCylinder, _tagDISKGEOM::Cylinders, and DiskGeometryArray. Referenced by DiskSizeMB(), and InitializePrimaryPartitionList().
|
|
Definition at line 2011 of file fdengine.c. References DiskLengthBytes(), and SIZEMB().
|
|
Definition at line 2546 of file fdengine.c. References ARC_STATUS, FreeRegionArray(), GetUsedLogicalDiskRegions, and OK_STATUS. Referenced by DoesAnyPartitionExist().
|
|
Definition at line 2394 of file fdengine.c. References ARC_STATUS, DoesAnyLogicalExist(), DoesAnyPrimaryExist(), DoesExtendedExist(), and OK_STATUS. Referenced by DoPartitionDelete().
|
|
Definition at line 2446 of file fdengine.c. References ARC_STATUS, ASRT, FALSE, FreeRegionArray(), GetUsedPrimaryDiskRegions, IsExtended(), OK_STATUS, REGION_LOGICAL, SYSID_UNUSED, and TRUE. Referenced by DoesAnyPartitionExist(), and DoPartitionCreate().
|
|
Definition at line 2496 of file fdengine.c. References ARC_STATUS, ASRT, FALSE, FreeRegionArray(), GetUsedPrimaryDiskRegions, IsExtended(), OK_STATUS, REGION_LOGICAL, SYSID_UNUSED, and TRUE. Referenced by DoesAnyPartitionExist(), and IsCreationOfLogicalAllowed().
|
|
Definition at line 3324 of file fdengine.c. References _tagDISKGEOM::BytesPerCylinder, DetermineCreateSizeAndOffset(), DiskGeometryArray, End, Size, Start, and SYSID_UNUSED.
|
|
Definition at line 3281 of file fdengine.c. References _tagDISKGEOM::BytesPerTrack, DiskGeometryArray, Offset, REGION_LOGICAL, and SYSID_UNUSED.
|
|
Definition at line 3231 of file fdengine.c. References _tagREGION_DATA::AlignedRegionOffset, _tagREGION_DATA::AlignedRegionSize, _tagDISKGEOM::BytesPerCylinder, _tagDISKGEOM::BytesPerTrack, DiskGeometryArray, REGION_LOGICAL, and SYSID_UNUSED.
|
|
Definition at line 3203 of file fdengine.c. References _tagREGION_DATA::AlignedRegionOffset, _tagREGION_DATA::AlignedRegionSize, ASRT, _tagDISKGEOM::BytesPerCylinder, _tagDISKGEOM::BytesPerTrack, DiskGeometryArray, REGION_EXTENDED, REGION_PRIMARY, SIZEMB(), and SYSID_UNUSED.
|
|
Definition at line 3172 of file fdengine.c. References _tagDISKGEOM::BytesPerCylinder, DiskGeometryArray, max, and SIZEMB().
|
|
Definition at line 258 of file fdengine.c. References ChangesMade, CountOfDisks, DiskGeometryArray, DiskNames, FreeMemory, FreePartitionInfoLinkedLists(), LogicalVolumes, LowFreeFdiskPathList(), NULL, OffLine, and PrimaryPartitions.
|
|
Definition at line 183 of file fdengine.c. References AllocateMemory, AlPrint(), ARC_STATUS, ChangesMade, CheckIfDiskIsOffLine(), CountOfDisks, DiskGeometryArray, DiskNames, ENODEV, FALSE, GetGeometry(), InitializePartitionLists(), LogicalVolumes, LowQueryFdiskPathList(), NULL, OffLine, OK_STATUS, PPARTITION, PrimaryPartitions, and RETURN_OUT_OF_MEMORY. Referenced by main().
|
|
Definition at line 3152 of file fdengine.c. References ASRT, ChangesMade, OffLine, and TRUE.
|
|
Definition at line 3162 of file fdengine.c.
|
|
Definition at line 1312 of file fdengine.c. References ASRT, IsExtended(), LogicalVolumes, _tagPARTITION::Next, NULL, _tagPARTITION::PartitionNumber, PrimaryPartitions, _tagPARTITION::SysID, and SYSID_UNUSED. Referenced by GetHiddenSectorCount(), and SetSysID().
|
|
Definition at line 1473 of file fdengine.c. References FreeMemory, n, _tagPARTITION::Next, and NULL. Referenced by DeletePartition(), FreePartitionInfoLinkedLists(), InitializeLogicalVolumeList(), and InitializePrimaryPartitionList().
|
|
|
|
Definition at line 1508 of file fdengine.c. References CountOfDisks, and FreeLinkedPartitionList(). Referenced by FdiskCleanUp().
|
|
|
|
Definition at line 1013 of file fdengine.c. References FreeMemory. Referenced by DoesAnyLogicalExist(), DoesAnyPrimaryExist(), DoesExtendedExist(), DoMakePartitionSystemPartition(), DoPartitionCreate(), DoPartitionDelete(), IsCreationOfExtendedAllowed(), IsCreationOfLogicalAllowed(), and IsCreationOfPrimaryAllowed().
|
|
Definition at line 2587 of file fdengine.c. References CountOfDisks. Referenced by ChooseDisk(), and ConfigureSystemPartitions().
|
|
Definition at line 2615 of file fdengine.c. References DiskNames. Referenced by CheckIfDiskIsOffLine(), ChooseDisk(), DoMakePartitionSystemPartition(), DoPartitionCreate(), DoPartitionDelete(), DoSystemPartitionCreate(), IsBootSelectionPartition(), and ZapSector().
|
|
Definition at line 780 of file fdengine.c. References AllocateMemory, FALSE, GetRegions(), LogicalVolumes, OK_STATUS, PrimaryPartitions, REGION_LOGICAL, and REGION_PRIMARY.
|
|
Definition at line 342 of file fdengine.c. References ARC_STATUS, _tagDISKGEOM::BytesPerCylinder, _tagDISKGEOM::BytesPerSector, _tagDISKGEOM::BytesPerTrack, CountOfDisks, _tagDISKGEOM::Cylinders, DiskGeometryArray, DiskNames, _tagDISKGEOM::Heads, LowGetDriveGeometry(), OffLine, OK_STATUS, SectorSize, and _tagDISKGEOM::SectorsPerTrack. Referenced by FdiskInitialize().
|
|
Definition at line 1425 of file fdengine.c. References ASRT, _tagDISKGEOM::BytesPerSector, DiskGeometryArray, FindPartitionElement(), IsInLogicalList(), IsInPartitionList(), LOWPART, _tagPARTITION::Offset, and _tagDISKGEOM::SectorsPerTrack. Referenced by DoMakePartitionSystemPartition(), and DoSystemPartitionCreate().
|
|
Definition at line 859 of file fdengine.c. References AddRegionEntry(), AlignTowardsDiskEnd(), AlignTowardsDiskStart(), ARC_STATUS, _tagDISKGEOM::BytesPerCylinder, DiskGeometryArray, FALSE, IsExtended(), LogicalVolumes, OK_STATUS, REGION_LOGICAL, RETURN_OUT_OF_MEMORY, SIZEMB(), and SYSID_UNUSED. Referenced by GetDiskRegions().
|
|
Definition at line 2719 of file fdengine.c. References SysIDStrings. Referenced by DoMakePartitionSystemPartition(), and DoPartitionDelete().
|
|
Definition at line 3121 of file fdengine.c. References ASRT, ChangesMade, and OffLine. Referenced by CommitPartitionChanges().
|
|
Definition at line 1607 of file fdengine.c. References AddPartitionToLinkedList(), AllocatePartitionStructure(), FALSE, _tagPARTITION::Length, _tagPARTITION::Next, _tagPARTITION::Offset, OK_STATUS, RETURN_OUT_OF_MEMORY, Size, Start, and SYSID_UNUSED. Referenced by InitializeLogicalVolumeList(), and InitializePrimaryPartitionList().
|
|
Definition at line 1708 of file fdengine.c. References AddPartitionToLinkedList(), AllocatePartitionStructure(), _tagDISKGEOM::BytesPerSector, DiskGeometryArray, ENTRIES_PER_BOOTSECTOR, FALSE, FreeLinkedPartitionList(), InitializeFreeSpace(), IsExtended(), _tagPARTITION::Length, LogicalVolumes, _tagPARTITION::Next, _tagPARTITION::Offset, OK_STATUS, _tagPARTITION::OriginalPartitionNumber, PrimaryPartitions, RETURN_OUT_OF_MEMORY, _tagPARTITION::SysID, SYSID_EXTENDED, and SYSID_UNUSED. Referenced by InitializePartitionLists().
|
|
Definition at line 1882 of file fdengine.c. References ARC_STATUS, CountOfDisks, DiskNames, FreeMemory, InitializeLogicalVolumeList(), InitializePrimaryPartitionList(), LowGetDiskLayout(), OffLine, OK_STATUS, and RenumberPartitions(). Referenced by FdiskInitialize().
|
|
Definition at line 1801 of file fdengine.c. References AddPartitionToLinkedList(), AllocatePartitionStructure(), DiskLengthBytes(), ENTRIES_PER_BOOTSECTOR, FALSE, FreeLinkedPartitionList(), InitializeFreeSpace(), IsExtended(), _tagPARTITION::OriginalPartitionNumber, PrimaryPartitions, RETURN_OUT_OF_MEMORY, _tagPARTITION::SysID, and SYSID_UNUSED. Referenced by InitializePartitionLists().
|
|
Definition at line 2141 of file fdengine.c. References ARC_STATUS, IsCreationOfExtendedAllowed(), IsCreationOfLogicalAllowed(), IsCreationOfPrimaryAllowed(), and OK_STATUS. Referenced by DoPartitionCreate().
|
|
Definition at line 2272 of file fdengine.c. References ARC_STATUS, ASRT, ENTRIES_PER_BOOTSECTOR, FALSE, FreeRegionArray(), GetPrimaryDiskRegions, IsExtended(), OK_STATUS, REGION_LOGICAL, _tagREGION_DESCRIPTOR::SysID, and SYSID_UNUSED. Referenced by IsAnyCreationAllowed().
|
|
Definition at line 2333 of file fdengine.c. References ARC_STATUS, ASRT, DoesExtendedExist(), FALSE, FreeRegionArray(), GetLogicalDiskRegions, OK_STATUS, REGION_LOGICAL, _tagREGION_DESCRIPTOR::SysID, SYSID_UNUSED, and TRUE. Referenced by IsAnyCreationAllowed().
|
|
Definition at line 2198 of file fdengine.c. References ARC_STATUS, ASRT, ENTRIES_PER_BOOTSECTOR, FALSE, FreeRegionArray(), GetPrimaryDiskRegions, IsExtended(), OK_STATUS, _tagREGION_DESCRIPTOR::Recognized, REGION_LOGICAL, _tagREGION_DESCRIPTOR::SysID, SYSID_UNUSED, and TRUE. Referenced by IsAnyCreationAllowed().
|
|
Definition at line 3389 of file fdengine.c. References OffLine.
|
|
Definition at line 2114 of file fdengine.c. References SYSID_EXTENDED. Referenced by DeletePartition(), DoesAnyPrimaryExist(), DoesExtendedExist(), DoMakePartitionSystemPartition(), DoPartitionDelete(), FindPartitionElement(), GetRegions(), InitializeLogicalVolumeList(), InitializePrimaryPartitionList(), IsCreationOfExtendedAllowed(), IsCreationOfPrimaryAllowed(), RenumberPartitions(), and WriteDriveLayout().
|
|
Definition at line 1113 of file fdengine.c. References FALSE, List, and TRUE. Referenced by IsInLogicalList(), and IsInPartitionList().
|
|
Definition at line 1149 of file fdengine.c. References IsInLinkedList(), and LogicalVolumes. Referenced by DeletePartition(), and GetHiddenSectorCount().
|
|
Definition at line 1179 of file fdengine.c. References IsInLinkedList(), and PrimaryPartitions. Referenced by DeletePartition(), and GetHiddenSectorCount().
|
|
Definition at line 2771 of file fdengine.c. References _tagPARTITION::Active, _tagDISKGEOM::BytesPerTrack, DiskGeometryArray, ENTRIES_PER_BOOTSECTOR, FALSE, _tagPARTITION::Length, _tagPARTITION::Offset, _tagDISKGEOM::SectorsPerTrack, _tagPARTITION::SysID, SYSID_EXTENDED, TRUE, UnusedEntryFill(), and _tagPARTITION::Update. Referenced by WriteDriveLayout().
|
|
Definition at line 1209 of file fdengine.c. References FreeMemory, _tagPARTITION::Length, _tagPARTITION::Next, _tagPARTITION::Offset, _tagPARTITION::Prev, and SYSID_UNUSED. Referenced by CreatePartitionEx(), and DeletePartition().
|
|
|
|
Definition at line 1257 of file fdengine.c. References IsExtended(), LogicalVolumes, n, _tagPARTITION::Next, _tagPARTITION::PartitionNumber, PrimaryPartitions, _tagPARTITION::SysID, and SYSID_UNUSED. Referenced by CreatePartitionEx(), DeletePartition(), and InitializePartitionLists().
|
|
|
|
Definition at line 1366 of file fdengine.c. References ASRT, CHANGED_DONT_ZAP, ChangesMade, _tagPARTITION::Disk, FindPartitionElement(), _tagPARTITION::SysID, TRUE, and _tagPARTITION::Update. Referenced by DoMakePartitionSystemPartition(), and DoSystemPartitionCreate().
|
|
Definition at line 1409 of file fdengine.c. References CHANGED_DONT_ZAP, ChangesMade, _tagPARTITION::Disk, _tagPARTITION::SysID, TRUE, and _tagPARTITION::Update.
|
|
Definition at line 1972 of file fdengine.c. References ONE_MEG. Referenced by DiskSizeMB(), FdGetMaximumSizeMB(), FdGetMinimumSizeMB(), and GetRegions().
|
|
Definition at line 2748 of file fdengine.c. References FALSE, SYSID_UNUSED, TRUE, and Zero. Referenced by MakeBootRec(), and WriteDriveLayout().
|
|
Definition at line 2886 of file fdengine.c. References _tagPARTITION::Active, AllocateMemory, ARC_STATUS, ASRT, CHANGED_DONT_ZAP, DiskNames, ENTRIES_PER_BOOTSECTOR, FreeMemory, IsExtended(), _tagPARTITION::Length, LogicalVolumes, LowSetDiskLayout(), MakeBootRec(), n, _tagPARTITION::Next, NULL, _tagPARTITION::Offset, OK_STATUS, PrimaryPartitions, RETURN_OUT_OF_MEMORY, _tagPARTITION::SysID, SYSID_UNUSED, UnusedEntryFill(), _tagPARTITION::Update, and ZapSector(). Referenced by CommitPartitionChanges().
|
|
Definition at line 2823 of file fdengine.c. References AllocateMemory, ARC_STATUS, _tagDISKGEOM::BytesPerSector, DiskGeometryArray, FreeMemory, GetDiskName(), Handle, LowCloseDisk(), LowOpenDisk(), LOWPART, LowWriteSectors(), NULL, Offset, OK_STATUS, RETURN_OUT_OF_MEMORY, and SectorSize. Referenced by WriteDriveLayout().
|
|
Definition at line 48 of file fdengine.c. Referenced by CommitPartitionChanges(), CreatePartitionEx(), DeletePartition(), FdiskCleanUp(), FdiskInitialize(), FdMarkDiskDirty(), HavePartitionsBeenChanged(), NtAdjustGroupsToken(), NtAdjustPrivilegesToken(), SetSysID(), and SetSysID2(). |
|
Definition at line 30 of file fdengine.c. Referenced by FdiskCleanUp(), FdiskInitialize(), FreePartitionInfoLinkedLists(), GetDiskCount(), GetGeometry(), and InitializePartitionLists(). |
|
|
Definition at line 31 of file fdengine.c. Referenced by FdiskCleanUp(), FdiskInitialize(), GetDiskName(), GetGeometry(), InitializePartitionLists(), and WriteDriveLayout(). |
|
Definition at line 37 of file fdengine.c. Referenced by CommitPartitionChanges(), CreatePartitionEx(), DeletePartition(), FdiskCleanUp(), FdiskInitialize(), FindPartitionElement(), GetDiskRegions(), GetRegions(), InitializeLogicalVolumeList(), IsInLogicalList(), RenumberPartitions(), and WriteDriveLayout(). |
|
Definition at line 43 of file fdengine.c. Referenced by CommitPartitionChanges(), FdiskCleanUp(), FdiskInitialize(), FdMarkDiskDirty(), GetGeometry(), HavePartitionsBeenChanged(), InitializePartitionLists(), and IsDiskOffLine(). |
|
Definition at line 37 of file fdengine.c. Referenced by CommitPartitionChanges(), CreatePartitionEx(), DeletePartition(), FdiskCleanUp(), FdiskInitialize(), FindPartitionElement(), GetDiskRegions(), InitializeLogicalVolumeList(), InitializePrimaryPartitionList(), IsInPartitionList(), RenumberPartitions(), and WriteDriveLayout(). |
|
Definition at line 2646 of file fdengine.c. Referenced by GetSysIDName(). |
|
Definition at line 2644 of file fdengine.c. |