Lines Matching refs:ucg
35 struct ufs_cylinder_group * ucg; in ufs_read_cylinder() local
41 ucg = (struct ufs_cylinder_group *)sbi->s_ucg[cgno]->b_data; in ufs_read_cylinder()
54 ucpi->c_cgx = fs32_to_cpu(sb, ucg->cg_cgx); in ufs_read_cylinder()
55 ucpi->c_ncyl = fs16_to_cpu(sb, ucg->cg_ncyl); in ufs_read_cylinder()
56 ucpi->c_niblk = fs16_to_cpu(sb, ucg->cg_niblk); in ufs_read_cylinder()
57 ucpi->c_ndblk = fs32_to_cpu(sb, ucg->cg_ndblk); in ufs_read_cylinder()
58 ucpi->c_rotor = fs32_to_cpu(sb, ucg->cg_rotor); in ufs_read_cylinder()
59 ucpi->c_frotor = fs32_to_cpu(sb, ucg->cg_frotor); in ufs_read_cylinder()
60 ucpi->c_irotor = fs32_to_cpu(sb, ucg->cg_irotor); in ufs_read_cylinder()
61 ucpi->c_btotoff = fs32_to_cpu(sb, ucg->cg_btotoff); in ufs_read_cylinder()
62 ucpi->c_boff = fs32_to_cpu(sb, ucg->cg_boff); in ufs_read_cylinder()
63 ucpi->c_iusedoff = fs32_to_cpu(sb, ucg->cg_iusedoff); in ufs_read_cylinder()
64 ucpi->c_freeoff = fs32_to_cpu(sb, ucg->cg_freeoff); in ufs_read_cylinder()
65 ucpi->c_nextfreeoff = fs32_to_cpu(sb, ucg->cg_nextfreeoff); in ufs_read_cylinder()
66 ucpi->c_clustersumoff = fs32_to_cpu(sb, ucg->cg_u.cg_44.cg_clustersumoff); in ufs_read_cylinder()
67 ucpi->c_clusteroff = fs32_to_cpu(sb, ucg->cg_u.cg_44.cg_clusteroff); in ufs_read_cylinder()
68 ucpi->c_nclusterblks = fs32_to_cpu(sb, ucg->cg_u.cg_44.cg_nclusterblks); in ufs_read_cylinder()
88 struct ufs_cylinder_group * ucg; in ufs_put_cylinder() local
99 ucg = ubh_get_ucg(UCPI_UBH(ucpi)); in ufs_put_cylinder()
109 ucg->cg_rotor = cpu_to_fs32(sb, ucpi->c_rotor); in ufs_put_cylinder()
110 ucg->cg_frotor = cpu_to_fs32(sb, ucpi->c_frotor); in ufs_put_cylinder()
111 ucg->cg_irotor = cpu_to_fs32(sb, ucpi->c_irotor); in ufs_put_cylinder()