Lines Matching defs:fs
55 #include <sys/fs/ufs_filio.h>
56 #include <sys/fs/ufs_lockfs.h>
57 #include <sys/fs/ufs_fs.h>
58 #include <sys/fs/ufs_inode.h>
59 #include <sys/fs/ufs_fsdir.h>
60 #include <sys/fs/ufs_quota.h>
61 #include <sys/fs/ufs_trans.h>
62 #include <sys/fs/ufs_log.h>
63 #include <sys/dirent.h> /* must be AFTER <sys/fs/fsdir.h>! */
79 #include "fs/fs_subr.h"
88 struct vnode *vp, /* any file on the fs */
98 struct fs *fs; /* fs for file system */
116 fs = ip->i_fs;
119 * check the inode number against the fs's inode number bounds
123 if (STRUCT_FGET(fio, fio_ino) >= fs->fs_ncg * fs->fs_ipg)
314 struct fs *fs;
375 fs = ip->i_fs;
376 if (fs->fs_ronly == 0 &&
377 fs->fs_clean != FSBAD &&
378 fs->fs_clean != FSLOG) {
380 fs->fs_clean = FSSUSPEND;
382 fs->fs_clean = FSACTIVE;
449 struct fs *fsp = ufsvfsp->vfs_fs;
560 * Allow some tunables to be set on a mounted fs
566 struct fs *fs;
595 fs = VTOI(vp)->i_fs;
597 fs->fs_maxcontig = ftp.maxcontig;
598 fs->fs_rotdelay = ftp.rotdelay;
599 fs->fs_maxbpg = ftp.maxbpg;
600 fs->fs_minfree = ftp.minfree;
601 fs->fs_optim = ftp.optim;
608 ufsvfsp->vfs_ioclustsz = fs->fs_bsize * fs->fs_maxcontig;
613 ufsvfsp->vfs_minfrags = (int)((int64_t)fs->fs_dsize *
614 fs->fs_minfree / 100);
619 if (fs->fs_ronly == 0) {