Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/fs.d/ufs/fsck/
H A Dmain.c544 sblock.fs_ncg * (cgdmin(&sblock, 0) - cgsblock(&sblock, 0)); in checkfilesys()
545 blks += cgsblock(&sblock, 0) - cgbase(&sblock, 0); in checkfilesys()
H A Dsetup.c573 bflag = fsbtodb(&proto, cgsblock(&proto, cg)); in find_superblock()
680 sblk.b_bno = fsbtodb(&sblock, cgsblock(&sblock, 0)); in find_superblock()
1147 (void) getblk(&asblk, cgsblock(&sblock, sblock.fs_ncg - 1), in checksb()
1238 cgsblock(&sblock, cylno)), sblock.fs_sbsize); in write_altsb()
H A Dpass1.c81 i = cgsblock(&sblock, c); in pass1()
H A Dinode.c630 if ((unsigned)(blk + cnt) > (unsigned)cgsblock(&sblock, c)) { in chkrange()
/titanic_41/usr/src/cmd/fs.d/ufs/fsirand/
H A Dfsirand.c199 seekaddr = (offset_t)fsbtodb(fs, cgsblock(fs, i)) * DEV_BSIZE; in main()
/titanic_41/usr/src/cmd/fs.d/ufs/labelit/
H A Dlabelit.c246 (offset_t)cgsblock(&sblock, i) * sblock.fs_fsize; in label()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfs.h359 #define cgsblock(fs, c) (cgstart(fs, c) + (fs)->fs_sblkno) /* super blk */ macro
/titanic_41/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c343 bwrite(fsbtodb(&sblock, cgsblock(&sblock, i)), in main()
/titanic_41/usr/src/uts/common/sys/fs/
H A Dufs_fs.h565 #define cgsblock(fs, c) (cgstart(fs, c) + (fs)->fs_sblkno) /* super blk */ macro
/titanic_41/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c2126 num = fsbtodb(&sblock, (uint64_t)cgsblock(&sblock, cylno)); in main()
2238 num = fsbtodb(&sblock, (uint64_t)cgsblock(&sblock, cylno)); in main()
2332 awtfs(fsbtodb(&sblock, (uint64_t)cgsblock(&sblock, cylno)), in main()
2351 awtfs(fsbtodb(&sblock, (uint64_t)cgsblock(&sblock, cylno)), in main()
2546 dlower = cgsblock(&sblock, cylno) - cbase; in initcg()
/titanic_41/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c1779 addr = cgsblock(fs, cur_cgrp) << FRGSHIFT; in main()
2946 return (cgsblock(fs, cgrp) << FRGSHIFT); in cgrp_check()
4117 addr = cgsblock(fs, cur_cgrp) in fprnt()
4131 if (addr == cgsblock(fs, i) << in fprnt()
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_subr.c809 (bn >= cgsblock(ip->i_fs, c) && bn < cgdmin(ip->i_fs, c)+sum) || in ufs_badblock()