HomeSort by: relevance | last modified time | path
    Searched refs:fat (Results 1 - 25 of 25) sorted by relevancy

  /src/sys/arch/i386/stand/fatboot/fat12/
Makefile 6 .include <../Makefile.fat>
  /src/sys/arch/i386/stand/fatboot/fat16/
Makefile 6 .include <../Makefile.fat>
  /src/sbin/fsck_msdos/
fat.c 1 /* $NetBSD: fat.c,v 1.30 2019/06/04 00:08:00 christos Exp $ */
31 __RCSID("$NetBSD: fat.c,v 1.30 2019/06/04 00:08:00 christos Exp $");
52 checkclnum(struct bootblock *boot, u_int fat, cl_t cl, cl_t *next)
66 pwarn("Cluster %u in FAT %u continues with %s cluster number %u\n",
67 cl, fat,
80 * Read a FAT from disk. Returns 1 if successful, 0 otherwise.
90 perr("No space for FAT sectors (%zu)", len);
98 perr("Unable to read FAT");
104 perr("Unable to read FAT");
116 * Read a FAT and decode it into internal forma
121 struct fatEntry *fat; local
    [all...]
check.c 49 struct fatEntry *fat = NULL; local
86 printf("** Phase 1 - Read FAT\n");
89 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat);
104 mod |= comparefat(&boot, fat, currentFat, i);
113 mod |= checkfat(&boot, fat);
121 mod |= resetDosDirSection(&boot, fat);
127 mod |= handleDirTree(dosfs, &boot, fat);
134 mod |= checklost(dosfs, &boot, fat);
141 mod |= writefat(dosfs, &boot, fat, mod & FSFIXFAT);
165 mod |= writefat(dosfs, &boot, fat, 1)
    [all...]
