Searched refs:fsinfo (Results 1 - 6 of 6) sorted by relevance

/openbsd-current/sbin/fsck_msdos/
H A Dboot.c44 u_char *fsinfo = NULL; local
133 xperror("could not seek fsinfo block");
141 fsinfo = malloc(fsinfosz);
142 if (fsinfo == NULL) {
143 xperror("could not malloc fsinfo");
146 n = read(dosfs, fsinfo, fsinfosz);
148 xperror("could not read fsinfo block");
152 if (memcmp(fsinfo, "RRaA", 4)
153 || memcmp(fsinfo + 0x1e4, "rrAa", 4)
154 || fsinfo[
306 u_char *fsinfo = NULL; local
[all...]
/openbsd-current/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c271 struct fsinfo *fp;
274 * XXX If the fsinfo block is stored on media with
275 * 2KB or larger sectors, is the fsinfo structure
281 roundup(sizeof(struct fsinfo), pmp->pm_BytesPerSec),
284 fp = (struct fsinfo *)bp->b_data;
297 * Check and validate (or perhaps invalidate?) the fsinfo structure?
H A Dmsdosfs_fat.c385 * XXX If the fsinfo block is stored on media with
386 * 2KB or larger sectors, is the fsinfo structure
396 struct fsinfo *fp = (struct fsinfo *)bpn->b_data;
445 * Maybe update fsinfo sector here?
/openbsd-current/sys/msdosfs/
H A Dbpb.h177 struct fsinfo { struct
H A Dmsdosfs_fat.c344 struct fsinfo *fp = (struct fsinfo *)bpn->b_data;
386 * Maybe update fsinfo sector here?
H A Dmsdosfs_vfsops.c451 struct fsinfo *fp;
456 fp = (struct fsinfo *)bp->b_data;
472 * Check and validate (or perhaps invalidate?) the fsinfo structure? XXX

Completed in 140 milliseconds