/third_party/FreeBSD/sbin/fsck_msdosfs/ |
H A D | fat.c | 32 __RCSID("$NetBSD: fat.c,v 1.18 2006/06/05 16:51:18 christos Exp $"); 186 fat_clear_cl_head(struct fat_descriptor *fat, cl_t cl) in fat_clear_cl_head() argument 188 bitmap_clear(&fat->headbitmap, cl); in fat_clear_cl_head() 192 fat_is_cl_head(struct fat_descriptor *fat, cl_t cl) in fat_is_cl_head() argument 194 return (bitmap_get(&fat->headbitmap, cl)); in fat_is_cl_head() 198 fat_is_cl_head_in_range(struct fat_descriptor *fat, cl_t cl) in fat_is_cl_head_in_range() argument 200 return (!(bitmap_none_in_range(&fat->headbitmap, cl))); in fat_is_cl_head_in_range() 204 fat_get_head_count(struct fat_descriptor *fat) in fat_get_head_count() argument 206 return (bitmap_count(&fat->headbitmap)); in fat_get_head_count() 215 fat_get_fat12_ptr(struct fat_descriptor *fat, cl_ argument 221 fat_get_fat12_next(struct fat_descriptor *fat, cl_t cl) fat_get_fat12_next() argument 240 fat_set_fat12_next(struct fat_descriptor *fat, cl_t cl, cl_t nextcl) fat_set_fat12_next() argument 272 fat_get_fat16_ptr(struct fat_descriptor *fat, cl_t cl) fat_get_fat16_ptr() argument 278 fat_get_fat16_next(struct fat_descriptor *fat, cl_t cl) fat_get_fat16_next() argument 293 fat_set_fat16_next(struct fat_descriptor *fat, cl_t cl, cl_t nextcl) fat_set_fat16_next() argument 311 fat_get_fat32_ptr(struct fat_descriptor *fat, cl_t cl) fat_get_fat32_ptr() argument 317 fat_get_fat32_next(struct fat_descriptor *fat, cl_t cl) fat_get_fat32_next() argument 332 fat_set_fat32_next(struct fat_descriptor *fat, cl_t cl, cl_t nextcl) fat_set_fat32_next() argument 347 fat_get_iosize(struct fat_descriptor *fat, off_t address) fat_get_iosize() argument 358 fat_flush_fat32_cache_entry(struct fat_descriptor *fat, struct fat32_cache_entry *entry) fat_flush_fat32_cache_entry() argument 384 fat_get_fat32_cache_entry(struct fat_descriptor *fat, off_t addr, bool writing) fat_get_fat32_cache_entry() argument 441 fat_get_fat32_cached_ptr(struct fat_descriptor *fat, cl_t cl, bool writing) fat_get_fat32_cached_ptr() argument 459 fat_get_fat32_cached_next(struct fat_descriptor *fat, cl_t cl) fat_get_fat32_cached_next() argument 477 fat_set_fat32_cached_next(struct fat_descriptor *fat, cl_t cl, cl_t nextcl) fat_set_fat32_cached_next() argument 493 fat_get_cl_next(struct fat_descriptor *fat, cl_t cl) fat_get_cl_next() argument 504 fat_set_cl_next(struct fat_descriptor *fat, cl_t cl, cl_t nextcl) fat_set_cl_next() argument 521 boot_of_(struct fat_descriptor *fat) boot_of_() argument 527 fat_get_boot(struct fat_descriptor *fat) fat_get_boot() argument 533 fd_of_(struct fat_descriptor *fat) fd_of_() argument 539 fat_get_fd(struct fat_descriptor * fat) fat_get_fd() argument 548 fat_is_valid_cl(struct fat_descriptor *fat, cl_t cl) fat_is_valid_cl() argument 555 valid_cl(struct fat_descriptor *fat, cl_t cl) valid_cl() argument 643 cleardirty(struct fat_descriptor *fat) cleardirty() argument 693 _readfat(struct fat_descriptor *fat) _readfat() argument 787 releasefat(struct fat_descriptor *fat) releasefat() argument 808 struct fat_descriptor *fat; readfat() local 1034 checkchain(struct fat_descriptor *fat, cl_t head, size_t *chainsize) checkchain() argument 1120 clearchain(struct fat_descriptor *fat, cl_t head) clearchain() argument 1140 copyfat(struct fat_descriptor *fat, int n) copyfat() argument 1188 writefat(struct fat_descriptor *fat) writefat() argument 1245 checklost(struct fat_descriptor *fat) checklost() argument [all...] |
H A D | dir.c | 220 resetDosDirSection(struct fat_descriptor *fat) in resetDosDirSection() argument 227 boot = fat_get_boot(fat); in resetDosDirSection() 252 if (!fat_is_cl_head(fat, boot->bpbRootClust)) { in resetDosDirSection() 296 delete(struct fat_descriptor *fat, cl_t startcl, in delete() argument 304 boot = fat_get_boot(fat); in delete() 305 fd = fat_get_fd(fat); in delete() 310 while (fat_is_valid_cl(fat, startcl)) { in delete() 341 startcl = fat_get_cl_next(fat, startcl); in delete() 348 removede(struct fat_descriptor *fat, u_char *start, in removede() argument 366 if (delete(fat, in removede() 386 checksize(struct fat_descriptor *fat, u_char *p, struct dosDirEntry *dir) checksize() argument 462 check_subdirectory(struct fat_descriptor *fat, struct dosDirEntry *dir) check_subdirectory() argument 534 readDosDirSection(struct fat_descriptor *fat, struct dosDirEntry *dir) readDosDirSection() argument 1032 handleDirTree(struct fat_descriptor *fat) handleDirTree() argument 1073 reconnect(struct fat_descriptor *fat, cl_t head, size_t length) reconnect() argument [all...] |
H A D | check.c | 51 struct fat_descriptor *fat = NULL; in checkfilesys() local 96 mod |= readfat(dosfs, &boot, &fat); in checkfilesys() 105 mod |= resetDosDirSection(fat); in checkfilesys() 111 mod |= handleDirTree(fat); in checkfilesys() 118 mod |= checklost(fat); in checkfilesys() 125 mod |= writefat(fat); in checkfilesys() 168 mod |= cleardirty(fat); in checkfilesys() 184 free(fat); in checkfilesys()
|
H A D | Makefile | 9 SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
|
H A D | ext.h | 101 cl_t fat_allocate_cluster(struct fat_descriptor *fat);
|
/third_party/FreeBSD/sbin/newfs_msdos/ |
H A D | mkfs_msdos.c | 82 #define mincls(fat) ((fat) == 12 ? MINCLS12 : \ 83 (fat) == 16 ? MINCLS16 : \ 86 #define maxcls(fat) ((fat) == 12 ? MAXCLS12 : \ 87 (fat) == 16 ? MAXCLS16 : \ 252 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; in mkfs_msdos() local 357 if (!(fat = o.fat_type)) { in mkfs_msdos() 359 fat = 12; in mkfs_msdos() 361 fat in mkfs_msdos() [all...] |
/third_party/rust/crates/aho-corasick/src/packed/teddy/ |
H A D | compile.rs | 19 /// slim Teddy is used (8 buckets) and `true` means fat Teddy is used 22 fat: Option<bool>, 25 /// `true` means that 256-bit vectors will be used. As with `fat`, if 40 Builder { fat: None, avx: None } in new() 59 pub fn fat(&mut self, yes: Option<bool>) -> &mut Builder { in fat() functions 60 self.fat = yes; in fat() 80 // we have are: fat (avx only) or not, ssse3 or avx2, and how many in build_imp() 106 let fat = match self.fat { in build_imp() 113 let mut compiler = Compiler::new(patterns, fat); in build_imp() [all...] |
H A D | mod.rs | 32 pub fn fat(&mut self, _: Option<bool>) -> &mut Builder { in fat() functions
|
/third_party/NuttX/include/nuttx/fs/ |
H A D | dirent_fs.h | 93 /* For fat, we need to return the start cluster, current cluster, current 271 struct fs_fatdir_s fat; member
|
/third_party/rust/crates/aho-corasick/src/packed/ |
H A D | api.rs | 276 .fat(self.config.force_teddy_fat) in build_teddy()
|
/third_party/ffmpeg/libavformat/ |
H A D | wtvenc.c | 600 int64_t fat = avio_tell(s->pb); in write_fat_sector() local 604 int64_t start_sector1 = fat >> WTV_SECTOR_BITS; in write_fat_sector() 612 return fat; in write_fat_sector() 722 * Write out fat table 737 // determine optimal fat table depth, sector_bits, nb_sectors in finish_file() 768 //write fat table in finish_file()
|
/third_party/FatFs/source/ |
H A D | ff.h | 509 int fatfs_get_vol (FATFS *fat);
|
H A D | ff.c | 5628 LBA_t sz_vol, b_vol, b_fat, b_data; /* Size of volume, Base LBA of volume, fat, data */ 5630 DWORD sz_rsv, sz_fat, sz_dir, sz_au; /* Size of reserved, fat, dir, data, cluster */ 6013 LBA_t sz_vol, b_vol, b_fat, b_data; /* Size of volume, Base LBA of volume, fat, data */ 6015 DWORD sz_rsv, sz_fat, sz_dir, sz_au; /* Size of reserved, fat, dir, data, cluster */ 6886 int fatfs_get_vol(FATFS *fat) argument 6891 if (FatFs[vol] == fat)
|