Fs_t Struct Reference

#include <fsP.h>

Collaboration diagram for Fs_t:

Collaboration graph
[legend]

Data Fields

Class_tClass
int refs
Stream_tNext
Stream_tBuffer
int serialized
unsigned long serial_number
int cluster_size
unsigned int sector_size
int fat_error
unsigned int(* fat_decode )(struct Fs_t *This, unsigned int num)
void(* fat_encode )(struct Fs_t *This, unsigned int num, unsigned int code)
Stream_tDirect
int fat_dirty
unsigned int fat_start
unsigned int fat_len
int num_fat
unsigned int end_fat
unsigned int last_fat
int fat_bits
FatMap_tFatMap
int dir_start
int dir_len
int clus_start
int num_clus
char * drive
unsigned int primaryFat
unsigned int writeAllFats
unsigned int rootCluster
int infoSectorLoc
unsigned int last
unsigned int freeSpace
int preallocatedClusters
int lastFatSectorNr
unsigned char * lastFatSectorData
fatAccessMode_t lastFatAccessMode
int sectorMask
int sectorShift

Detailed Description

Definition at line 13 of file fsP.h.


Field Documentation

Stream_t* Fs_t::Buffer
 

Definition at line 17 of file fsP.h.

Class_t* Fs_t::Class
 

Definition at line 14 of file fsP.h.

Referenced by mformat().

int Fs_t::clus_start
 

Definition at line 42 of file fsP.h.

Referenced by check_media_type(), fat_32_read(), and old_fat_read().

int Fs_t::cluster_size
 

Definition at line 21 of file fsP.h.

Referenced by calc_cluster_size(), calc_fat_size(), calc_fs_parameters(), calc_fs_parameters_32(), check_media_type(), mformat(), normal_map(), recalcPreallocSize(), and xdf_calc_fat_size().

int Fs_t::dir_len
 

Definition at line 41 of file fsP.h.

Referenced by calc_cluster_size(), calc_fat_bits2(), calc_fat_size(), calc_fs_parameters(), calc_fs_parameters_32(), mformat(), old_fat_read(), OpenRoot(), root_map(), and xdf_calc_fat_size().

int Fs_t::dir_start
 

Definition at line 40 of file fsP.h.

Referenced by old_fat_read().

Stream_t* Fs_t::Direct
 

Definition at line 29 of file fsP.h.

Referenced by mformat().

char* Fs_t::drive
 

Definition at line 45 of file fsP.h.

unsigned int Fs_t::end_fat
 

Definition at line 35 of file fsP.h.

Referenced by fatAppend(), normal_map(), set_fat12(), set_fat16(), and set_fat32().

int Fs_t::fat_bits
 

Definition at line 37 of file fsP.h.

Referenced by calc_fat_size(), calc_fs_parameters(), set_fat12(), set_fat16(), set_fat32(), and zero_fat().

unsigned int(* Fs_t::fat_decode)(struct Fs_t *This, unsigned int num)
 

Referenced by check_fat(), fatDecode(), fatEncode(), set_fat12(), set_fat16(), and set_fat32().

int Fs_t::fat_dirty
 

Definition at line 30 of file fsP.h.

Referenced by fat_read(), and fat_write().

void(* Fs_t::fat_encode)(struct Fs_t *This, unsigned int num, unsigned int code)
 

Referenced by fatAllocate(), fatAppend(), fatDeallocate(), fatEncode(), set_fat12(), set_fat16(), and set_fat32().

int Fs_t::fat_error
 

Definition at line 23 of file fsP.h.

Referenced by fat_read(), fat_write(), fatDecode(), and GetFatMap().

unsigned int Fs_t::fat_len
 

Definition at line 32 of file fsP.h.

Referenced by calc_fat_size(), calc_fs_parameters(), calc_fs_parameters_32(), check_fat(), fat_32_read(), fat_read(), fat_write(), fatReadSector(), fatWriteSector(), GetFatMap(), loadSector(), locate(), mformat(), old_fat_read(), xdf_calc_fat_size(), and zero_fat().

