Lines Matching refs:cg
51 struct cg *cg = &cgrp; in pass5() local
61 struct cg cg; /* the rest of buf has the bitmaps */ in pass5() member
65 struct cg *newcg = &u.cg; in pass5()
143 err = cg_sanity(cg, c); in pass5()
149 fix_cg(cg, c); in pass5()
157 if (now > cg->cg_time) in pass5()
158 newcg->cg_time = cg->cg_time; in pass5()
176 if ((cg->cg_rotor >= 0) && (cg->cg_rotor < newcg->cg_ndblk)) in pass5()
177 newcg->cg_rotor = cg->cg_rotor; in pass5()
180 if ((cg->cg_frotor >= 0) && (cg->cg_frotor < newcg->cg_ndblk)) in pass5()
181 newcg->cg_frotor = cg->cg_frotor; in pass5()
184 if ((cg->cg_irotor >= 0) && (cg->cg_irotor < newcg->cg_niblk)) in pass5()
185 newcg->cg_irotor = cg->cg_irotor; in pass5()
280 bad_csum_cg = (memcmp((void *)&cg->cg_cs, (void *)&newcg->cg_cs, in pass5()
307 (void) memmove((void *)cg, (void *)newcg, in pass5()
310 (void) memmove((void *)&cg_blktot(cg)[0], in pass5()
317 excessdirs = cg->cg_cs.cs_ndir - newcg->cg_cs.cs_ndir; in pass5()
325 (uchar_t *)cg_inosused(cg), inomapsize, in pass5()
326 cg->cg_cgx * fs->fs_ipg, "DIR", 0, excessdirs)) { in pass5()
331 (void) memmove((void *)cg_inosused(cg), in pass5()
344 (uchar_t *)cg_inosused(cg), inomapsize, in pass5()
345 cg->cg_cgx * fs->fs_ipg, "FILE", excessdirs, fs->fs_ipg)) { in pass5()
349 (void) memmove((void *)cg_inosused(cg), in pass5()
359 if (check_maps((uchar_t *)cg_blksfree(cg), in pass5()
361 cg->cg_cgx * fs->fs_fpg, "FRAG", 0, fs->fs_fpg)) { in pass5()
365 (void) memmove((void *)cg_blksfree(cg), in pass5()
375 bad_cgblks_cg = (memcmp((void *)&cg_blks(fs, cg, 0)[0], in pass5()
384 (void) memmove((void *)&cg_blks(fs, cg, 0)[0], in pass5()
396 bad_cgblktot_cg = (memcmp((void *)&cg_blktot(cg)[0], in pass5()
405 (void) memmove((void *)&cg_blktot(cg)[0], in pass5()