Lines Matching defs:fs
52 #include <ufs/ffs/fs.h>
76 struct fs *sbp;
83 char *fs, sblock[SBLOCKSIZE];
89 fs = *++argv;
93 if ((fd = open(fs, O_RDWR, 0)) < 0)
94 err(1, "%s", fs);
97 err(1, "%s", fs);
99 errx(1, "%s: can't read superblock", fs);
100 sbp = (struct fs *)sblock;
105 sbp->fs_bsize >= (int)sizeof(struct fs))
120 offset = ino_to_fsba(sbp, inonum); /* inode to fs blk */
121 offset = fsbtodb(sbp, offset); /* fs blk disk blk */
126 err(1, "%s", fs);
128 err(1, "%s", fs);
152 err(1, "%s", fs);
154 err(1, "%s", fs);