Searched refs:dtog (Results 1 – 7 of 7) sorted by relevance
/minix/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 120 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 D | ext2fs_alloc.c | 134 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 D | ext2fs.h | 384 #define dtog(fs, d) (((d) - (fs)->e2fs.e2fs_first_dblock) / (fs)->e2fs.e2fs_fpg) macro
|
/minix/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 259 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 D | ffs_balloc.c | 455 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 D | fs.h | 649 #define dtog(fs, d) ((d) / (fs)->fs_fpg) macro
|
/minix/sbin/fsck_ext2fs/ |
H A D | inode.c | 346 c = dtog(&sblock, blk); in chkrange()
|