Searched refs:fat (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-9.3-release/sbin/fsck_msdosfs/
H A Dfat.c29 __RCSID("$NetBSD: fat.c,v 1.12 2000/10/10 20:24:52 is Exp $");
132 checkclnum(struct bootblock *boot, u_int fat, cl_t cl, cl_t *next) argument
147 cl, fat,
200 struct fatEntry *fat; local
211 fat = malloc(len = boot->NumClusters * sizeof(struct fatEntry));
212 if (fat == NULL) {
217 (void)memset(fat, 0, len);
282 fat[cl].next = p[0] + (p[1] << 8)
284 fat[cl].next &= boot->ClustMask;
285 ret |= checkclnum(boot, no, cl, &fat[c
417 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) argument
431 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *trunc) argument
447 checkfat(struct bootblock *boot, struct fatEntry *fat) argument
541 writefat(int fs, struct bootblock *boot, struct fatEntry *fat, int correct_fat) argument
649 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
[all...]
H A DMakefile9 SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
H A Dcheck.c48 struct fatEntry *fat = NULL; local
95 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat);
110 mod |= comparefat(&boot, fat, currentFat, i);
119 mod |= checkfat(&boot, fat);
127 mod |= resetDosDirSection(&boot, fat);
133 mod |= handleDirTree(dosfs, &boot, fat);
140 mod |= checklost(dosfs, &boot, fat);
147 mod |= writefat(dosfs, &boot, fat, mod & FSFIXFAT);
171 mod |= writefat(dosfs, &boot, fat, 1);
187 free(fat);
[all...]
H A Ddir.c216 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) argument
251 cl = fat[boot->bpbRootClust].next;
254 || fat[boot->bpbRootClust].head != boot->bpbRootClust) {
265 fat[boot->bpbRootClust].next = CLUST_FREE;
271 fat[boot->bpbRootClust].flags |= FAT_USED;
312 delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl, argument
345 startcl = fat[startcl].next;
352 removede(int f, struct bootblock *boot, struct fatEntry *fat, u_char *start, argument
369 if (delete(f, boot, fat,
389 checksize(struct bootblock *boot, struct fatEntry *fat, u_cha argument
442 readDosDirSection(int f, struct bootblock *boot, struct fatEntry *fat, struct dosDirEntry *dir) argument
882 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument
923 reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head) argument
[all...]
/freebsd-9.3-release/sbin/newfs_msdos/
H A Dnewfs_msdos.c73 #define mincls(fat) ((fat) == 12 ? MINCLS12 : \
74 (fat) == 16 ? MINCLS16 : \
77 #define maxcls(fat) ((fat) == 12 ? MAXCLS12 : \
78 (fat) == 16 ? MAXCLS16 : \
261 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; local
432 if (!(fat = opt_F)) {
434 fat = 12;
436 fat
[all...]
/freebsd-9.3-release/usr.sbin/sade/
H A Dconfig.c113 else if (c1->type == part || c1->type == fat || c1->type == efi)
121 if (c1->type == fat || c1->type == efi)
145 else if (c1->type == fat) {
213 else if (((c1->type == fat || c1->type == efi || c1->type == part) &&
H A Dinstall.c197 else if (c1->type == fat && c1->private_data &&
H A Ddevices.c234 if (c1->type == fat || c1->type == efi || c1->type == extended) {
H A Ddisks.c481 partitiontype = fat;
529 partitiontype = fat;
/freebsd-9.3-release/lib/libprocstat/
H A Dmsdosfs.c55 #include <fs/msdosfs/fat.h>
/freebsd-9.3-release/lib/libdisk/
H A Dlibdisk.h50 fat, enumerator in enum:__anon5184
329 * >>>>>> 0x3d0c0 960183 5607 965789 wd0s5 2 fat 0 8
H A Ddisk.c73 case fat: return ("fat");
349 case 1: return "fat (12-bit)";
352 case 4: return "fat (16-bit,<=32Mb)";
354 case 6: return "fat (16-bit,>32Mb)";
359 case 11: return "fat (32-bit)";
360 case 12: return "fat (32-bit,LBA)";
361 case 14: return "fat (16-bit,>32Mb,LBA)";
389 case fat:
390 return "fat";
[all...]
H A Dopen_disk.c260 i = Add_Chunk(d, off, len, n, fat, ty, 0, 0);
282 i = Add_Chunk(d, off, len, n, fat, ty, 0, sn);
H A Dchunk.c254 case fat:
273 case fat:
291 case fat:
H A Drules.c180 * Max one 'fat' as child of 'whole'
191 if (c1->type != fat)
197 "Max one 'fat' allowed as child of 'whole'\n");
H A Dwrite_pc98_disk.c165 if (((c1->type == freebsd) || (c1->type == fat))
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dconfig.c118 else if (c1->type == part || c1->type == fat || c1->type == efi)
126 if (c1->type == fat || c1->type == efi)
150 else if (c1->type == fat) {
220 else if (((c1->type == fat || c1->type == efi || c1->type == part) &&
H A Ddisks.c521 partitiontype = fat;
569 partitiontype = fat;
H A Ddevices.c463 if (c1->type == fat || c1->type == efi || c1->type == extended) {
/freebsd-9.3-release/sys/fs/msdosfs/
H A Dmsdosfs_denode.c66 #include <fs/msdosfs/fat.h>
171 fc_purge(ldep, 0); /* init the fat cache for this denode */
H A Dmsdosfs_fat.c60 #include <fs/msdosfs/fat.h>
185 * Rummage around in the fat cache, maybe we can avoid tromping
186 * thru every fat entry for the file. And, keep track of how far
253 /* update last file cluster entry in the fat cache */
259 * Find the closest entry in the fat cache to the cluster we are looking
289 * Purge the fat cache in denode dep of all entries relating to file
310 * Update the fat.
311 * If mirroring the fat, update all copies, with the first copy as last.
312 * Else update only the current fat (ignoring the others).
315 * bp - addr of modified fat bloc
[all...]
H A Dmsdosfs_lookup.c61 #include <fs/msdosfs/fat.h>
H A Dmsdosfs_vfsops.c75 #include <fs/msdosfs/fat.h>
624 * sure that one fat entry will not be split across
737 * If they want fat updates to be synchronous then let them suffer
739 * the fat being correct just about all the time. I suppose this
/freebsd-9.3-release/sys/dev/cxgbe/common/
H A Dt4_hw.c2075 int fat; local
2077 fat = t4_handle_intr_status(adapter,
2086 if (fat)
2214 int fat; local
2219 fat = t4_handle_intr_status(adapter, A_CIM_HOST_INT_CAUSE,
2223 if (fat)
2392 int fat; local
2394 fat = t4_handle_intr_status(adapter, A_MPS_RX_PERR_INT_CAUSE,
2411 if (fat)
/freebsd-9.3-release/sys/boot/i386/boot2/
H A Dboot1.S72 .word 0 # sectors/fat

Completed in 138 milliseconds

12