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

  /src/sbin/fsck_msdos/
boot.c 49 u_char *fsinfo; local in function:readboot
106 fsinfo = calloc(2, secsize);
107 if (fsinfo == NULL)
130 boot->FSInfo = block[48] + (block[49] << 8);
133 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
134 != boot->FSInfo * boot->BytesPerSec
135 || (size_t)read(dosfs, fsinfo, 2 * secsize)
137 perr("could not read fsinfo block");
140 if (memcmp(fsinfo, "RRaA", 4)
141 || memcmp(fsinfo + 0x1e4, "rrAa", 4
303 u_char *fsinfo; local in function:writefsinfo
    [all...]
  /src/sys/fs/msdosfs/
bpb.h 184 * FAT32 FSInfo block.
186 struct fsinfo { struct
msdosfs_vfsops.c 801 * Check FSInfo.
804 struct fsinfo *fp;
808 * XXX If the fsinfo block is stored on media with
809 * 2KB or larger sectors, is the fsinfo structure
815 fp = (struct fsinfo *)bp->b_data;
828 * Check and validate (or perhaps invalidate?) the fsinfo structure?
msdosfs_fat.c 406 * If we have an FSInfo block, update it.
415 * The cluster indicated in FSInfo isn't free
426 * XXX If the fsinfo block is stored on media with
427 * 2KB or larger sectors, is the fsinfo structure
433 * Ignore the error, but turn off FSInfo update for the future.
437 struct fsinfo *fp = (struct fsinfo *)bpn->b_data;
486 * Maybe update fsinfo sector here?
  /src/usr.sbin/makefs/msdos/
msdosfs_vfsops.c 333 * Check FSInfo.
336 struct fsinfo *fp;
339 * XXX If the fsinfo block is stored on media with
340 * 2KB or larger sectors, is the fsinfo structure
348 fp = (struct fsinfo *)bp->b_data;
361 * Check and validate (or perhaps invalidate?) the fsinfo structure?

Completed in 210 milliseconds