Searched refs:fat (Results 1 - 5 of 5) sorted by relevance
/fuchsia/zircon/third_party/uapp/fsck-msdosfs/ |
H A D | fat.c | 125 checkclnum(struct bootblock *boot, u_int fat, cl_t cl, cl_t *next) argument 140 cl, fat, 194 struct fatEntry *fat; local 205 fat = malloc(len = boot->NumClusters * sizeof(struct fatEntry)); 206 if (fat == NULL) { 211 (void)memset(fat, 0, len); 276 fat[cl].next = p[0] + (p[1] << 8) 278 fat[cl].next &= boot->ClustMask; 279 ret |= checkclnum(boot, no, cl, &fat[cl].next); 284 fat[c 411 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) argument 425 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *truncp) argument 449 checkfat(struct bootblock *boot, struct fatEntry *fat) argument 550 writefat(int fs, struct bootblock *boot, struct fatEntry *fat, int correct_fat) argument 660 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument [all...] |
H A D | check.c | 40 struct fatEntry *fat = NULL; local 87 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); 102 mod |= comparefat(&boot, fat, currentFat, i); 111 mod |= checkfat(&boot, fat); 119 mod |= resetDosDirSection(&boot, fat); 125 mod |= handleDirTree(dosfs, &boot, fat); 132 mod |= checklost(dosfs, &boot, fat); 139 mod |= writefat(dosfs, &boot, fat, mod & FSFIXFAT); 163 mod |= writefat(dosfs, &boot, fat, 1); 179 free(fat); [all...] |
H A D | dir.c | 208 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) argument 244 cl = fat[boot->bpbRootClust].next; 247 || fat[boot->bpbRootClust].head != boot->bpbRootClust) { 258 fat[boot->bpbRootClust].next = CLUST_FREE; 264 fat[boot->bpbRootClust].flags |= FAT_USED; 305 delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl, argument 338 startcl = fat[startcl].next; 345 removede(int f, struct bootblock *boot, struct fatEntry *fat, u_char *start, argument 362 if (delete(f, boot, fat, 382 checksize(struct bootblock *boot, struct fatEntry *fat, u_cha argument 436 readDosDirSection(int f, struct bootblock *boot, struct fatEntry *fat, struct dosDirEntry *dir) argument 876 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument 917 reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head) argument [all...] |
H A D | rules.mk | 16 $(LOCAL_DIR)/fat.c \
|
/fuchsia/zircon/third_party/uapp/mkfs-msdosfs/ |
H A D | mkfs_msdos.c | 68 #define mincls(fat) ((fat) == 12 ? MINCLS12 : (fat) == 16 ? MINCLS16 : MINCLS32) 70 #define maxcls(fat) ((fat) == 12 ? MAXCLS12 : (fat) == 16 ? MAXCLS16 : MAXCLS32) 195 uint32_t fat, bss, rds, cls, dir, lsn, x, x1, x2; local 272 if (!(fat = o.fat_type)) { 274 fat = 32; 276 if ((fat [all...] |
Completed in 79 milliseconds