Lines Matching refs:ucpi

61 	struct ufs_cg_private_info * ucpi;  in ufs_free_inode()  local
83 ucpi = ufs_load_cylinder (sb, cg); in ufs_free_inode()
84 if (!ucpi) { in ufs_free_inode()
88 ucg = ubh_get_ucg(UCPI_UBH(ucpi)); in ufs_free_inode()
96 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit)) in ufs_free_inode()
99 ubh_clrbit (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit); in ufs_free_inode()
100 if (ino < ucpi->c_irotor) in ufs_free_inode()
101 ucpi->c_irotor = ino; in ufs_free_inode()
114 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); in ufs_free_inode()
116 ubh_sync_block(UCPI_UBH(ucpi)); in ufs_free_inode()
130 struct ufs_cg_private_info *ucpi, in ufs2_init_inodes_chunk() argument
136 ufs_inotofsba(ucpi->c_cgx * uspi->s_ipg + in ufs2_init_inodes_chunk()
140 UFSD("ENTER cgno %d\n", ucpi->c_cgx); in ufs2_init_inodes_chunk()
155 ubh_mark_buffer_dirty(UCPI_UBH(ucpi)); in ufs2_init_inodes_chunk()
157 ubh_sync_block(UCPI_UBH(ucpi)); in ufs2_init_inodes_chunk()
177 struct ufs_cg_private_info * ucpi; in ufs_new_inode() local
239 ucpi = ufs_load_cylinder (sb, cg); in ufs_new_inode()
240 if (!ucpi) { in ufs_new_inode()
244 ucg = ubh_get_ucg(UCPI_UBH(ucpi)); in ufs_new_inode()
248 start = ucpi->c_irotor; in ufs_new_inode()
249 bit = ubh_find_next_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, uspi->s_ipg, start); in ufs_new_inode()
251 bit = ubh_find_first_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, start); in ufs_new_inode()
260 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit)) in ufs_new_inode()
261 ubh_setbit (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit); in ufs_new_inode()
273 ufs2_init_inodes_chunk(sb, ucpi, ucg); in ufs_new_inode()
286 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); in ufs_new_inode()
288 ubh_sync_block(UCPI_UBH(ucpi)); in ufs_new_inode()