fragroundup
numfrags(&sblock, fragroundup(&sblock, offset));
fragroundup(fs, CGSIZE(fs));
if (sblock.fs_cgsize != fragroundup(&sblock, CGSIZE(&sblock))) {
sblock.fs_cgsize = fragroundup(&sblock, CGSIZE(&sblock));
fragroundup(&sblock, sblock.fs_ncg * sizeof(struct csum));
sblock.fs_cgsize = fragroundup(&sblock, CGSIZE(&sblock));
fragroundup(&sblock, sblock.fs_ncg * sizeof(struct csum));
sblock.fs_sbsize = fragroundup(&sblock, sizeof(struct fs));
node.dp1.di_blocks = btodb(fragroundup(&sblock, node.dp1.di_size));
node.dp1.di_blocks = btodb(fragroundup(&sblock, node.dp1.di_size));
node.dp2.di_blocks = btodb(fragroundup(&sblock, node.dp2.di_size));
node.dp2.di_blocks = btodb(fragroundup(&sblock, node.dp2.di_size));
osize = fragroundup(fs, blkoff(fs, ip->i_ffs1_size));
nsize = fragroundup(fs, size);
nsize = fragroundup(fs, size);
osize = fragroundup(fs, blkoff(fs, ip->i_ffs2_size));
nsize = fragroundup(fs, size);
nsize = fragroundup(fs, size);
: (fragroundup(fs, blkoff(fs, DIP((ip), size)))))
: (fragroundup(fs, blkoff(fs, (dip)->di_size))))
: (fragroundup(fs, blkoff(fs, (size)))))
osize = fragroundup(fs, blkoff(fs, ip->i_ffs1_size));
nsize = fragroundup(fs, size);
nsize = fragroundup(fs, size);
osize = fragroundup(fs, blkoff(fs, ip->i_ffs2_size));
nsize = fragroundup(fs, size);
nsize = fragroundup(fs, size);
sblock.fs_cgsize = fragroundup(&sblock, CGSIZE(&sblock));
fragroundup(&sblock, sblock.fs_ncg * sizeof(struct csum));
sblock.fs_sbsize = fragroundup(&sblock, sizeof(struct fs));
nblk = fragroundup(super, sz);