Lines Matching defs: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));
102 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit))
105 ubh_clrbit (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit);
106 if (ino < ucpi->c_irotor)
107 ucpi->c_irotor = ino;
120 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
122 ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi));
123 ubh_wait_on_buffer (UCPI_UBH(ucpi));
138 struct ufs_cg_private_info *ucpi,
144 ufs_inotofsba(ucpi->c_cgx * uspi->s_ipg +
148 UFSD("ENTER cgno %d\n", ucpi->c_cgx);
163 ubh_mark_buffer_dirty(UCPI_UBH(ucpi));
165 ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi));
166 ubh_wait_on_buffer(UCPI_UBH(ucpi));
188 struct ufs_cg_private_info * ucpi;
250 ucpi = ufs_load_cylinder (sb, cg);
251 if (!ucpi) {
255 ucg = ubh_get_ucg(UCPI_UBH(ucpi));
259 start = ucpi->c_irotor;
260 bit = ubh_find_next_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, uspi->s_ipg, start);
262 bit = ubh_find_first_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, start);
271 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit))
272 ubh_setbit (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit);
284 ufs2_init_inodes_chunk(sb, ucpi, ucg);
297 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
299 ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi));
300 ubh_wait_on_buffer (UCPI_UBH(ucpi));