Lines Matching refs:ucpi
61 struct ufs_cg_private_info * ucpi;
84 ucpi = ufs_load_cylinder (sb, cg);
85 if (!ucpi) {
89 ucg = ubh_get_ucg(UCPI_UBH(ucpi));
97 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit))
100 ubh_clrbit (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit);
101 if (ino < ucpi->c_irotor)
102 ucpi->c_irotor = ino;
115 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
117 ubh_sync_block(UCPI_UBH(ucpi));
131 struct ufs_cg_private_info *ucpi,
137 ufs_inotofsba(ucpi->c_cgx * uspi->s_ipg +
141 UFSD("ENTER cgno %d\n", ucpi->c_cgx);
156 ubh_mark_buffer_dirty(UCPI_UBH(ucpi));
158 ubh_sync_block(UCPI_UBH(ucpi));
179 struct ufs_cg_private_info * ucpi;
241 ucpi = ufs_load_cylinder (sb, cg);
242 if (!ucpi) {
246 ucg = ubh_get_ucg(UCPI_UBH(ucpi));
250 start = ucpi->c_irotor;
251 bit = ubh_find_next_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, uspi->s_ipg, start);
253 bit = ubh_find_first_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, start);
262 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit))
263 ubh_setbit (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit);
275 ufs2_init_inodes_chunk(sb, ucpi, ucg);
288 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
290 ubh_sync_block(UCPI_UBH(ucpi));