Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass4.c208 (void) getblk(&cgblk, cgtod(&sblock, cylno), in pass4check()
H A Dinode.c1181 (void) getblk(&cgblk, cgtod(&sblock, cg), (size_t)sblock.fs_cgsize); in allocino()
1423 (void) getblk(&cgblk, (diskaddr_t)cgtod(&sblock, cg), in freeino()
H A Dpass5.c141 (void) getblk(&cgblk, (diskaddr_t)cgtod(fs, c), in pass5()
H A Dutilities.c2061 (void) getblk(&cgblk, (diskaddr_t)cgtod(&sblock, cgno), in cg_constants()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_alloc.c655 bp = UFS_BREAD(ufsvfsp, ip->i_dev, (daddr_t)fsbtodb(fs, cgtod(fs, cg)), in free()
795 bp = UFS_BREAD(ufsvfsp, ip->i_dev, (daddr_t)fsbtodb(fs, cgtod(fs, cg)), in ufs_ifree()
914 bp = UFS_BREAD(ufsvfsp, ip->i_dev, (daddr_t)fsbtodb(fs, cgtod(fs, cg)), in fragextend()
1002 bp = UFS_BREAD(ufsvfsp, ip->i_dev, (daddr_t)fsbtodb(fs, cgtod(fs, cg)), in alloccg()
1302 bp = UFS_BREAD(ufsvfsp, ip->i_dev, (daddr_t)fsbtodb(fs, cgtod(fs, cg)), in ialloccg()
1977 (daddr_t)fsbtodb(fs, cgtod(fs, cg)), in contigpref()
H A Dufs_snap.c301 (daddr_t)fsbtodb(fs, cgtod(fs, cg)), (int)fs->fs_cgsize); in ufs_snap_find_candidates()
H A Dufs_trans.c339 ldbtob(fsbtodb(fs, cgtod(fs, i))), fs->fs_cgsize); in ufs_trans_mata_mount()
H A Dufs_subr.c1273 bp->b_blkno = (daddr_t)fsbtodb(fs, cgtod(fs, cg + i)); in ufs_construct_si()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfs.h360 #define cgtod(fs, c) (cgstart(fs, c) + (fs)->fs_cblkno) /* cg block */ macro
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c2764 awtfs(fsbtodb(&sblock, (uint64_t)cgtod(&sblock, cylno)), in initcg()
2873 rdfs(fsbtodb(&sblock, (uint64_t)cgtod(&sblock, 0)), sblock.fs_cgsize, in alloc()
2911 wtfs(fsbtodb(&sblock, (uint64_t)cgtod(&sblock, 0)), sblock.fs_cgsize, in alloc()
2925 rdfs(fsbtodb(&sblock, (uint64_t)cgtod(&sblock, 0)), sblock.fs_cgsize, in iput()
2933 wtfs(fsbtodb(&sblock, (uint64_t)cgtod(&sblock, 0)), sblock.fs_cgsize, in iput()
4953 rdfs(fsbtodb(&sblock, (uint64_t)cgtod(&sblock, curcylno)), in rdcg()
4968 wtfs(fsbtodb(&sblock, (uint64_t)cgtod(&sblock, curcylno)), in flcg()
/illumos-gate/usr/src/boot/sys/ufs/ffs/
H A Dfs.h534 #define cgtod(fs, c) (cgstart(fs, c) + (fs)->fs_cblkno) /* cg block */ macro
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_fs.h565 #define cgtod(fs, c) (cgstart(fs, c) + (fs)->fs_cblkno) /* cg block */ macro
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c1295 addr = cgtod(fs, cur_cgrp) << FRGSHIFT; in main()
2934 return (cgtod(fs, cgrp) << FRGSHIFT); in cgrp_check()
3812 addr = cgtod(fs, cur_cgrp) in fprnt()
4684 fsbtodb(fs, cgtod(fs, cg->cg_cgx)) * fs->fs_fsize / fsbtodb(fs, 1), in printcg()
4689 fsbtodb(fs, cgtod(fs, cg->cg_cgx)) * fs->fs_fsize / fsbtodb(fs, 1), in printcg()
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c541 (offset_t)fsbtodb(fsp, cgtod(fsp, c)) * DEV_BSIZE, 0); in dumpcg()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c884 bread(fsbtodb(sblock, cgtod(sblock, i)), in main()