Home
last modified time | relevance | path

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

/freebsd/usr.sbin/makefs/ffs/
H A Dffs_balloc.c149 osize = fragroundup(fs, blkoff(fs, ip->i_ffs1_size)); in ffs_balloc_ufs1()
150 nsize = fragroundup(fs, size); in ffs_balloc_ufs1()
180 nsize = fragroundup(fs, size); in ffs_balloc_ufs1()
406 osize = fragroundup(fs, blkoff(fs, ip->i_ffs2_size)); in ffs_balloc_ufs2()
407 nsize = fragroundup(fs, size); in ffs_balloc_ufs2()
437 nsize = fragroundup(fs, size); in ffs_balloc_ufs2()
H A Dmkfs.c421 sblock.fs_cgsize = fragroundup(&sblock, CGSIZE(&sblock)); in ffs_mkfs()
435 fragroundup(&sblock, sblock.fs_ncg * sizeof(struct csum)); in ffs_mkfs()
456 sblock.fs_sbsize = fragroundup(&sblock, sizeof(struct fs)); in ffs_mkfs()
/freebsd/sys/ufs/ffs/
H A Dffs_balloc.c194 osize = fragroundup(fs, blkoff(fs, ip->i_size)); in ffs_balloc_ufs1()
195 nsize = fragroundup(fs, size); in ffs_balloc_ufs1()
216 nsize = fragroundup(fs, size); in ffs_balloc_ufs1()
699 osize = fragroundup(fs, blkoff(fs, dp->di_extsize)); in ffs_balloc_ufs2()
700 nsize = fragroundup(fs, size); in ffs_balloc_ufs2()
725 nsize = fragroundup(fs, size); in ffs_balloc_ufs2()
813 osize = fragroundup(fs, blkoff(fs, ip->i_size)); in ffs_balloc_ufs2()
814 nsize = fragroundup(fs, size); in ffs_balloc_ufs2()
836 nsize = fragroundup(fs, size); in ffs_balloc_ufs2()
H A Dfs.h712 #define fragroundup(fs, size) /* calculates roundup(size, fs->fs_fsize) */ \
739 : (fragroundup(fs, blkoff(fs, (ip)->i_size))))
743 : (fragroundup(fs, blkoff(fs, (size)))))
711 #define fragroundup( global() macro
H A Dffs_inode.c296 extblocks = btodb(fragroundup(fs, ip->i_din2->di_extsize)); in ffs_truncate()
486 fragroundup(fs, blkoff(fs, length)) < fs->fs_bsize && in ffs_truncate()
H A Dffs_subr.c579 fragroundup(fs, fs->fs_ncg * sizeof(struct csum)), %jd); in validate_sblock()
728 fragroundup(fs, fs->fs_ncg * sizeof(struct csum)), %jd); in validate_sblock()
H A Dffs_snapshot.c602 len = fragroundup(fs, blkoff(fs, xp->i_size)); in ffs_snapshot()
H A Dffs_softdep.c6803 frags = fragroundup(fs, lastoff); in softdep_journal_freeblocks()
6809 extblocks = btodb(fragroundup(fs, ip->i_din2->di_extsize)); in softdep_journal_freeblocks()
7128 extblocks = btodb(fragroundup(fs, ip->i_din2->di_extsize)); in softdep_setup_freeblocks()
/freebsd/sbin/newfs/
H A Dmkfs.c435 sblock.fs_cgsize = fragroundup(&sblock, CGSIZE(&sblock)); in mkfs()
448 fragroundup(&sblock, sblock.fs_ncg * sizeof(struct csum)); in mkfs()
452 sblock.fs_sbsize = fragroundup(&sblock, sizeof(struct fs)); in mkfs()
927 btodb(fragroundup(&sblock, node.dp1.di_size)); in fsinit()
942 btodb(fragroundup(&sblock, node.dp1.di_size)); in fsinit()
964 btodb(fragroundup(&sblock, node.dp2.di_size)); in fsinit()
979 btodb(fragroundup(&sblock, node.dp2.di_size)); in fsinit()
/freebsd/sys/fs/ext2fs/
H A Dfs.h143 #define fragroundup(fs, size) /* calculates roundup(size, fs->fs_fsize) */ \ macro
/freebsd/stand/libsa/
H A Dext2fs.c159 #define fragroundup(fs, size) /* roundup(size, fsize) */ \ macro
164 : (fragroundup(fs, blkoff(fs, (dip)->di_size))))
/freebsd/sbin/fsck_ffs/
H A Dinode.c95 numfrags(&sblock, fragroundup(&sblock, offset)); in ckinode()
673 partialsize = fragroundup(&sblock, in setinodebuf()
1072 fragroundup(&sblock, offset)); in check_blkcnt()
H A Dsetup.c292 size = fragroundup(fs, in checksnapinfo()
H A Dpass1.c411 fragroundup(&sblock, offset)); in checkinode()
H A Dpass5.c103 fragroundup(fs, CGSIZE(fs)); in pass5()
/freebsd/sbin/dumpfs/
H A Ddumpfs.c443 printf("-i %jd ", fragroundup(fs, lblktosize(fs, fragstoblks(fs, in marshal()
/freebsd/usr.sbin/quot/
H A Dquot.c189 nblk = fragroundup(super,sz); in virtualblocks()
/freebsd/sbin/growfs/
H A Dgrowfs.c1569 fragroundup(&sblock, sblock.fs_ncg * sizeof(struct csum)); in main()