cl_t
delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl,
int startoff, cl_t endcl, int endoff, int notlast)
u_char *end, cl_t startcl, cl_t endcl, cl_t curcl, char *path, int type)
cl_t cl;
cl_t cl, valcl = ~0, invcl = ~0, empcl = ~0;
static int delete(int, struct bootblock *, struct fatEntry *, cl_t, int,
cl_t, int, int);
u_char *, cl_t, cl_t, cl_t, char *, int);
static cl_t lfcl;
reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head)
cl_t head; /* cluster no */
cl_t RootCl; /* Start of Root Directory */
cl_t FSFree; /* Number of free clusters acc. FSInfo */
cl_t FSNext; /* Next free cluster acc. FSInfo */
cl_t ClustMask; /* mask for entries in FAT */
cl_t NumClusters; /* # of entries in a FAT */
cl_t next; /* pointer to next cluster */
cl_t head; /* pointer to start of chain */
int reconnect(int, struct bootblock *, struct fatEntry *, cl_t);
char *rsrvdcltype(cl_t);
void clearchain(struct bootblock *, struct fatEntry *, cl_t);
rsrvdcltype(cl_t cl)
clustdiffer(cl_t cl, cl_t *cp1, cl_t *cp2, int fatnum)
cl_t cl;
clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head)
cl_t p, q;
tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *trunc)
cl_t p;
cl_t head, p, h, n;
static int checkclnum(struct bootblock *, int, cl_t, cl_t *);
static int clustdiffer(cl_t, cl_t *, cl_t *, int);
static int tryclear(struct bootblock *, struct fatEntry *, cl_t, cl_t *);
cl_t cl;
checkclnum(struct bootblock *boot, int fat, cl_t cl, cl_t *next)
cl_t head;
cl_t cl;