Lines Matching refs:ucpi

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