Lines Matching defs:fs
54 #include <ufs/ffs/fs.h>
75 struct fs *sbp;
84 char *fs, sblock[SBLOCKSIZE];
94 fs = *++argv;
98 if ((fd = open(fs, O_RDWR, 0)) < 0)
99 err(1, "%s", fs);
103 errx(1, "%s: can't find superblock", fs);
105 errx(1, "%s: can't read superblock", fs);
107 sbp = (struct fs *)sblock;
149 err(1, "%s", fs);
151 errx(1, "%s: can't rewrite superblock", fs);
173 offset = ino_to_fsba(sbp, inonum); /* inode to fs blk */
174 offset = FFS_FSBTODB(sbp, offset); /* fs blk disk blk */
179 err(1, "%s", fs);
181 err(1, "%s", fs);
202 err(1, "%s", fs);
204 err(1, "%s", fs);