/external/fsck_msdos/ |
H A D | check.c | 63 struct fatEntry *fat = NULL; local 115 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); 133 mod |= comparefat(&boot, fat, currentFat, i); 144 mod |= checkfat(&boot, fat); 154 mod |= resetDosDirSection(&boot, fat); 162 mod |= handleDirTree(dosfs, &boot, fat); 169 mod |= checklost(dosfs, &boot, fat); 176 mod |= writefat(dosfs, &boot, fat, mod & FSFIXFAT); 202 mod |= writefat(dosfs, &boot, fat, 1); 218 free(fat); [all...] |
H A D | fat.c | 36 __RCSID("$NetBSD: fat.c,v 1.12 2000/10/10 20:24:52 is Exp $"); 38 "$FreeBSD: src/sbin/fsck_msdosfs/fat.c,v 1.9 2008/01/31 13:22:13 yar Exp $"; 138 checkclnum(struct bootblock *boot, int fat, cl_t cl, cl_t *next) argument 153 cl, fat, 209 struct fatEntry *fat; local 219 fat = calloc(boot->NumClusters, sizeof(struct fatEntry)); 220 if (fat == NULL) { 289 fat[cl].next = p[0] + (p[1] << 8) 291 fat[cl].next &= boot->ClustMask; 292 ret |= checkclnum(boot, no, cl, &fat[c 420 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) argument 434 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *trunc) argument 450 checkfat(struct bootblock *boot, struct fatEntry *fat) argument 553 writefat(int fs, struct bootblock *boot, struct fatEntry *fat, int correct_fat) argument 661 checklost(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument [all...] |
H A D | dir.c | 224 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat) argument 246 cl = fat[boot->RootCl].next; 249 || fat[boot->RootCl].head != boot->RootCl) { 260 fat[boot->RootCl].next = CLUST_FREE; 266 fat[boot->RootCl].flags |= FAT_USED; 307 delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl, argument 348 startcl = fat[startcl].next; 355 removede(int f, struct bootblock *boot, struct fatEntry *fat, u_char *start, argument 371 if (delete(f, boot, fat, 390 checksize(struct bootblock *boot, struct fatEntry *fat, u_cha argument 443 check_dot_dot(int f, struct bootblock *boot, struct fatEntry *fat,struct dosDirEntry *dir) argument 525 readDosDirSection(int f, struct bootblock *boot, struct fatEntry *fat, struct dosDirEntry *dir) argument 978 handleDirTree(int dosfs, struct bootblock *boot, struct fatEntry *fat) argument 1019 reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head) argument [all...] |
/external/syslinux/libfat/ |
H A D | libfatint.h | 23 #include "fat.h" 47 libfat_sector_t fat; /* Start of FAT */ member in struct:libfat_filesystem
|
/external/google-breakpad/src/common/mac/ |
H A D | macho_walker.cc | 152 // If we don't have a fat header, check if the cpu type matches the single 170 // Read the fat header and find an appropriate architecture 172 struct fat_header fat; local 173 if (!ReadBytes(&fat, sizeof(fat), offset)) 177 swap_fat_header(&fat, NXHostByteOrder()); 179 offset += sizeof(fat); 183 for (uint32_t i = 0; i < fat.nfat_arch; ++i) {
|
H A D | macho_reader_unittest.cc | 199 : fat(kBigEndian), 205 // here, start, and Mark are file offsets in 'fat'. 206 fat.start() = 0; 208 // Append a 'fat_arch' entry to 'fat', with the given field values. 211 fat 218 // Append |n| dummy 'fat_arch' entries to 'fat'. The cpu type and 225 ASSERT_TRUE(fat.GetContents(&contents)); 234 test_assembler::Section fat; 247 fat 256 fat 232 test_assembler::Section fat; member in struct:FatReaderFixture [all...] |
/external/syslinux/core/fs/fat/ |
H A D | fat.c | 29 return get_cache(fs->fs_dev, FAT_SB(fs)->fat + sector); 48 * we got the end of the one fat sector, 50 * so store the low part, then read the next fat 725 struct fat_bpb fat; local 736 disk->rdwr_sectors(disk, &fat, 0, 1, 0); 739 if (!fat.bxResSectors || !fat.bxFATs) 746 sectors_per_fat = fat.bxFATsecs ? : fat.fat32.bxFATsecs_32; 747 total_sectors = fat 795 struct fat_bpb fat; local [all...] |
H A D | fat_fs.h | 32 * The fat file system structures 84 * The fat file system info in memory 87 sector_t fat; /* The FAT region */ member in struct:fat_sb_info 142 static inline int root_dir_size(struct fs_info *fs, struct fat_bpb *fat) argument 144 return (fat->bxRootDirEnts + SECTOR_SIZE(fs)/32 - 1)
|