Lines Matching refs:cg
139 #define CGRP (sizeof (struct cg))
328 static void printcg(struct cg *);
1293 if (match("cg", 2)) { /* cylinder group */
3612 struct cg *cg;
3833 cg = (struct cg *)cptr;
3835 cur_cgrp = cg->cg_cgx + 1;
3843 if (! override && !cg_chkmagic(cg)) {
3851 printcg(cg);
4683 printcg(struct cg *cg)
4688 printf("\ncg %ld:\n", cg->cg_cgx);
4689 t = cg->cg_time;
4693 ((struct ocg *)cg)->cg_magic : cg->cg_magic,
4694 fsbtodb(fs, cgtod(fs, cg->cg_cgx)) * fs->fs_fsize / fsbtodb(fs, 1),
4698 cg->cg_magic,
4699 fsbtodb(fs, cgtod(fs, cg->cg_cgx)) * fs->fs_fsize / fsbtodb(fs, 1),
4703 cg->cg_cgx, cg->cg_ncyl, cg->cg_niblk, cg->cg_ndblk);
4705 cg->cg_cs.cs_nbfree, cg->cg_cs.cs_ndir,
4706 cg->cg_cs.cs_nifree, cg->cg_cs.cs_nffree);
4708 cg->cg_rotor, cg->cg_irotor, cg->cg_frotor);
4710 printf("\t%ld", cg->cg_frsum[i]);
4711 j += i * cg->cg_frsum[i];
4714 pbits((unsigned char *)cg_inosused(cg), fs->fs_ipg);
4716 pbits(cg_blksfree(cg), fs->fs_fpg);
4720 if (cg_blktot(cg)[i] == 0)
4723 printf(" c%d:\t(%ld)\t", i, cg_blktot(cg)[i]);
4731 printf(" %d", cg_blks(fs, cg, i)[j]);
4738 printf(" %d", cg->cg_b[i][j]);