Home
last modified time | relevance | path

Searched refs:dtog (Results 1 – 7 of 7) sorted by relevance

/minix/usr.sbin/makefs/ffs/
H A Dffs_alloc.c120 cg = dtog(fs, bpref); in ffs_alloc()
179 startcg = dtog(fs, in ffs_blkpref_ufs1()
218 startcg = dtog(fs, in ffs_blkpref_ufs2()
395 if (bpref == 0 || dtog(fs, bpref) != ufs_rw32(cgp->cg_cgx, needswap)) { in ffs_alloccgblk()
447 cg = dtog(fs, bno); in ffs_blkfree()
/minix/sys/ufs/ext2fs/
H A Dext2fs_alloc.c134 cg = dtog(fs, bpref); in ext2fs_alloc()
366 if (dtog(fs, bpref) != cg) in ext2fs_alloccg()
504 cg = dtog(fs, bno); in ext2fs_blkfree()
H A Dext2fs.h384 #define dtog(fs, d) (((d) - (fs)->e2fs.e2fs_first_dblock) / (fs)->e2fs.e2fs_fpg) macro
/minix/sys/ufs/ffs/
H A Dffs_alloc.c259 cg = dtog(fs, bpref); in ffs_alloc()
399 cg = dtog(fs, bprev); in ffs_realloccg()
802 startcg = dtog(fs, in ffs_blkpref_ufs1()
866 startcg = dtog(fs, in ffs_blkpref_ufs2()
1167 if (bpref == 0 || dtog(fs, bpref) != ufs_rw32(cgp->cg_cgx, needswap)) { in ffs_alloccgblk()
1409 cg = dtog(fs, bno); in ffs_blkalloc_ump()
1512 cg = dtog(fs, bno); in ffs_blkfree_cg()
1785 cg = dtog(fs, bno); in ffs_blkfree_snap()
1820 cg = dtog(fs, bno); in ffs_blkfree_common()
H A Dffs_balloc.c455 nb = FFS_FSBTODB(fs, cgtod(fs, dtog(fs, in ffs_balloc_ufs1()
976 nb = FFS_FSBTODB(fs, cgtod(fs, dtog(fs, in ffs_balloc_ufs2()
H A Dfs.h649 #define dtog(fs, d) ((d) / (fs)->fs_fpg) macro
/minix/sbin/fsck_ext2fs/
H A Dinode.c346 c = dtog(&sblock, blk); in chkrange()