Home
last modified time | relevance | path

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

/netbsd-src/sbin/fsck_msdos/
H A Dext.h86 int readfat(int, struct bootblock *, u_int, struct fatEntry **);
92 int comparefat(struct bootblock *, struct fatEntry *, struct fatEntry *, u_int);
97 int checkfat(struct bootblock *, struct fatEntry *);
102 int writefat(int, struct bootblock *, struct fatEntry *, int);
107 int resetDosDirSection(struct bootblock *, struct fatEntry *);
109 int handleDirTree(int, struct bootblock *, struct fatEntry *);
117 int checklost(int, struct bootblock *, struct fatEntry *);
121 int reconnect(int, struct bootblock *, struct fatEntry *, cl_t);
135 void clearchain(struct bootblock *, struct fatEntry *, cl_t);
H A Dfat.c45 static int tryclear(struct bootblock *, struct fatEntry *, cl_t, cl_t *);
119 readfat(int fs, struct bootblock *boot, u_int no, struct fatEntry **fp) in readfat()
121 struct fatEntry *fat; in readfat()
132 fat = malloc(len = boot->NumClusters * sizeof(struct fatEntry)); in readfat()
325 comparefat(struct bootblock *boot, struct fatEntry *first, in comparefat()
326 struct fatEntry *second, u_int fatnum) in comparefat()
338 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) in clearchain()
352 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *truncp) in tryclear()
376 checkfat(struct bootblock *boot, struct fatEntry *fat) in checkfat()
477 writefat(int fs, struct bootblock *boot, struct fatEntry *fat, int correct_fat) in writefat()
[all …]
H A Ddir.c95 static int delete(int, struct bootblock *, struct fatEntry *, cl_t, int,
97 static int removede(int, struct bootblock *, struct fatEntry *, u_char *,
99 static int checksize(struct bootblock *, struct fatEntry *, u_char *,
101 static int readDosDirSection(int, struct bootblock *, struct fatEntry *,
218 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) in resetDosDirSection()
314 delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl, in delete()
354 removede(int f, struct bootblock *boot, struct fatEntry *fat, u_char *start, in removede()
391 checksize(struct bootblock *boot, struct fatEntry *fat, u_char *p, in checksize()
465 readDosDirSection(int f, struct bootblock *boot, struct fatEntry *fat, in readDosDirSection()
888 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) in handleDirTree()
[all …]
H A Dcheck.c49 struct fatEntry *fat = NULL; in checkfilesys()
97 struct fatEntry *currentFat; in checkfilesys()
H A Ddosfs.h82 struct fatEntry { struct