Searched refs:dtog (Results 1 – 12 of 12) sorted by relevance
/netbsd/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()
|
/netbsd/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 257 cg = dtog(fs, bpref); in ffs_alloc() 404 cg = dtog(fs, bprev); in ffs_realloccg() 814 startcg = dtog(fs, in ffs_blkpref_ufs1() 878 startcg = dtog(fs, in ffs_blkpref_ufs2() 1197 if (bpref == 0 || dtog(fs, bpref) != ufs_rw32(cgp->cg_cgx, needswap)) { in ffs_alloccgblk() 1470 cg = dtog(fs, bno); in ffs_blkalloc_ump() 1574 cg = dtog(fs, bno); in ffs_blkfree_cg() 1846 cg = dtog(fs, bno); in ffs_blkfree_snap() 1882 cg = dtog(fs, bno); in ffs_blkfree_common()
|
H A D | ffs_balloc.c | 469 nb = FFS_FSBTODB(fs, cgtod(fs, dtog(fs, in ffs_balloc_ufs1() 987 nb = FFS_FSBTODB(fs, cgtod(fs, dtog(fs, in ffs_balloc_ufs2()
|
H A D | fs.h | 660 #define dtog(fs, d) ((d) / (fs)->fs_fpg) macro
|
/netbsd/sys/ufs/ext2fs/ |
H A D | ext2fs_alloc.c | 139 cg = dtog(fs, bpref); in ext2fs_alloc() 350 if (dtog(fs, bpref) != cg) in ext2fs_alloccg() 511 cg = dtog(fs, bno); in ext2fs_blkfree()
|
H A D | ext2fs.h | 522 #define dtog(fs, d) (((d) - (fs)->e2fs.e2fs_first_dblock) / (fs)->e2fs.e2fs_fpg) macro
|
/netbsd/sbin/resize_ffs/ |
H A D | resize_ffs.c | 669 cgn = dtog(newsb, hand); in find_freespace() 721 cgn = dtog(newsb, hand); in find_freeblock() 795 cgn = dtog(newsb, fno); in free_frag() 808 cgn = dtog(newsb, fno); in alloc_frag() 861 cgn = dtog(newsb, i); in csum_fixup() 1350 clr_bits(cg_blksfree(cgs[dtog(oldsb, off)], 0), in fragmove() 1399 clr_bits(cg_blksfree(cgs[dtog(oldsb, off)], 0), in evict_data()
|
/netbsd/sbin/badsect/ |
H A D | badsect.c | 217 cg = (int)dtog(fs, fsbn); in chkuse()
|
/netbsd/sbin/fsck_ffs/ |
H A D | pass4.c | 167 cg = dtog(sblock, blkno); in pass4check()
|
H A D | utilities.c | 425 cg = dtog(sblock, i + j); in allocblk()
|
H A D | inode.c | 291 c = dtog(sblock, blk); in chkrange()
|
/netbsd/sbin/fsck_ext2fs/ |
H A D | inode.c | 346 c = dtog(&sblock, blk); in chkrange()
|