Home
last modified time | relevance | path

Searched refs:fragroundup (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfs.h411 #define fragroundup(fs, size) /* calculates roundup(size, fs->fs_fsize) */ \ macro
436 : (fragroundup(fs, blkoff(fs, (ip)->i_size))))
440 : (fragroundup(fs, blkoff(fs, (dip)->di_size))))
H A Dufs2.h395 #define fragroundup(fs, size) /* calculates roundup(size, fs->fs_fsize) */ \ macro
413 : (fragroundup(fs, blkoff(fs, (ip)->i_size))))
417 : (fragroundup(fs, blkoff(fs, (size)))))
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_fs.h668 #define fragroundup(fs, size) /* calculates roundup(size, fs->fs_fsize) */ \ macro
703 : (fragroundup(fs, blkoff(fs, (ip)->i_size))))
709 : (fragroundup(fs, blkoff(fs, (dip)->di_size))))
/illumos-gate/usr/src/boot/sys/ufs/ffs/
H A Dfs.h587 #define fragroundup(fs, size) /* calculates roundup(size, fs->fs_fsize) */ \ macro
613 : (fragroundup(fs, blkoff(fs, (ip)->i_size))))
617 : (fragroundup(fs, blkoff(fs, (size)))))
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_bmap.c126 tmp = fragroundup((fs), size) - \
449 osize = fragroundup(fs, blkoff(fs, ip->i_size)); in bmap_write()
450 nsize = fragroundup(fs, size); in bmap_write()
485 nsize = fragroundup(fs, size); in bmap_write()
H A Dufs_inode.c1271 fs->fs_bsize : fragroundup(fs, boff); in ufs_itrunc()
1373 fs->fs_bsize : fragroundup(fs, boff); in ufs_itrunc()
/illumos-gate/usr/src/boot/libsa/
H A Dext2fs.c162 #define fragroundup(fs, size) /* roundup(size, fsize) */ \ macro
167 : (fragroundup(fs, blkoff(fs, (dip)->di_size))))
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c1855 sblock.fs_cgsize = fragroundup(&sblock, CGSIZE(&sblock)); in main()
1895 sblock.fs_sbsize = fragroundup(&sblock, sizeof (struct fs)); in main()
1936 sblock.fs_sbsize = fragroundup(&sblock, totalsbsize); in main()
2027 fragroundup(&sblock, sblock.fs_ncg * sizeof (struct csum)); in main()
2821 node.i_blocks = btodb(fragroundup(&sblock, (int)node.i_size)); in fsinit()
2835 node.i_blocks = btodb(fragroundup(&sblock, (int)node.i_size)); in fsinit()
4661 new_fs_cssize = fragroundup(&sblock, new_fs_ncg * sizeof (struct csum)); in probe_summaryinfo()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dsetup.c1105 fragroundup(&sblock, sblock.fs_ncg * sizeof (struct csum))) { in checksb()
H A Dinode.c274 numfrags(&sblock, fragroundup(&sblock, offset)); in ckinode_common()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c4197 filesize = fragroundup(fs, in fprnt()