Lines Matching refs:cgno
1913 cg_sanity(struct cg *cgp, int cgno) in cg_sanity() argument
1922 cg_constants(cgno, &exp_btotoff, &exp_boff, &exp_iusedoff, in cg_sanity()
1935 if (cgp->cg_cgx != cgno) { in cg_sanity()
1938 cgp->cg_cgx, cgno); in cg_sanity()
2054 cg_constants(int cgno, daddr32_t *btotoff, daddr32_t *boff, in cg_constants() argument
2061 (void) getblk(&cgblk, (diskaddr_t)cgtod(&sblock, cgno), in cg_constants()
2065 cbase = cgbase(&sblock, cgno); in cg_constants()
2085 fix_cg(struct cg *cgp, int cgno) in fix_cg() argument
2091 cg_constants(cgno, &exp_btotoff, &exp_boff, &exp_iusedoff, in fix_cg()
2094 if (cgp->cg_cgx != cgno) { in fix_cg()
2095 cgp->cg_cgx = cgno; in fix_cg()
2099 if (cgno == (sblock.fs_ncg - 1)) { in fix_cg()
2101 (sblock.fs_cpg * cgno); in fix_cg()