/dragonfly/sbin/growfs/ |
H A D | growfs.c | 501 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 D | ffs_alloc.c | 935 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 D | fs.h | 446 #define cgtod(fs, c) (cgstart(fs, c) + (fs)->fs_cblkno) /* cg block */ macro
|
H A D | ffs_softdep.c | 1091 if ((error = bread(devvp, fsbtodoff(fs, cgtod(fs, cyl)), in softdep_mount()
|
/dragonfly/sbin/badsect/ |
H A D | badsect.c | 178 rdfs(fsbtodb(fs, cgtod(fs, cg)), (int)sblock.fs_cgsize, in chkuse()
|
/dragonfly/sbin/newfs/ |
H A D | mkfs.c | 919 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 D | ffs_alloc.c | 309 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 D | ffsinfo.c | 346 rdfs(fsbtodb(&sblock, cgtod(&sblock, cylno)), in main()
|
/dragonfly/sbin/fsck/ |
H A D | pass1.c | 106 getblk(&cgblk, cgtod(&sblock, c), sblock.fs_cgsize); in pass1()
|
H A D | pass5.c | 169 getblk(&cgblk, cgtod(fs, c), fs->fs_cgsize); in pass5()
|
H A D | utilities.c | 394 getblk(&cgblk, cgtod(&sblock, cg), sblock.fs_cgsize); in allocblk()
|
H A D | inode.c | 579 getblk(&cgblk, cgtod(&sblock, cg), sblock.fs_cgsize); in allocino()
|
/dragonfly/stand/boot/common/ |
H A D | fs.h | 503 #define cgtod(fs, c) (cgstart(fs, c) + (fs)->fs_cblkno) /* cg block */ macro
|
/dragonfly/sbin/dumpfs/ |
H A D | dumpfs.c | 253 if ((cur = lseek(fd, (off_t)(fsbtodb(&afs, cgtod(&afs, c))) * in dumpcg()
|
/dragonfly/usr.sbin/makefs/ |
H A D | ffs.c | 1158 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()
|