/freebsd/sys/ufs/ffs/ |
H A D | ffs_balloc.c | 148 dbtofsb(fs, bp->b_blkno), dp->di_db[nb], in ffs_balloc_ufs1() 152 dp->di_db[nb] = dbtofsb(fs, bp->b_blkno); in ffs_balloc_ufs1() 211 dbtofsb(fs, bp->b_blkno), nb, in ffs_balloc_ufs1() 233 dp->di_db[lbn] = dbtofsb(fs, bp->b_blkno); in ffs_balloc_ufs1() 665 dbtofsb(fs, bp->b_blkno), in ffs_balloc_ufs2() 720 dbtofsb(fs, bp->b_blkno), nb, in ffs_balloc_ufs2() 743 dp->di_extb[lbn] = dbtofsb(fs, bp->b_blkno); in ffs_balloc_ufs2() 768 dbtofsb(fs, bp->b_blkno), in ffs_balloc_ufs2() 773 dp->di_db[nb] = dbtofsb(fs, bp->b_blkno); in ffs_balloc_ufs2() 831 dbtofsb(fs, bp->b_blkno), nb, in ffs_balloc_ufs2() [all …]
|
H A D | ffs_alloc.c | 601 dbtofsb(fs, buflist->bs_children[i]->b_blkno), fs->fs_bsize)) in ffs_reallocblks_ufs1() 629 if (dtog(fs, dbtofsb(fs, buflist->bs_children[0]->b_blkno)) != in ffs_reallocblks_ufs1() 722 dbtofsb(fs, buflist->bs_children[i]->b_blkno), fs->fs_bsize)) in ffs_reallocblks_ufs1() 724 if (dbtofsb(fs, buflist->bs_children[i]->b_blkno) != *bap) in ffs_reallocblks_ufs1() 798 dbtofsb(fs, bp->b_blkno), in ffs_reallocblks_ufs1() 804 if (!ffs_checkfreeblk(ip, dbtofsb(fs, bp->b_blkno), in ffs_reallocblks_ufs1() 867 dbtofsb(fs, buflist->bs_children[i]->b_blkno), fs->fs_bsize)) in ffs_reallocblks_ufs2() 895 if (dtog(fs, dbtofsb(fs, buflist->bs_children[0]->b_blkno)) != in ffs_reallocblks_ufs2() 989 if (dbtofsb(fs, buflist->bs_children[i]->b_blkno) != *bap) in ffs_reallocblks_ufs2() 1063 dbtofsb(fs, bp->b_blkno), in ffs_reallocblks_ufs2() [all …]
|
H A D | fs.h | 646 #define dbtofsb(fs, b) ((b) >> (fs)->fs_fsbtodb) macro
|
H A D | ffs_vfsops.c | 1574 fs->fs_cstotal.cs_nffree + dbtofsb(fs, fs->fs_pendingblocks); in ffs_statfs() 1576 dbtofsb(fs, fs->fs_pendingblocks); in ffs_statfs()
|
H A D | ffs_snapshot.c | 2172 lbn = fragstoblks(fs, dbtofsb(fs, bp->b_blkno)); in ffs_bp_snapblk() 2295 lbn = fragstoblks(fs, dbtofsb(fs, bp->b_blkno)); in ffs_copyonwrite()
|
H A D | ffs_softdep.c | 6226 if (newblk_lookup(mp, dbtofsb(fs, bp->b_blkno), 0, &newblk)) in indirdep_lookup() 6517 if (newblk_lookup(mp, dbtofsb(ump->um_fs, bp->b_blkno), 0, in setup_trunc_indir() 8486 dbn = dbtofsb(fs, dbn); in indir_trunc() 8836 if (newblk_lookup(mp, dbtofsb(fs, bp->b_blkno), 0, &newblk) in softdep_setup_directory_add()
|
/freebsd/sys/fs/ext2fs/ |
H A D | fs.h | 103 #define dbtofsb(fs, b) ((b) >> (fs)->e2fs_fsbtodb) macro
|
H A D | ext2_inode_cnv.c | 302 ei->e2di_nblock = htole32(dbtofsb(fs, ip->i_blocks)); in ext2_i2ei() 303 ei->e2di_nblock_high = htole16(dbtofsb(fs, ip->i_blocks) >> 32 & 0xffff); in ext2_i2ei()
|
H A D | ext2_balloc.c | 166 ip->i_db[lbn] = dbtofsb(fs, bp->b_blkno); in ext2_balloc()
|
H A D | ext2_alloc.c | 252 if (dtog(fs, dbtofsb(fs, buflist->bs_children[0]->b_blkno)) != in ext2_reallocblks() 253 dtog(fs, dbtofsb(fs, buflist->bs_children[len - 1]->b_blkno))) in ext2_reallocblks() 358 ext2_blkfree(ip, dbtofsb(fs, buflist->bs_children[i]->b_blkno), in ext2_reallocblks()
|
/freebsd/sbin/fsdb/ |
H A D | fsdb.c | 504 wantedblk64[i - 1] = dbtofsb(&sblock, strtoull(argv[i], NULL, 0)); in CMDFUNCSTART() 510 wantedblk32[i - 1] = dbtofsb(&sblock, strtoull(argv[i], NULL, 0)); in CMDFUNCSTART()
|
/freebsd/sbin/growfs/ |
H A D | growfs.c | 1439 dbtofsb(&osblock, size / DEV_BSIZE); in main() 1440 sblock.fs_providersize = dbtofsb(&osblock, mediasize / DEV_BSIZE); in main()
|
/freebsd/sbin/newfs/ |
H A D | mkfs.c | 272 sblock.fs_size = fssize = dbtofsb(&sblock, fssize); in mkfs() 273 sblock.fs_providersize = dbtofsb(&sblock, mediasize / sectorsize); in mkfs()
|
/freebsd/usr.sbin/makefs/ffs/ |
H A D | mkfs.c | 273 dbtofsb(&sblock, fssize); in ffs_mkfs()
|
/freebsd/sbin/fsck_ffs/ |
H A D | inode.c | 947 copyblkno = blknum(fs, dbtofsb(fs, bp->b_bno)); in copyonwrite()
|