Home
last modified time | relevance | path

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

/netbsd/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()
/netbsd/sys/ufs/ffs/
H A Dffs_alloc.c257 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 Dffs_balloc.c469 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 Dfs.h660 #define dtog(fs, d) ((d) / (fs)->fs_fpg) macro
/netbsd/sys/ufs/ext2fs/
H A Dext2fs_alloc.c139 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 Dext2fs.h522 #define dtog(fs, d) (((d) - (fs)->e2fs.e2fs_first_dblock) / (fs)->e2fs.e2fs_fpg) macro
/netbsd/sbin/resize_ffs/
H A Dresize_ffs.c669 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 Dbadsect.c217 cg = (int)dtog(fs, fsbn); in chkuse()
/netbsd/sbin/fsck_ffs/
H A Dpass4.c167 cg = dtog(sblock, blkno); in pass4check()
H A Dutilities.c425 cg = dtog(sblock, i + j); in allocblk()
H A Dinode.c291 c = dtog(sblock, blk); in chkrange()
/netbsd/sbin/fsck_ext2fs/
H A Dinode.c346 c = dtog(&sblock, blk); in chkrange()