unsigned int Fs_t::fat_start
 

Definition at line 31 of file fsP.h.

Referenced by calc_cluster_size(), calc_fat_bits2(), calc_fat_size(), fat_32_read(), fat_write(), fatReadSector(), fatWriteSector(), old_fat_read(), xdf_calc_fat_size(), and zero_fat().

struct FatMap_t* Fs_t::FatMap
 

Definition at line 38 of file fsP.h.

Referenced by check_media_type(), fat_write(), fatReadSector(), fatWriteSector(), and loadSector().

unsigned int Fs_t::freeSpace
 

Definition at line 53 of file fsP.h.

Referenced by fat_32_read(), fat_read(), fatAllocate(), fatAppend(), fatDeallocate(), and fatEncode().

int Fs_t::infoSectorLoc
 

Definition at line 51 of file fsP.h.

Referenced by fat_32_read(), and old_fat_read().

unsigned int Fs_t::last
 

Definition at line 52 of file fsP.h.

Referenced by fat_32_read(), fat_read(), and get_next_free_cluster().

unsigned int Fs_t::last_fat
 

Definition at line 36 of file fsP.h.

Referenced by check_fat(), normal_map(), set_fat12(), set_fat16(), and set_fat32().

fatAccessMode_t Fs_t::lastFatAccessMode
 

Definition at line 58 of file fsP.h.

Referenced by getAddress().

unsigned char* Fs_t::lastFatSectorData
 

Definition at line 57 of file fsP.h.

Referenced by fat_read(), and getAddress().

int Fs_t::lastFatSectorNr
 

Definition at line 56 of file fsP.h.

Referenced by fat_read(), and getAddress().

Stream_t* Fs_t::Next
 

Definition at line 16 of file fsP.h.

Referenced by forceReadSector(), forceWriteSector(), readSector(), and writeSector().

int Fs_t::num_clus
 

Definition at line 44 of file fsP.h.

Referenced by calc_fat_size(), calc_fs_parameters_32(), check_fat(), check_media_type(), fat12_decode(), fatDecode(), get_next_free_cluster(), normal_map(), old_fat_read(), and xdf_calc_fat_size().

int Fs_t::num_fat
 

Definition at line 34 of file fsP.h.

Referenced by calc_cluster_size(), comp_fat_bits(), fat_32_read(), fat_write(), fatReadSector(), fatWriteSector(), loadSector(), old_fat_read(), and zero_fat().

int Fs_t::preallocatedClusters
 

Definition at line 54 of file fsP.h.

Referenced by free_file().

unsigned int Fs_t::primaryFat
 

Definition at line 48 of file fsP.h.

Referenced by fat_32_read(), fatReadSector(), fatWriteSector(), and old_fat_read().

int Fs_t::refs
 

Definition at line 15 of file fsP.h.

Referenced by mformat().

unsigned int Fs_t::rootCluster
 

Definition at line 50 of file fsP.h.

Referenced by fat_32_read().

unsigned int Fs_t::sector_size
 

Definition at line 22 of file fsP.h.

Referenced by calc_cluster_size(), comp_fat_bits(), fat_32_read(), fatWriteSector(), format_root(), loadSector(), normal_map(), OpenRoot(), recalcPreallocSize(), root_map(), and zero_fat().

int Fs_t::sectorMask
 

Definition at line 59 of file fsP.h.

Referenced by getAddress().

int Fs_t::sectorShift
 

Definition at line 60 of file fsP.h.

Referenced by fatReadSector(), and getAddress().

unsigned long Fs_t::serial_number
 

Definition at line 20 of file fsP.h.

int Fs_t::serialized
 

Definition at line 19 of file fsP.h.

unsigned int Fs_t::writeAllFats
 

Definition at line 49 of file fsP.h.

Referenced by fat_32_read(), fatWriteSector(), and old_fat_read().


The documentation for this struct was generated from the following file:
Generated on Fri Apr 14 23:23:16 2006 for minix by  doxygen 1.4.6