#include "stream.h"#include "msdos.h"#include "fs.h"Include dependency graph for fsP.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | Fs_t |
Enumerations | |
| enum | fatAccessMode_t { FAT_ACCESS_READ, FAT_ACCESS_WRITE } |
Functions | |
| int | fs_free (Stream_t *Stream) |
| void | set_fat12 (Fs_t *Fs) |
| void | set_fat16 (Fs_t *Fs) |
| void | set_fat32 (Fs_t *Fs) |
| unsigned int | get_next_free_cluster (Fs_t *Fs, unsigned int last) |
| unsigned int | fatDecode (Fs_t *This, unsigned int pos) |
| void | fatAppend (Fs_t *This, unsigned int pos, unsigned int newpos) |
| void | fatDeallocate (Fs_t *This, unsigned int pos) |
| void | fatAllocate (Fs_t *This, unsigned int pos, unsigned int value) |
| void | fatEncode (Fs_t *This, unsigned int pos, unsigned int value) |
| int | fat_read (Fs_t *This, struct bootsector *boot, int fat_bits, size_t tot_sectors, int nodups) |
| void | fat_write (Fs_t *This) |
| int | zero_fat (Fs_t *Fs, int media_descriptor) |
| int | fsPreallocateClusters (Fs_t *Fs, long) |
| Fs_t * | getFs (Stream_t *Stream) |
Variables | |
| Class_t | FsClass |
|
|
|
|
||||||||||||||||||||||||
|
Definition at line 696 of file fat.c. References fat_32_read(), Fs_t::fat_dirty, Fs_t::fat_error, Fs_t::fat_len, Fs_t::freeSpace, Fs_t::last, Fs_t::lastFatSectorData, Fs_t::lastFatSectorNr, MAX32, and old_fat_read(). Referenced by fs_init(). |
|
|
Definition at line 373 of file fat.c. References FatMap_t::dirty, Fs_t::fat_dirty, Fs_t::fat_error, Fs_t::fat_len, Fs_t::fat_start, Fs_t::FatMap, i, j, Fs_t::num_fat, and SECT_PER_ENTRY. Referenced by fs_flush(). |
|
||||||||||||||||
|
Definition at line 743 of file fat.c. References Fs_t::fat_encode, Fs_t::freeSpace, and MAX32. Referenced by format_root(), and normal_map(). |
|
||||||||||||||||
|
Definition at line 726 of file fat.c. References Fs_t::end_fat, Fs_t::fat_encode, Fs_t::freeSpace, and MAX32. Referenced by normal_map(). |
|
||||||||||||
|
Definition at line 735 of file fat.c. References Fs_t::fat_encode, Fs_t::freeSpace, and MAX32. Referenced by fat_free(). |
|
||||||||||||
|
Definition at line 713 of file fat.c. References Fs_t::fat_decode, Fs_t::fat_error, fprintf(), Fs_t::num_clus, and stderr. Referenced by _countBlocks(), fat_free(), get_next_free_cluster(), getfree(), getfreeMinClusters(), normal_map(), and printFat(). |
|
||||||||||||||||
|
Definition at line 750 of file fat.c. References Fs_t::fat_decode, Fs_t::fat_encode, Fs_t::freeSpace, and MAX32. |
|
|
Definition at line 915 of file fat.c. References DeclareThis, free, i, and SECT_PER_ENTRY. |
|
||||||||||||
|
Definition at line 407 of file init.c. References getfreeMinClusters(). Referenced by free_file(), and recalcPreallocSize(). |
|
||||||||||||
|
Definition at line 762 of file fat.c. References fatDecode(), i, Fs_t::last, MAX32, and Fs_t::num_clus. Referenced by normal_map(). |
|
|
Definition at line 49 of file file.c. References File_t::Fs, and getUnbufferedFile(). Referenced by dos_doctorfat(). |
|
|
Definition at line 495 of file fat.c. References Fs_t::end_fat, fat12_decode(), fat12_encode(), Fs_t::fat_bits, Fs_t::fat_decode, Fs_t::fat_encode, and Fs_t::last_fat. Referenced by calc_fat_bits2(), old_fat_read(), and xdf_calc_fat_size(). |
|
|
Definition at line 506 of file fat.c. References Fs_t::end_fat, fast_fat16_decode(), fast_fat16_encode(), fat16_decode(), fat16_encode(), Fs_t::fat_bits, Fs_t::fat_decode, Fs_t::fat_encode, and Fs_t::last_fat. Referenced by calc_fat_bits2(), old_fat_read(), and xdf_calc_fat_size(). |
|
|
Definition at line 524 of file fat.c. References Fs_t::end_fat, fast_fat32_decode(), fast_fat32_encode(), fat32_decode(), fat32_encode(), Fs_t::fat_bits, Fs_t::fat_decode, Fs_t::fat_encode, and Fs_t::last_fat. Referenced by calc_fat_bits2(), calc_fs_parameters_32(), and fat_32_read(). |
|
||||||||||||
|
Definition at line 445 of file fat.c. References Fs_t::fat_bits, Fs_t::fat_len, Fs_t::fat_start, i, j, malloc(), memset(), Fs_t::num_fat, perror(), and Fs_t::sector_size. |
|
|
Definition at line 51 of file init.c. Referenced by fs_init(), getDrive(), GetFs(), and mformat(). |
1.4.6