Home
last modified time | relevance | path

Searched refs:cgtod (Results 1 – 15 of 15) sorted by relevance

/dragonfly/sbin/growfs/
H A Dgrowfs.c501 wtfs(fsbtodb(&sblock, cgtod(&sblock, cylno)), in initcg()
671 rdfs(fsbtodb(&osblock, cgtod(&osblock, cylno)), in updjcg()
691 wtfs(fsbtodb(&sblock, cgtod(&sblock, cylno)), in updjcg()
881 wtfs(fsbtodb(&sblock, cgtod(&sblock, cylno)), (size_t)sblock.fs_cgsize, in updjcg()
944 rdfs(fsbtodb(&osblock, cgtod(&osblock, ocscg)), in updcsloc()
1108 wtfs(fsbtodb(&sblock, cgtod(&sblock, ocscg)), in updcsloc()
1139 rdfs(fsbtodb(&sblock, cgtod(&sblock, ncscg)), in updcsloc()
1215 wtfs(fsbtodb(&sblock, cgtod(&sblock, ncscg)), in updcsloc()
1528 wtfs(fsbtodb(&sblock, cgtod(&sblock, ocscg)), (size_t)sblock.fs_cgsize, in updcsloc()
/dragonfly/sys/vfs/ufs/
H A Dffs_alloc.c935 error = bread(ip->i_devvp, fsbtodoff(fs, cgtod(fs, cg)), in ffs_fragextend()
1012 error = bread(ip->i_devvp, fsbtodoff(fs, cgtod(fs, cg)), in ffs_alloccg()
1245 if (bread(ip->i_devvp, fsbtodoff(fs, cgtod(fs, cg)), in ffs_clusteralloc()
1372 error = bread(ip->i_devvp, fsbtodoff(fs, cgtod(fs, cg)), in ffs_nodealloccg()
1519 error = bread(i_devvp, fsbtodoff(fs, cgtod(fs, cg)), in ffs_blkfree_cg()
1722 error = bread(ip->i_devvp, fsbtodoff(fs, cgtod(fs, dtog(fs, bno))), in ffs_checkblk()
1779 error = bread(pip->i_devvp, fsbtodoff(fs, cgtod(fs, cg)), in ffs_freefile()
H A Dfs.h446 #define cgtod(fs, c) (cgstart(fs, c) + (fs)->fs_cblkno) /* cg block */ macro
H A Dffs_softdep.c1091 if ((error = bread(devvp, fsbtodoff(fs, cgtod(fs, cyl)), in softdep_mount()
/dragonfly/sbin/badsect/
H A Dbadsect.c178 rdfs(fsbtodb(fs, cgtod(fs, cg)), (int)sblock.fs_cgsize, in chkuse()
/dragonfly/sbin/newfs/
H A Dmkfs.c919 wtfs(fsbtodb(&sblock, cgtod(&sblock, cylno)), in initcg()
1052 rdfs(fsbtodb(&sblock, cgtod(&sblock, 0)), sblock.fs_cgsize, in alloc()
1091 wtfs(fsbtodb(&sblock, cgtod(&sblock, 0)), sblock.fs_cgsize, in alloc()
1142 rdfs(fsbtodb(&sblock, cgtod(&sblock, 0)), sblock.fs_cgsize, in iput()
1150 wtfs(fsbtodb(&sblock, cgtod(&sblock, 0)), sblock.fs_cgsize, in iput()
/dragonfly/usr.sbin/makefs/ffs/
H A Dffs_alloc.c309 error = bread(ip->i_devvp, fsbtodb(fs, cgtod(fs, cg)), (int)fs->fs_cgsize, in ffs_alloccg()
457 error = bread(ip->i_devvp, fsbtodb(fs, cgtod(fs, cg)), (int)fs->fs_cgsize, in ffs_blkfree()
/dragonfly/sbin/ffsinfo/
H A Dffsinfo.c346 rdfs(fsbtodb(&sblock, cgtod(&sblock, cylno)), in main()
/dragonfly/sbin/fsck/
H A Dpass1.c106 getblk(&cgblk, cgtod(&sblock, c), sblock.fs_cgsize); in pass1()
H A Dpass5.c169 getblk(&cgblk, cgtod(fs, c), fs->fs_cgsize); in pass5()
H A Dutilities.c394 getblk(&cgblk, cgtod(&sblock, cg), sblock.fs_cgsize); in allocblk()
H A Dinode.c579 getblk(&cgblk, cgtod(&sblock, cg), sblock.fs_cgsize); in allocino()
/dragonfly/stand/boot/common/
H A Dfs.h503 #define cgtod(fs, c) (cgstart(fs, c) + (fs)->fs_cblkno) /* cg block */ macro
/dragonfly/sbin/dumpfs/
H A Ddumpfs.c253 if ((cur = lseek(fd, (off_t)(fsbtodb(&afs, cgtod(&afs, c))) * in dumpcg()
/dragonfly/usr.sbin/makefs/
H A Dffs.c1158 ffs_rdfs(fsbtodb(fs, cgtod(fs, cg)), (int)fs->fs_cgsize, &sbbuf, in ffs_write_inode()
1211 ffs_wtfs(fsbtodb(fs, cgtod(fs, cg)), (int)fs->fs_cgsize, &sbbuf, in ffs_write_inode()