#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | UNALIGNED_SECTOR_ZERO |
Defines | |
#define | READ_SIZE 65536 |
#define | CSEC_FAT32MEG 65536 |
#define | CSEC_FAT16BIT 32680 |
#define | SYSID_FAT12BIT 1 |
#define | SYSID_FAT16BIT 4 |
#define | SYSID_FAT32MEG 6 |
#define | MIN_CLUS_BIG 4085 |
#define | MAX_CLUS_BIG 65525 |
Typedefs | |
typedef * | PUNALIGNED_SECTOR_ZERO |
Functions | |
ARC_STATUS | FmtIsFatPartition (IN ULONG PartitionId, IN ULONG SectorSize, OUT PBOOLEAN IsFatPartition) |
ARC_STATUS | FmtIsFat (IN PCHAR PartitionPath, OUT PBOOLEAN IsFatPartition) |
USHORT | ComputeSecPerCluster (IN ULONG NumSectors, IN BOOLEAN SmallFat) |
ULONG | ComputeNewSerialNumber (IN ULONG Seed) |
VOID | EditFat (IN USHORT ClusterNumber, IN USHORT ClusterEntry, IN OUT PUCHAR Fat, IN BOOLEAN SmallFat) |
ARC_STATUS | FmtFillFormatBuffer (IN ULONG NumberOfSectors, IN ULONG SectorSize, IN ULONG SectorsPerTrack, IN ULONG NumberOfHeads, IN ULONG NumberOfHiddenSectors, OUT PVOID FormatBuffer, IN ULONG FormatBufferSize, OUT PULONG SuperAreaSize, IN ULONG TimeSeed, IN PULONG BadSectorsList, IN ULONG NumberOfBadSectors) |
ARC_STATUS | FmtVerifySectors (IN ULONG PartitionId, IN ULONG NumberOfSectors, IN ULONG SectorSize, OUT PULONG *BadSectorsList, OUT PULONG NumberOfBadSectors) |
ARC_STATUS | FmtFatFormat (IN PCHAR PartitionPath, IN ULONG HiddenSectorCount) |
ARC_STATUS | FmtQueryFatPartitionList (OUT PCHAR **FatPartitionList, OUT PULONG ListLength) |
ARC_STATUS | FmtFreeFatPartitionList (IN OUT PCHAR *FatPartitionList, IN ULONG ListLength) |
|
Definition at line 32 of file fmtexp.c. Referenced by FmtFillFormatBuffer(). |
|
Definition at line 31 of file fmtexp.c. Referenced by FmtFillFormatBuffer(). |
|
Definition at line 37 of file fmtexp.c. Referenced by ComputeSecPerCluster(). |
|
Definition at line 36 of file fmtexp.c. Referenced by ComputeSecPerCluster(). |
|
Definition at line 4 of file fmtexp.c. Referenced by FmtVerifySectors(). |
|
Definition at line 33 of file fmtexp.c. Referenced by FmtFillFormatBuffer(). |
|
Definition at line 34 of file fmtexp.c. Referenced by FmtFillFormatBuffer(). |
|
Definition at line 35 of file fmtexp.c. Referenced by FmtFillFormatBuffer(). |
|
Referenced by FmtFillFormatBuffer(). |
|
Definition at line 190 of file fmtexp.c. References Seed. Referenced by FmtFillFormatBuffer().
|
|
Definition at line 146 of file fmtexp.c. References max, MAX_CLUS_BIG, MIN_CLUS_BIG, and USHORT. Referenced by FmtFillFormatBuffer().
|
|
Definition at line 225 of file fmtexp.c. Referenced by FmtFillFormatBuffer().
|
|
Definition at line 601 of file fmtexp.c. References AllocateMemory, ARC_STATUS, ArcClose, ArcGetTime, ArcOpen, ArcOpenReadWrite, ENOMEM, ESUCCESS, FmtFillFormatBuffer(), FmtVerifySectors(), FreeMemory, LowGetPartitionGeometry(), LowWriteSectors(), and NULL. Referenced by DoMakePartitionSystemPartition(), and DoSystemPartitionCreate().
|
|
Definition at line 273 of file fmtexp.c. References ComputeNewSerialNumber(), ComputeSecPerCluster(), CSEC_FAT16BIT, CSEC_FAT32MEG, E2BIG, EditFat(), EINVAL, EIO, ENOMEM, ESUCCESS, PUNALIGNED_SECTOR_ZERO, SectorSize, SYSID_FAT12BIT, SYSID_FAT16BIT, SYSID_FAT32MEG, and USHORT. Referenced by FmtFatFormat().
|
|
Definition at line 919 of file fmtexp.c. References LowFreePathList().
|
|
Definition at line 93 of file fmtexp.c. References ARC_STATUS, ArcClose, ArcOpen, ArcOpenReadOnly, ESUCCESS, FmtIsFatPartition(), and LowGetPartitionGeometry(). Referenced by DoMakePartitionSystemPartition(), and FmtQueryFatPartitionList().
|
|
Definition at line 42 of file fmtexp.c. References AllocateMemory, ARC_STATUS, Buffer, ENOMEM, ESUCCESS, FreeMemory, LowReadSectors(), and SectorSize. Referenced by FmtIsFat().
|
|
Definition at line 724 of file fmtexp.c. References AllocateMemory, ARC_STATUS, ArcClose, ArcOpen, ArcOpenReadOnly, CHAR, CONFIGURATION_TYPE, DiskPeripheral, EIO, ENOMEM, ESUCCESS, FmtIsFat(), FreeMemory, LowFreePathList(), LowQueryPathList(), NULL, sprintf(), and strlen().
|
|
Definition at line 495 of file fmtexp.c. References AllocateMemory, AlPrint(), ARC_STATUS, ENOMEM, ESUCCESS, FreeMemory, LowReadSectors(), MSGMARGIN, READ_SIZE, ReallocateMemory, and SectorSize. Referenced by FmtFatFormat().
|