/freebsd/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 149 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 D | mkfs.c | 421 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 D | ffs_balloc.c | 194 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 D | fs.h | 712 #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 D | ffs_inode.c | 296 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 D | ffs_subr.c | 579 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 D | ffs_snapshot.c | 602 len = fragroundup(fs, blkoff(fs, xp->i_size)); in ffs_snapshot()
|
H A D | ffs_softdep.c | 6803 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 D | mkfs.c | 435 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 D | fs.h | 143 #define fragroundup(fs, size) /* calculates roundup(size, fs->fs_fsize) */ \ macro
|
/freebsd/stand/libsa/ |
H A D | ext2fs.c | 159 #define fragroundup(fs, size) /* roundup(size, fsize) */ \ macro 164 : (fragroundup(fs, blkoff(fs, (dip)->di_size))))
|
/freebsd/sbin/fsck_ffs/ |
H A D | inode.c | 95 numfrags(&sblock, fragroundup(&sblock, offset)); in ckinode() 673 partialsize = fragroundup(&sblock, in setinodebuf() 1072 fragroundup(&sblock, offset)); in check_blkcnt()
|
H A D | setup.c | 292 size = fragroundup(fs, in checksnapinfo()
|
H A D | pass1.c | 411 fragroundup(&sblock, offset)); in checkinode()
|
H A D | pass5.c | 103 fragroundup(fs, CGSIZE(fs)); in pass5()
|
/freebsd/sbin/dumpfs/ |
H A D | dumpfs.c | 443 printf("-i %jd ", fragroundup(fs, lblktosize(fs, fragstoblks(fs, in marshal()
|
/freebsd/usr.sbin/quot/ |
H A D | quot.c | 189 nblk = fragroundup(super,sz); in virtualblocks()
|
/freebsd/sbin/growfs/ |
H A D | growfs.c | 1569 fragroundup(&sblock, sblock.fs_ncg * sizeof(struct csum)); in main()
|