/freebsd-10.0-release/sbin/fsck_msdosfs/ |
H A D | fat.c | 29 __RCSID("$NetBSD: fat.c,v 1.18 2006/06/05 16:51:18 christos Exp $"); 133 checkclnum(struct bootblock *boot, u_int fat, cl_t cl, cl_t *next) argument 148 cl, fat, 202 struct fatEntry *fat; local 213 fat = malloc(len = boot->NumClusters * sizeof(struct fatEntry)); 214 if (fat == NULL) { 219 (void)memset(fat, 0, len); 284 fat[cl].next = p[0] + (p[1] << 8) 286 fat[cl].next &= boot->ClustMask; 287 ret |= checkclnum(boot, no, cl, &fat[c 419 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) argument 433 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *truncp) argument 449 checkfat(struct bootblock *boot, struct fatEntry *fat) argument 543 writefat(int fs, struct bootblock *boot, struct fatEntry *fat, int correct_fat) argument 651 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument [all...] |
H A D | Makefile | 9 SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
|
H A D | check.c | 48 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 D | dir.c | 216 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) argument 252 cl = fat[boot->bpbRootClust].next; 255 || fat[boot->bpbRootClust].head != boot->bpbRootClust) { 266 fat[boot->bpbRootClust].next = CLUST_FREE; 272 fat[boot->bpbRootClust].flags |= FAT_USED; 313 delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl, argument 346 startcl = fat[startcl].next; 353 removede(int f, struct bootblock *boot, struct fatEntry *fat, u_char *start, argument 370 if (delete(f, boot, fat, 390 checksize(struct bootblock *boot, struct fatEntry *fat, u_cha argument 443 readDosDirSection(int f, struct bootblock *boot, struct fatEntry *fat, struct dosDirEntry *dir) argument 883 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument 924 reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head) argument [all...] |
/freebsd-10.0-release/sys/fs/fuse/ |
H A D | fuse_internal.h | 204 struct fuse_attr *fat, 208 "node #%ju, mode 0%o\n", (uintmax_t)fat->ino, fat->mode); 213 vap->va_fileid = fat->ino; /* XXX cast from 64 bits to 32 */ 214 vap->va_mode = fat->mode & ~S_IFMT; 215 vap->va_nlink = fat->nlink; 216 vap->va_uid = fat->uid; 217 vap->va_gid = fat->gid; 218 vap->va_rdev = fat->rdev; 219 vap->va_size = fat 203 fuse_internal_attr_fat2vat(struct mount *mp, struct fuse_attr *fat, struct vattr *vap) argument [all...] |
/freebsd-10.0-release/sbin/newfs_msdos/ |
H A D | newfs_msdos.c | 73 #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-10.0-release/lib/libprocstat/ |
H A D | msdosfs.c | 55 #include <fs/msdosfs/fat.h>
|
/freebsd-10.0-release/sys/fs/msdosfs/ |
H A D | msdosfs_denode.c | 66 #include <fs/msdosfs/fat.h> 165 fc_purge(ldep, 0); /* init the fat cache for this denode */
|
H A D | msdosfs_fat.c | 60 #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 D | msdosfs_lookup.c | 61 #include <fs/msdosfs/fat.h>
|
H A D | msdosfs_vfsops.c | 75 #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
|
H A D | msdosfs_vnops.c | 74 #include <fs/msdosfs/fat.h> 783 * for the fat table. (see msdosfs_strategy)
|
/freebsd-10.0-release/sys/dev/cxgbe/common/ |
H A D | t4_hw.c | 2075 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-10.0-release/sys/boot/i386/boot2/ |
H A D | boot1.S | 72 .word 0 # sectors/fat
|
/freebsd-10.0-release/sys/dev/isp/ |
H A D | DriverManual.txt | 174 FC-AL as a 'fat' SCSI bus (a SCSI bus with more than 15 targets). All 460 architecture for dealing with Fibre Channel as just a 'fat' SCSI bus
|