Lines Matching defs:fs
72 #include <ufs/ffs/fs.h>
81 #include <ufs/ffs/fs.h>
97 register struct fs *fs;
107 fs = ip->i_fs;
108 lbn = lblkno(fs, offset);
109 bsize = blksize(fs, ip, lbn);
122 *res = (char *)buf_dataptr(bp) + blkoff(fs, offset);
133 ffs_fragacct(fs, fragmap, fraglist, cnt)
134 struct fs *fs;
143 inblk = (int)(fragtbl[fs->fs_frag][fragmap]) << 1;
145 for (siz = 1; siz < fs->fs_frag; siz++) {
146 if ((inblk & (1 << (siz + (fs->fs_frag % NBBY)))) == 0)
150 for (pos = siz; pos <= fs->fs_frag; pos++) {
169 ffs_isblock(fs, cp, h)
170 struct fs *fs;
176 switch ((int)fs->fs_frag) {
199 ffs_clrblock(fs, cp, h)
200 struct fs *fs;
205 switch ((int)fs->fs_frag) {
227 ffs_setblock(fs, cp, h)
228 struct fs *fs;
233 switch ((int)fs->fs_frag) {