Home
last modified time | relevance | path

Searched refs:lblktosize (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/ufs/ffs/
H A Dffs_snapshot.c316 error = UFS_BALLOC(vp, lblktosize(fs, (off_t)numblks), in ffs_snapshot()
321 ip->i_size = lblktosize(fs, (off_t)(numblks + 1)); in ffs_snapshot()
337 error = UFS_BALLOC(vp, lblktosize(fs, (off_t)blkno), in ffs_snapshot()
354 error = UFS_BALLOC(vp, lblktosize(fs, (off_t)(blkno + loc)), in ffs_snapshot()
658 error = UFS_BALLOC(vp, lblktosize(fs, blockno), in ffs_snapshot()
805 auio.uio_offset = lblktosize(fs, (off_t)numblks); in ffs_snapshot()
967 error = UFS_BALLOC(vp, lblktosize(fs, (off_t)(base + loc)), in cgaccount()
979 lblktosize(fs, (off_t)(base + loc)), in cgaccount()
1063 error = ffs_balloc_ufs1(snapvp, lblktosize(fs, (off_t)lbn), in expunge_ufs1()
1076 error = ffs_balloc_ufs1(snapvp, lblktosize(f in expunge_ufs1()
[all...]
H A Dffs_inode.c313 OFF_TO_IDX(lblktosize(fs, -extblocks)), 0); in ffs_truncate()
391 error = UFS_BALLOC(vp, lblktosize(fs, (off_t)lbn), fs->fs_bsize, in ffs_truncate()
H A Dffs_vnops.c738 if (lblktosize(fs, nextlbn) >= ip->i_size) { in ffs_read()
1121 if (lblktosize(fs, nextlbn) >= dp->di_extsize) { in ffs_extread()
1822 if (ealen < 0 || ealen > lblktosize(fs, UFS_NXADDR)) in ffs_setextattr()
1879 if (easize > lblktosize(fs, UFS_NXADDR)) { in ffs_setextattr()
H A Dfs.h701 #define lblktosize(fs, blk) /* calculates ((off_t)blk * fs->fs_bsize) */ \
700 #define lblktosize( global() macro
H A Dffs_softdep.c7257 extend = OFF_TO_IDX(lblktosize(fs, -extblocks)); in trunc_pages()
7282 end = OFF_TO_IDX(lblktosize(fs, lbn)); in trunc_pages()
/freebsd/usr.sbin/makefs/ffs/
H A Dffs_balloc.c124 (uint64_t)lblktosize(fs, lbn + 1)) { in ffs_balloc_ufs1()
179 if (ip->i_ffs1_size < (uint64_t)lblktosize(fs, lbn + 1)) in ffs_balloc_ufs1()
381 (uint64_t)lblktosize(fs, lbn + 1)) { in ffs_balloc_ufs2()
436 if (ip->i_ffs2_size < (uint64_t)lblktosize(fs, lbn + 1)) in ffs_balloc_ufs2()
/freebsd/sys/fs/ext2fs/
H A Dfs.h133 #define lblktosize(fs, blk) /* calculates (blk * fs->fs_bsize) */ \ macro
H A Dext2_vnops.c2080 if (lblktosize(fs, nextlbn) >= ip->i_size) in ext2_read()
/freebsd/sbin/tunefs/
H A Dtunefs.c665 if ((off_t)dp.dp1->di_size >= lblktosize(&sblock, UFS_NDADDR)) { in journal_findfile()
677 if ((off_t)dp.dp2->di_size >= lblktosize(&sblock, UFS_NDADDR)) { in journal_findfile()
812 dp.dp1->di_size = lblktosize(&sblock, lbn+1); in journal_insertfile()
816 dp.dp2->di_size = lblktosize(&sblock, lbn+1); in journal_insertfile()
/freebsd/sys/fs/cd9660/
H A Diso.h266 #define lblktosize(imp, blk) ((blk) << (imp)->im_bshift) macro
H A Dcd9660_vnops.c305 if (lblktosize(imp, rablock) < ip->i_size) in cd9660_read()
313 lblktosize(imp, rablock) < ip->i_size) { in cd9660_read()
/freebsd/sys/fs/udf/
H A Dudf_vnops.c428 #define lblktosize(udfmp, blk) ((blk) << (udfmp)->bshift) macro
489 if (lblktosize(udfmp, rablock) < fsize) { in udf_read()
1031 offset = lblktosize(node->udfmp, bp->b_lblkno); in udf_strategy()
/freebsd/sbin/fsck_ffs/
H A Dsetup.c293 DIP(snapip->i_dp, di_size) - lblktosize(fs, lbn)); in checksnapinfo()
H A Dsuj.c874 size = lblktosize(fs, visitlbn + 1); in ino_adjblks()
1022 diroff = lblktosize(fs, lbn) + dpoff; in ino_free_children()
1361 if (size > lblktosize(fs, visitlbn + 1)) in ino_trunc()
1362 size = lblktosize(fs, visitlbn + 1); in ino_trunc()
H A Dpass1.c472 fixsize = lblktosize(&sblock, idesc->id_lballoc + 1); in checkinode()
/freebsd/sbin/dumpfs/
H A Ddumpfs.c443 printf("-i %jd ", fragroundup(fs, lblktosize(fs, fragstoblks(fs, in marshal()