Home
last modified time | relevance | path

Searched refs:fatEntry (Results 1 – 5 of 5) sorted by relevance

/NextBSD/sbin/fsck_msdosfs/
HDext.h90 int readfat(int, struct bootblock *, u_int, struct fatEntry **);
96 int comparefat(struct bootblock *, struct fatEntry *, struct fatEntry *, u_int);
101 int checkfat(struct bootblock *, struct fatEntry *);
106 int writefat(int, struct bootblock *, struct fatEntry *, int);
111 int resetDosDirSection(struct bootblock *, struct fatEntry *);
113 int handleDirTree(int, struct bootblock *, struct fatEntry *);
121 int checklost(int, struct bootblock *, struct fatEntry *);
125 int reconnect(int, struct bootblock *, struct fatEntry *, cl_t);
139 void clearchain(struct bootblock *, struct fatEntry *, cl_t);
HDfat.c45 static int tryclear(struct bootblock *, struct fatEntry *, cl_t, cl_t *);
200 readfat(int fs, struct bootblock *boot, u_int no, struct fatEntry **fp) in readfat()
202 struct fatEntry *fat; in readfat()
213 fat = malloc(len = boot->NumClusters * sizeof(struct fatEntry)); in readfat()
406 comparefat(struct bootblock *boot, struct fatEntry *first, in comparefat()
407 struct fatEntry *second, u_int fatnum) in comparefat()
419 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) in clearchain()
433 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *truncp) in tryclear()
457 checkfat(struct bootblock *boot, struct fatEntry *fat) in checkfat()
558 writefat(int fs, struct bootblock *boot, struct fatEntry *fat, int correct_fat) in writefat()
[all …]
HDdir.c94 static int delete(int, struct bootblock *, struct fatEntry *, cl_t, int,
96 static int removede(int, struct bootblock *, struct fatEntry *, u_char *,
98 static int checksize(struct bootblock *, struct fatEntry *, u_char *,
100 static int readDosDirSection(int, struct bootblock *, struct fatEntry *,
216 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) in resetDosDirSection()
313 delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl, in delete()
353 removede(int f, struct bootblock *boot, struct fatEntry *fat, u_char *start, in removede()
390 checksize(struct bootblock *boot, struct fatEntry *fat, u_char *p, in checksize()
444 readDosDirSection(int f, struct bootblock *boot, struct fatEntry *fat, in readDosDirSection()
884 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) in handleDirTree()
[all …]
HDcheck.c48 struct fatEntry *fat = NULL; in checkfilesys()
103 struct fatEntry *currentFat; in checkfilesys()
HDdosfs.h84 struct fatEntry { struct