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

/freebsd-12-stable/sbin/fsck_msdosfs/
H A Dboot.c51 u_char fsinfo[2 * DOSBOOTBLOCKSIZE]; local
204 || read(dosfs, fsinfo, sizeof fsinfo) != sizeof fsinfo) {
205 perr("could not read fsinfo block");
208 if (memcmp(fsinfo, "RRaA", 4)
209 || memcmp(fsinfo + 0x1e4, "rrAa", 4)
210 || fsinfo[0x1fc]
211 || fsinfo[0x1fd]
212 || fsinfo[
341 u_char fsinfo[2 * DOSBOOTBLOCKSIZE]; local
[all...]
/freebsd-12-stable/usr.sbin/amd/
H A DMakefile9 amd amq fixmount fsinfo hlfsd mk-amd-map pawd \
/freebsd-12-stable/usr.sbin/amd/fsinfo/
H A DMakefile8 .PATH: ${SRCTOP}/contrib/amd/fsinfo
10 PROG= fsinfo
11 MAN= fsinfo.8
12 SRCS= fsi_analyze.c fsi_dict.c fsi_util.c fsinfo.c
15 CFLAGS+= -I${SRCTOP}/contrib/amd/fsinfo \
/freebsd-12-stable/sbin/fsck_ffs/
H A Dutilities.c62 struct fstab *fsinfo; local
92 if ((fsinfo = getfsfile(origname)) == NULL) {
98 newname = fsinfo->fs_spec;
/freebsd-12-stable/contrib/amd/fsinfo/
H A Dwr_dumpset.c36 * File: am-utils/fsinfo/wr_dumpset.c
45 #include <fsinfo.h>
H A Dwr_bparam.c36 * File: am-utils/fsinfo/wr_bparam.c
45 #include <fsinfo.h>
H A Dwr_exportfs.c36 * File: am-utils/fsinfo/wr_exportfs.c
45 #include <fsinfo.h>
H A Dfsi_lex.l37 * File: am-utils/fsinfo/fsi_lex.l
42 * Lexical analyzer for fsinfo.
88 #include <fsinfo.h>
H A Dfsi_dict.c36 * File: am-utils/fsinfo/fsi_dict.c
49 #include <fsinfo.h>
H A Dfsinfo.c36 * File: am-utils/fsinfo/fsinfo.c
41 * fsinfo
49 #include <fsinfo.h>
100 progname = "fsinfo";
H A Dfsi_gram.y36 * File: am-utils/fsinfo/fsi_gram.y
46 #include <fsinfo.h>
H A Dwr_atab.c36 * File: am-utils/fsinfo/wr_atab.c
45 #include <fsinfo.h>
H A Dwr_fstab.c36 * File: am-utils/fsinfo/wr_fstab.c
45 #include <fsinfo.h>
H A Dfsi_util.c33 * File: am-utils/fsinfo/fsi_util.c
42 #include <fsinfo.h>
H A Dfsi_analyze.c36 * File: am-utils/fsinfo/fsi_analyze.c
51 #include <fsinfo.h>
/freebsd-12-stable/lib/libnandfs/
H A Dnandfs.c131 struct nandfs_fsinfo fsinfo; local
143 if (ioctl(fs->n_iocfd, NANDFS_IOCTL_GET_FSINFO, &fsinfo) == -1) {
144 nandfs_seterr(fs, "couldn't fetch fsinfo: %s",
149 memcpy(&fs->n_fsdata, &fsinfo.fs_fsdata, sizeof(fs->n_fsdata));
150 memcpy(&fs->n_sb, &fsinfo.fs_super, sizeof(fs->n_sb));
151 snprintf(fs->n_dev, sizeof(fs->n_dev), "%s", fsinfo.fs_dev);
/freebsd-12-stable/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c268 struct fsinfo *fp;
271 * XXX If the fsinfo block is stored on media with
272 * 2KB or larger sectors, is the fsinfo structure
278 fp = (struct fsinfo *)bp->b_data;
290 * Check and validate (or perhaps invalidate?) the fsinfo structure?
369 struct fsinfo *fp;
383 fp = (struct fsinfo *)bp->b_data;
/freebsd-12-stable/sys/fs/msdosfs/
H A Dbpb.h165 struct fsinfo { struct
H A Dmsdosfs_vfsops.c637 * Check the fsinfo sector if we have one. Silently fix up our
643 struct fsinfo *fp;
648 fp = (struct fsinfo *)bp->b_data;
665 * value if there is no fsinfo. We will use pmp->pm_nxtfree
666 * internally even if there is no fsinfo.
871 struct fsinfo *fp;
886 fp = (struct fsinfo *)bp->b_data;
/freebsd-12-stable/sys/fs/nandfs/
H A Dnandfs_subr.c856 nandfs_get_fsinfo(struct nandfsmount *nmp, struct nandfs_fsinfo *fsinfo) argument
862 memcpy(&fsinfo->fs_fsdata, &fsdev->nd_fsdata, sizeof(fsdev->nd_fsdata));
863 memcpy(&fsinfo->fs_super, &fsdev->nd_super, sizeof(fsdev->nd_super));
864 snprintf(fsinfo->fs_dev, sizeof(fsinfo->fs_dev),
/freebsd-12-stable/targets/pseudo/userland/
H A DMakefile.depend418 usr.sbin/amd/fsinfo \

Completed in 180 milliseconds