Lines Matching defs:fs
37 #include <sys/fs/ufs_inode.h>
38 #include <sys/fs/ufs_filio.h>
39 #include <sys/fs/ufs_snap.h>
43 #include <sys/fs/ufs_bio.h>
67 struct fs *fs = ufsvfsp->vfs_fs;
86 if (fs->fs_ronly) {
131 if (fs->fs_clean != FSACTIVE &&
132 fs->fs_clean != FSSTABLE &&
133 fs->fs_clean != FSCLEAN &&
134 fs->fs_clean != FSLOG) {
165 chunksize = fs->fs_bsize * 4;
175 if ((chunksize < fs->fs_fsize) || (chunksize % fs->fs_fsize != 0)) {
180 fragsperchunk = chunksize >> fs->fs_fshift;
181 nchunks = (fs->fs_size + fragsperchunk) / fragsperchunk;
283 struct fs *fs = ufsvfsp->vfs_fs;
300 for (cg = 0; cg < fs->fs_ncg; cg++) {
303 (daddr_t)fsbtodb(fs, cgtod(fs, cg)), (int)fs->fs_cgsize);
332 (chunksize >> fs->fs_fshift));
339 curfrag += ((chunksize >> fs->fs_fshift) -
341 (chunksize >> fs->fs_fshift))) - 1;
346 ASSERT(cgbase <= fs->fs_size);
350 ASSERT(cgbase == fs->fs_size);
361 struct fs *fs = ufsvfsp->vfs_fs;
383 if (fs->fs_ronly) {