Lines Matching defs:fs

67 #include <sys/fs/ufs_fs.h>
68 #include <sys/fs/ufs_lockfs.h>
69 #include <sys/fs/ufs_filio.h>
70 #include <sys/fs/ufs_inode.h>
71 #include <sys/fs/ufs_fsdir.h>
72 #include <sys/fs/ufs_quota.h>
73 #include <sys/fs/ufs_log.h>
74 #include <sys/fs/ufs_snap.h>
75 #include <sys/fs/ufs_trans.h>
76 #include <sys/fs/ufs_panic.h>
77 #include <sys/fs/ufs_bio.h>
78 #include <sys/dirent.h> /* must be AFTER <sys/fs/fsdir.h>! */
97 #include <fs/fs_subr.h>
99 #include <sys/fs/decomp.h>
738 struct fs *fs;
773 fs = ip->i_fs;
879 fs = ip->i_fs;
884 on = (int)blkoff(fs, uoff);
885 n = (int)MIN(fs->fs_bsize - on, uio->uio_resid);
1093 !(fs->fs_flags & FSLARGEFILES)) {
1096 fs->fs_flags |= FSLARGEFILES;
1344 struct fs *fs;
1366 fs = ufsvfsp->vfs_fs;
1386 if (!ULOCKFS_IS_NOIACC(ITOUL(ip)) && (fs->fs_ronly == 0) &&
1408 on = (u_offset_t)blkoff(fs, uoff);
1409 n = MIN((u_offset_t)fs->fs_bsize - on,
1560 struct fs *fs;
1575 fs = ufsvfsp->vfs_fs;
1584 TOP_SETQUOTA_SIZE(fs));
1591 TOP_SETQUOTA_SIZE(fs));
1823 * Tune the file system (aka setting fs attributes)
1890 if (copyout(fs, (void *)arg, SBSIZE))
1956 * from the archive. See uts/common/fs/dcfs for details.
2111 struct fs *fs;
2142 fs = ufsvfsp->vfs_fs;
2143 if (fs->fs_ronly != 0)
3957 * Get space to change directory entries into fs independent format.
3997 "fs = %s\n",
4517 struct fs *fs;
4544 fs = ufsvfsp->vfs_fs;
4675 offset = uoff & (offset_t)fs->fs_bmask;
4677 blk_size = (int)blksize(fs, ip, lblkno(fs, offset));
4836 (fs->fs_ronly == 0) &&
5360 struct fs *fs;
5375 fs = ip->i_fs;
5376 ASSERT(fs->fs_ronly == 0);
5396 off = pp->p_offset & (offset_t)fs->fs_bmask; /* block align it */
5437 err = bmap_set_bn(vp, off, dbtofsb(fs, -bn));
5468 ASSERT(io_len - contig < fs->fs_bsize);
6145 struct fs *fs = ip->i_fs;
6147 int disk_blks = fs->fs_bsize >> DEV_BSHIFT;
6184 lfsbn = (daddr_t)lblkno(fs, ldbtob(ldbn));
6185 dbn = fsbtodb(fs, dump_info->dblk[lfsbn]) + ldbn % disk_blks;
6188 while (ndbs < dblks && fsbtodb(fs, dump_info->dblk[lfsbn +
6215 * Scan dump_info for *blkp DEV_BSIZE blocks of contig fs space;
6225 struct fs *fs;
6246 fs = ufsvfsp->vfs_fs;
6258 entries = (int)lblkno(fs, blkroundup(fs, ip->i_size));
6280 ip->i_dev, fsbtodb(fs, ip->i_ib[i]), fs->fs_bsize);
6326 fs = ufsvfsp->vfs_fs;
6327 ncontig = *blkp >> (fs->fs_bshift - DEV_BSHIFT);
6330 * scan dblk[] entries; contig fs space is found when:
6335 if ((*dblk + fs->fs_frag) == *nextblk)
6350 *blkp = i << (fs->fs_bshift - DEV_BSHIFT);
6366 struct fs *fs = ufsvfsp->vfs_fs;
6371 for (i = 0; i < NINDIR(fs); i++) {
6378 for (i = 0; i < NINDIR(fs); i++) {
6382 ip->i_dev, fsbtodb(fs, dblk[i]), fs->fs_bsize);