Searched refs:Fs_t (Results 1 - 10 of 10) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/mtools-4.0.10/
H A DfsP.h29 typedef struct Fs_t { struct
41 unsigned int (*fat_decode)(struct Fs_t *This, unsigned int num);
42 void (*fat_encode)(struct Fs_t *This, unsigned int num,
80 } Fs_t; typedef in typeref:struct:Fs_t
84 void set_fat12(Fs_t *Fs);
85 void set_fat16(Fs_t *Fs);
86 void set_fat32(Fs_t *Fs);
87 unsigned int get_next_free_cluster(Fs_t *Fs, unsigned int last);
88 unsigned int fatDecode(Fs_t *This, unsigned int pos);
89 void fatAppend(Fs_t *Thi
[all...]
H A Dmbadblocks.c35 Fs_t *Fs;
54 Fs = (Fs_t *)GetFs(Dir);
79 if(Fs->fat_decode((Fs_t*)Fs,i))
86 fatEncode((Fs_t*)Fs, i, 0xfff7);
H A Dfat.c40 static __inline__ int readSector(Fs_t *This, char *buf, unsigned int off,
48 static __inline__ int forceReadSector(Fs_t *This, char *buf, unsigned int off,
56 static __inline__ int writeSector(Fs_t *This, char *buf, unsigned int off,
63 static __inline__ int forceWriteSector(Fs_t *This, char *buf, unsigned int off,
71 static FatMap_t *GetFatMap(Fs_t *Stream)
91 static __inline__ int locate(Fs_t *Stream, size_t offset, int *slot, int *bit)
100 static __inline__ int fatReadSector(Fs_t *This, int sector, int slot,
139 static int fatWriteSector(Fs_t *This, int sector, int slot, int bit, int dupe)
155 static unsigned char *loadSector(Fs_t *This,
230 static unsigned char *getAddress(Fs_t *Strea
[all...]
H A Dfat_free.c33 DeclareThis(Fs_t);
H A Dfile.c30 struct Fs_t *Fs; /* Filesystem that this fat file belongs to */
66 Fs_t *getFs(Stream_t *Stream)
87 Fs_t *Fs = This->Fs;
135 static unsigned int _countBlocks(Fs_t *This, unsigned int block)
157 DeclareThis(Fs_t);
168 DeclareThis(Fs_t);
227 Fs_t *Fs = This->Fs;
331 Fs_t *Fs = This->Fs;
475 Fs_t *Fs = This->Fs;
574 DeclareThis(Fs_t);
[all...]
H A Dinit.c57 DeclareThis(Fs_t);
65 DeclareThis(Fs_t);
239 Fs_t *This;
241 This = New(Fs_t);
410 DeclareThis(Fs_t);
418 int fsPreallocateClusters(Fs_t *Fs, long size)
H A Dllong.c50 DeclareThis(Fs_t);
H A Dmdoctorfat.c43 Fs_t *Fs;
48 Fs_t *Fs = getFs(mp->File);
H A Dmformat.c156 static int comp_fat_bits(Fs_t *Fs, int estimate,
223 static void calc_fat_bits2(Fs_t *Fs, unsigned long tot_sectors, int fat_bits,
281 static __inline__ void format_root(Fs_t *Fs, char *label, struct bootsector *boot)
326 static void xdf_calc_fat_size(Fs_t *Fs, unsigned long tot_sectors,
354 static void calc_fat_size(Fs_t *Fs, unsigned long tot_sectors)
516 static void calc_cluster_size(struct Fs_t *Fs, unsigned long tot_sectors,
598 struct Fs_t *Fs, struct bootsector *boot)
663 struct Fs_t *Fs, struct bootsector *boot)
757 Fs_t Fs;
H A Dmdir.c266 ((Fs_t*)GetFs(RootDir))->freeSpace = 0;

Completed in 102 milliseconds