/freebsd-11-stable/sbin/fsck_msdosfs/ |
H A D | fat.c | 32 __RCSID("$NetBSD: fat.c,v 1.18 2006/06/05 16:51:18 christos Exp $"); 34 "$FreeBSD: stable/11/sbin/fsck_msdosfs/fat.c 360490 2020-04-30 06:34:34Z delphij $"; 188 fat_clear_cl_head(struct fat_descriptor *fat, cl_t cl) argument 190 bitmap_clear(&fat->headbitmap, cl); 194 fat_is_cl_head(struct fat_descriptor *fat, cl_t cl) argument 196 return (bitmap_get(&fat->headbitmap, cl)); 200 fat_is_cl_head_in_range(struct fat_descriptor *fat, cl_t cl) argument 202 return (!(bitmap_none_in_range(&fat->headbitmap, cl))); 206 fat_get_head_count(struct fat_descriptor *fat) argument 208 return (bitmap_count(&fat 217 fat_get_fat12_ptr(struct fat_descriptor *fat, cl_t cl) argument 223 fat_get_fat12_next(struct fat_descriptor *fat, cl_t cl) argument 242 fat_set_fat12_next(struct fat_descriptor *fat, cl_t cl, cl_t nextcl) argument 274 fat_get_fat16_ptr(struct fat_descriptor *fat, cl_t cl) argument 280 fat_get_fat16_next(struct fat_descriptor *fat, cl_t cl) argument 295 fat_set_fat16_next(struct fat_descriptor *fat, cl_t cl, cl_t nextcl) argument 313 fat_get_fat32_ptr(struct fat_descriptor *fat, cl_t cl) argument 319 fat_get_fat32_next(struct fat_descriptor *fat, cl_t cl) argument 334 fat_set_fat32_next(struct fat_descriptor *fat, cl_t cl, cl_t nextcl) argument 349 fat_get_iosize(struct fat_descriptor *fat, off_t address) argument 360 fat_flush_fat32_cache_entry(struct fat_descriptor *fat, struct fat32_cache_entry *entry) argument 386 fat_get_fat32_cache_entry(struct fat_descriptor *fat, off_t addr, bool writing) argument 443 fat_get_fat32_cached_ptr(struct fat_descriptor *fat, cl_t cl, bool writing) argument 461 fat_get_fat32_cached_next(struct fat_descriptor *fat, cl_t cl) argument 479 fat_set_fat32_cached_next(struct fat_descriptor *fat, cl_t cl, cl_t nextcl) argument 495 fat_get_cl_next(struct fat_descriptor *fat, cl_t cl) argument 506 fat_set_cl_next(struct fat_descriptor *fat, cl_t cl, cl_t nextcl) argument 523 boot_of_(struct fat_descriptor *fat) argument 529 fat_get_boot(struct fat_descriptor *fat) argument 535 fd_of_(struct fat_descriptor *fat) argument 541 fat_get_fd(struct fat_descriptor * fat) argument 550 fat_is_valid_cl(struct fat_descriptor *fat, cl_t cl) argument 557 valid_cl(struct fat_descriptor *fat, cl_t cl) argument 645 cleardirty(struct fat_descriptor *fat) argument 695 _readfat(struct fat_descriptor *fat) argument 789 releasefat(struct fat_descriptor *fat) argument 810 struct fat_descriptor *fat; local 1036 checkchain(struct fat_descriptor *fat, cl_t head, size_t *chainsize) argument 1122 clearchain(struct fat_descriptor *fat, cl_t head) argument 1142 copyfat(struct fat_descriptor *fat, int n) argument 1190 writefat(struct fat_descriptor *fat) argument 1247 checklost(struct fat_descriptor *fat) argument [all...] |
H A D | check.c | 53 struct fat_descriptor *fat = NULL; local 98 mod |= readfat(dosfs, &boot, &fat); 107 mod |= resetDosDirSection(fat); 113 mod |= handleDirTree(fat); 120 mod |= checklost(fat); 127 mod |= writefat(fat); 170 mod |= cleardirty(fat); 186 free(fat);
|
H A D | Makefile | 10 SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
|
H A D | dir.c | 222 resetDosDirSection(struct fat_descriptor *fat) argument 229 boot = fat_get_boot(fat); 254 if (!fat_is_cl_head(fat, boot->bpbRootClust)) { 298 delete(struct fat_descriptor *fat, cl_t startcl, argument 306 boot = fat_get_boot(fat); 307 fd = fat_get_fd(fat); 312 while (fat_is_valid_cl(fat, startcl)) { 343 startcl = fat_get_cl_next(fat, startcl); 350 removede(struct fat_descriptor *fat, u_char *start, argument 368 if (delete(fat, 388 checksize(struct fat_descriptor *fat, u_char *p, struct dosDirEntry *dir) argument 464 check_subdirectory(struct fat_descriptor *fat, struct dosDirEntry *dir) argument 536 readDosDirSection(struct fat_descriptor *fat, struct dosDirEntry *dir) argument 1034 handleDirTree(struct fat_descriptor *fat) argument 1075 reconnect(struct fat_descriptor *fat, cl_t head, size_t length) argument [all...] |
H A D | ext.h | 102 cl_t fat_allocate_cluster(struct fat_descriptor *fat);
|
/freebsd-11-stable/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-11-stable/stand/efi/boot1/ |
H A D | generate-fat.sh | 12 # $FreeBSD: stable/11/stand/efi/boot1/generate-fat.sh 332746 2018-04-19 01:10:53Z kevans $ 34 echo '# This file autogenerated by generate-fat.sh - DO NOT EDIT' > Makefile.fat 35 echo "# \$FreeBSD\$" >> Makefile.fat 36 echo "BOOT1_OFFSET=0x$BOOT1_OFFSET" >> Makefile.fat 37 echo "BOOT1_MAXSIZE=$BOOT1_MAXSIZE" >> Makefile.fat 41 OUTPUT_FILE=fat-${ARCH}.tmpl
|
H A D | Makefile | 92 # created by generate-fat.sh 94 .include "Makefile.fat" 104 xz -d -c ${BOOTSRC}/efi/boot1/fat-${MACHINE}.tmpl.xz > ${.TARGET}
|
/freebsd-11-stable/sbin/newfs_msdos/ |
H A D | mkfs_msdos.c | 78 #define mincls(fat) ((fat) == 12 ? MINCLS12 : \ 79 (fat) == 16 ? MINCLS16 : \ 82 #define maxcls(fat) ((fat) == 12 ? MAXCLS12 : \ 83 (fat) == 16 ? MAXCLS16 : \ 249 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; local 353 if (!(fat = o.fat_type)) { 355 fat = 12; 357 fat [all...] |
/freebsd-11-stable/lib/libprocstat/ |
H A D | msdosfs.c | 55 #include <fs/msdosfs/fat.h>
|
/freebsd-11-stable/sys/fs/msdosfs/ |
H A D | msdosfs_denode.c | 67 #include <fs/msdosfs/fat.h> 164 fc_purge(ldep, 0); /* init the fat cache for this denode */
|
H A D | msdosfs_lookup.c | 61 #include <fs/msdosfs/fat.h>
|
H A D | msdosfs_vfsops.c | 75 #include <fs/msdosfs/fat.h> 607 * sure that one fat entry will not be split across 720 * If they want fat updates to be synchronous then let them suffer 722 * the fat being correct just about all the time. I suppose this
|
H A D | msdosfs_fat.c | 61 #include <fs/msdosfs/fat.h> 180 * Rummage around in the fat cache, maybe we can avoid tromping 181 * through every fat entry for the file. And, keep track of how far 248 /* update last file cluster entry in the fat cache */ 254 * Find the closest entry in the fat cache to the cluster we are looking 280 * Purge the fat cache in denode dep of all entries relating to file 299 * Update the fat. 300 * If mirroring the fat, update all copies, with the first copy as last. 301 * Else update only the current fat (ignoring the others). 304 * bp - addr of modified fat bloc [all...] |
H A D | msdosfs_vnops.c | 77 #include <fs/msdosfs/fat.h> 739 * for the fat table. (see msdosfs_strategy)
|
/freebsd-11-stable/stand/i386/boot2/ |
H A D | boot1.S | 72 .word 0 # sectors/fat
|
/freebsd-11-stable/contrib/netbsd-tests/usr.bin/netpgpverify/ |
H A D | t_netpgpverify.sh | 3736 OsZDjgZ65ZRYHXSlQAqm21t1nyzWUi0agZDQWN/QfdlcDGCyq3FrlEsCGxeD+fat
|