Lines Matching defs:ucg
62 struct ufs_cylinder_group * ucg;
89 ucg = ubh_get_ucg(UCPI_UBH(ucpi));
90 if (!ufs_cg_chkmagic(sb, ucg))
93 ucg->cg_time = cpu_to_fs32(sb, get_seconds());
103 fs32_add(sb, &ucg->cg_cs.cs_nifree, 1);
108 fs32_sub(sb, &ucg->cg_cs.cs_ndir, 1);
132 struct ufs_cylinder_group *ucg)
138 fs32_to_cpu(sb, ucg->cg_u.cg_u2.cg_initediblk));
155 fs32_add(sb, &ucg->cg_u.cg_u2.cg_initediblk, uspi->s_inopb);
180 struct ufs_cylinder_group * ucg;
246 ucg = ubh_get_ucg(UCPI_UBH(ucpi));
247 if (!ufs_cg_chkmagic(sb, ucg))
271 u32 initediblk = fs32_to_cpu(sb, ucg->cg_u.cg_u2.cg_initediblk);
274 initediblk < fs32_to_cpu(sb, ucg->cg_u.cg_u2.cg_niblk))
275 ufs2_init_inodes_chunk(sb, ucpi, ucg);
278 fs32_sub(sb, &ucg->cg_cs.cs_nifree, 1);
283 fs32_add(sb, &ucg->cg_cs.cs_ndir, 1);