ReactOS 0.4.16-dev-1-gcf26321
|
Go to the source code of this file.
Classes | |
struct | _FAT_VOLUME_INFO |
struct | _DIRECTORY_BUFFER |
Macros | |
#define | FAT_IS_END_CLUSTER(clnumber) |
#define | TAG_FAT_CHAIN 'CtaT' |
#define | TAG_FAT_FILE 'FtaF' |
#define | TAG_FAT_VOLUME 'VtaF' |
#define | TAG_FAT_BUFFER 'BtaF' |
#define | TAG_FAT_CACHE 'HtaF' |
#define | FAT_MAX_CACHE_SIZE (256 * 1024) |
Typedefs | |
typedef struct _FAT_VOLUME_INFO | FAT_VOLUME_INFO |
typedef struct _DIRECTORY_BUFFER | DIRECTORY_BUFFER |
typedef struct _DIRECTORY_BUFFER * | PDIRECTORY_BUFFER |
Variables | |
PFAT_VOLUME_INFO | FatVolumes [MAX_FDS] |
LIST_ENTRY | DirectoryBufferListHead = {&DirectoryBufferListHead, &DirectoryBufferListHead} |
const DEVVTBL | FatFuncTable |
const DEVVTBL | FatXFuncTable |
#define FAT_IS_END_CLUSTER | ( | clnumber | ) |
typedef struct _DIRECTORY_BUFFER DIRECTORY_BUFFER |
typedef struct _FAT_VOLUME_INFO FAT_VOLUME_INFO |
typedef struct _DIRECTORY_BUFFER * PDIRECTORY_BUFFER |
DBG_DEFAULT_CHANNEL | ( | FILESYSTEM | ) |
PVOID FatBufferDirectory | ( | PFAT_VOLUME_INFO | Volume, |
ULONG | DirectoryStartCluster, | ||
ULONG * | EntryCountPointer, | ||
BOOLEAN | RootDirectory | ||
) |
Definition at line 419 of file fat.c.
Referenced by FatLookupFile().
ARC_STATUS FatClose | ( | ULONG | FileId | ) |
Definition at line 1394 of file fat.c.
|
static |
Definition at line 1041 of file fat.c.
Referenced by FatBufferDirectory().
ULONG FatDetermineFatType | ( | PFAT_BOOTSECTOR | FatBootSector, |
ULONGLONG | PartitionSectorCount | ||
) |
Definition at line 353 of file fat.c.
Referenced by FatOpenVolume().
|
static |
Definition at line 951 of file fat.c.
Referenced by FatCountClustersInChain(), FatReadAdjacentClusters(), FatReadFile(), and FatSeek().
|
static |
Reads 1-4 sectors from FAT using the cache.
Definition at line 913 of file fat.c.
Referenced by FatGetFatEntry().
ARC_STATUS FatGetFileInformation | ( | ULONG | FileId, |
FILEINFORMATION * | Information | ||
) |
ARC_STATUS FatLookupFile | ( | PFAT_VOLUME_INFO | Volume, |
PCSTR | FileName, | ||
PFAT_FILE_INFO | FatFileInfoPointer | ||
) |
Definition at line 774 of file fat.c.
Referenced by FatOpen().
Definition at line 1560 of file fat.c.
ARC_STATUS FatOpen | ( | CHAR * | Path, |
OPENMODE | OpenMode, | ||
ULONG * | FileId | ||
) |
Definition at line 1417 of file fat.c.
BOOLEAN FatOpenVolume | ( | PFAT_VOLUME_INFO | Volume, |
PFAT_BOOTSECTOR | BootSector, | ||
ULONGLONG | PartitionSectorCount | ||
) |
Definition at line 138 of file fat.c.
Referenced by FatMount().
Definition at line 866 of file fat.c.
Referenced by FatSearchDirectoryBufferForFile().
ARC_STATUS FatRead | ( | ULONG | FileId, |
VOID * | Buffer, | ||
ULONG | N, | ||
ULONG * | Count | ||
) |
Definition at line 1459 of file fat.c.
|
static |
Definition at line 1077 of file fat.c.
Referenced by FatReadClusterChain().
|
static |
Definition at line 1125 of file fat.c.
Referenced by FatBufferDirectory(), and FatReadFile().
|
static |
Definition at line 1196 of file fat.c.
Referenced by FatRead().
BOOLEAN FatReadPartialCluster | ( | PFAT_VOLUME_INFO | Volume, |
ULONG | ClusterNumber, | ||
ULONG | StartingOffset, | ||
ULONG | Length, | ||
PVOID | Buffer | ||
) |
Definition at line 1152 of file fat.c.
Referenced by FatReadFile().
BOOLEAN FatReadVolumeSectors | ( | PFAT_VOLUME_INFO | Volume, |
ULONG | SectorNumber, | ||
ULONG | SectorCount, | ||
PVOID | Buffer | ||
) |
Definition at line 1360 of file fat.c.
Referenced by FatBufferDirectory(), FatGetFatSector(), FatOpenVolume(), FatReadAdjacentClusters(), and FatReadPartialCluster().
BOOLEAN FatSearchDirectoryBufferForFile | ( | PFAT_VOLUME_INFO | Volume, |
PVOID | DirectoryBuffer, | ||
ULONG | EntryCount, | ||
PCHAR | FileName, | ||
PFAT_FILE_INFO | FatFileInfoPointer | ||
) |
Definition at line 506 of file fat.c.
Referenced by FatLookupFile().
ARC_STATUS FatSeek | ( | ULONG | FileId, |
LARGE_INTEGER * | Position, | ||
SEEKMODE | SeekMode | ||
) |
Definition at line 1478 of file fat.c.
Definition at line 102 of file fat.c.
Referenced by FatSearchDirectoryBufferForFile().
VOID FatSwapFat32BootSector | ( | PFAT32_BOOTSECTOR | Obj | ) |
VOID FatSwapFatBootSector | ( | PFAT_BOOTSECTOR | Obj | ) |
VOID FatSwapFatXBootSector | ( | PFATX_BOOTSECTOR | Obj | ) |
VOID FatSwapFatXDirEntry | ( | PFATX_DIRENTRY | Obj | ) |
VOID FatSwapLFNDirEntry | ( | PLFN_DIRENTRY | Obj | ) |
|
static |
Definition at line 711 of file fat.c.
Referenced by FatLookupFile().
LIST_ENTRY DirectoryBufferListHead = {&DirectoryBufferListHead, &DirectoryBufferListHead} |
Definition at line 417 of file fat.c.
Referenced by FatBufferDirectory().
Definition at line 1540 of file fat.c.
Referenced by FatMount().
PFAT_VOLUME_INFO FatVolumes[MAX_FDS] |
Definition at line 58 of file fat.c.
Referenced by FatMount(), and FatOpen().