dir.c 218 resetDosDirSection(struct bootblock *boot, struct fatEntry *fat)
253 cl = fat[boot->RootCl].next;
256 || fat[boot->RootCl].head != boot->RootCl) {
267 fat[boot->RootCl].next = CLUST_FREE;
273 fat[boot->RootCl].flags |= FAT_USED;
314 delete(int f, struct bootblock *boot, struct fatEntry *fat, cl_t startcl,
347 startcl = fat[startcl].next;
354 removede(int f, struct bootblock *boot, struct fatEntry *fat, u_char *start,
371 if (delete(f, boot, fat,
391 checksize(struct bootblock *boot, struct fatEntry *fat, u_char *p,
    [all...]
Makefile 7 SRCS= main.c check.c boot.c fat.c dir.c fsutil.c snapshot.c
  /src/sys/fs/msdosfs/
Makefile 5 INCS= bootsect.h bpb.h denode.h direntry.h fat.h msdosfsmount.h
msdosfs_denode.c 72 #include <fs/msdosfs/fat.h>
246 msdosfs_fc_purge(ldep, 0); /* init the FAT cache for this denode */
msdosfs_fat.c 83 #include <fs/msdosfs/fat.h>
86 * Fat cache stats.
252 * Rummage around in the FAT cache, maybe we can avoid tromping
253 * thru every FAT entry for the file. And, keep track of how far
340 /* update last file cluster entry in the FAT cache */
347 * Find the closest entry in the FAT cache to the cluster we are looking
372 * Purge the FAT cache in denode dep of all entries relating to file
389 * Update the FAT.
390 * If mirroring the FAT, update all copies, with the first copy as last.
391 * Else update only the current FAT (ignoring the others)
    [all...]
msdosfs_lookup.c 76 #include <fs/msdosfs/fat.h>
msdosfs_rename.c 53 #include <fs/msdosfs/fat.h>
msdosfs_vfsops.c 85 #include <fs/msdosfs/fat.h>
106 MALLOC_JUSTDEFINE(M_MSDOSFSFAT, "MSDOSFS FAT", "MSDOS FS FAT table");
528 * Some FAT partition, for example Raspberry Pi Pico's
531 * FAT floppy disks have similar problems.
578 * Sanity checks, from the FAT specification:
668 /* Check that fs has nonzero FAT size */
715 * sure that one FAT entry will not be split across
728 /* validate cluster count against FAT */
736 /* validate FAT size *
    [all...]
msdosfs_vnops.c 79 #include <fs/msdosfs/fat.h>
  /src/sys/netinet/
tcp_vtw.c 166 /*!\brief allocate a fat pointer from a collection.
169 fatp_alloc(fatp_ctl_t *fat)
173 if (fat->nfree) {
174 fp = fat->free;
176 fat->free = fatp_next(fat, fp);
177 --fat->nfree;
178 ++fat->nalloc;
188 /*!\brief free a fat pointer.
191 fatp_free(fatp_ctl_t *fat, fatp_t *fp
516 fatp_ctl_t *fat = ctl->fat; local
1783 fatp_ctl_t *fat; local
1810 fatp_ctl_t *fat; local
1851 fatp_ctl_t *fat; local
    [all...]
tcp_vtw.h 41 * One such ad-hoc technique is fat pointers. Additional degrees of
45 * The 'fat pointer' approach aggregates, for x86_32, 15 linked-list
47 * cache line are used for linking fat pointers, and for
55 * All the fat pointers are from a contiguous allocation arena. Thus,
62 * In order to add a data element to a fat pointer, a key value is
97 * search time, and use fat pointers to reduce the cache impacts of
106 * expiration. It will be added to a hash bucket implemented with fat
109 * will be added to this. As more entries are added, the fat pointer
110 * cache line will fill, requiring additional cache lines for fat
113 * expire, the corresponding slot in the fat pointer will b
249 fatp_ctl_t *fat; \/* collection of fatp to use *\/ member in struct:vtw_ctl
    [all...]
  /src/external/gpl3/binutils/dist/gas/config/
te-vms.c 125 FAT recattr;
270 if (siz) *siz = (512 * 65536 * recattr.fat$w_efblkh) +
271 (512 * (recattr.fat$w_efblkl - 1)) +
272 recattr.fat$w_ffbyte;
273 if (rfo) *rfo = recattr.fat$v_rtype;
  /src/external/gpl3/binutils.old/dist/gas/config/
te-vms.c 125 FAT recattr;
270 if (siz) *siz = (512 * 65536 * recattr.fat$w_efblkh) +
271 (512 * (recattr.fat$w_efblkl - 1)) +
272 recattr.fat$w_ffbyte;
273 if (rfo) *rfo = recattr.fat$v_rtype;
  /src/usr.bin/netstat/
vtw.c 319 vtw_tcpv4[i].fat = &fat_tcpv4;
426 vtw_tcpv6[i].fat = &fat_tcpv6;
  /src/sys/arch/atari/stand/xxboot/ahdi-xxboot/
xxboot.ahdi.S 45 .byte 0 | fat
  /src/sys/arch/atari/stand/xxboot/fdboot/
fdboot.S 45 .byte 0 | fat
  /src/usr.sbin/makefs/msdos/
msdosfs_denode.c 65 #include <fs/msdosfs/fat.h>
msdosfs_vfsops.c 64 #include <fs/msdosfs/fat.h>
239 /* Check that fs has nonzero FAT size */
281 * sure that one FAT entry will not be split across
msdosfs_vnops.c 67 #include <fs/msdosfs/fat.h>
  /src/external/bsd/zstd/dist/
Makefile 200 .PHONY: clangbuild-darwin-fat
201 clangbuild-darwin-fat: clean
  /src/external/gpl3/gcc.old/dist/gcc/
vmsdbgout.cc 1706 FAT recattr;
1824 if (siz) *siz = (512 * 65536 * recattr.fat$w_efblkh) +
1825 (512 * (recattr.fat$w_efblkl - 1)) +
1826 recattr.fat$w_ffbyte;
1827 if (rfo) *rfo = recattr.fat$v_rtype;

Completed in 49 milliseconds