Definition at line 184 of file phatvol.h.
Data Fields | |
int | vol_type |
Type of volume. | |
u_long | vol_numfree |
Number of free clusters. | |
u_long | vol_nxtfree |
Possibly next free cluster. | |
PHATSECTBUF | vol_buf [1] |
Sector buffer of this volume. | |
HANDLE | vol_fsmutex |
Mutual exclusion filesystem access semaphore. | |
HANDLE | vol_iomutex |
Mutual exclusion I/O semaphore. | |
u_int | vol_sectsz |
Bytes per sector. | |
u_int | vol_clustsz |
Sectors per cluster. | |
u_long | vol_tabsz |
Number of sectors per allocation table. | |
u_long | vol_tab_sect [2] |
First sector of each allocation table. | |
u_int | vol_rootsz |
Number of sectors used by the root directory. | |
u_long | vol_root_sect |
First sector of the root directory. | |
u_long | vol_root_clust |
First cluster of the root directory. | |
u_long | vol_last_clust |
Last data cluster number. | |
u_long | vol_data_sect |
First data sector. |
Type of volume.
Either 12, 16 or 32.
Definition at line 189 of file phatvol.h.
Referenced by AllocFirstCluster(), IsFixedRootDir(), PhatDirOpen(), PhatDirReleaseChain(), PhatFilePosSet(), PhatFileRead(), PhatFileWrite(), and PhatVolMount().
Number of free clusters.
Definition at line 191 of file phatvol.h.
Referenced by AllocFirstCluster(), Phat12ReleaseChain(), Phat16ReleaseChain(), Phat32ReleaseChain(), and PhatFileWrite().
Sector buffer of this volume.
Definition at line 200 of file phatvol.h.
Referenced by Phat12GetClusterLink(), Phat12SetClusterLink(), Phat16GetClusterLink(), Phat16SetClusterLink(), Phat32GetClusterLink(), PhatDirEntryUpdate(), PhatSectorFlush(), PhatSectorLoad(), PhatVolMount(), and PhatVolUnmount().
Mutual exclusion I/O semaphore.
Definition at line 205 of file phatvol.h.
Referenced by PhatSectorLoad().
Bytes per sector.
Definition at line 207 of file phatvol.h.
Referenced by Phat12GetClusterLink(), Phat12SetClusterLink(), PhatDirCreate(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
Sectors per cluster.
Definition at line 209 of file phatvol.h.
Referenced by PhatClusterSector(), PhatDirCreate(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
First sector of each allocation table.
We maintain upto two allocation tables.
Definition at line 217 of file phatvol.h.
Referenced by Phat12SetClusterLink(), Phat16SetClusterLink(), and Phat32SetClusterLink().
Number of sectors used by the root directory.
Definition at line 220 of file phatvol.h.
Referenced by PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
First sector of the root directory.
Definition at line 222 of file phatvol.h.
Referenced by PhatClusterSector().
First cluster of the root directory.
Definition at line 224 of file phatvol.h.
Referenced by PhatDirCreate(), and PhatDirOpen().
First data sector.
The first sector following the root directory.
Definition at line 236 of file phatvol.h.
Referenced by PhatClusterSector().