Lines Matching refs:UCPI_UBH

69 	ucg = ubh_get_ucg (UCPI_UBH(ucpi));
77 blkmap = ubh_blkmap (UCPI_UBH(ucpi), ucpi->c_freeoff, bbase);
80 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_freeoff, i))
81 ubh_setbit (UCPI_UBH(ucpi), ucpi->c_freeoff, i);
91 blkmap = ubh_blkmap (UCPI_UBH(ucpi), ucpi->c_freeoff, bbase);
98 if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno)) {
117 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
119 ubh_sync_block(UCPI_UBH(ucpi));
177 ucg = ubh_get_ucg (UCPI_UBH(ucpi));
185 if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno)) {
188 ubh_setblock(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno);
207 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
209 ubh_sync_block(UCPI_UBH(ucpi));
528 ucg = ubh_get_ucg (UCPI_UBH(ucpi));
538 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_freeoff, fragno + i))
548 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_freeoff, fragno + i))
558 ubh_clrbit (UCPI_UBH(ucpi), ucpi->c_freeoff, fragno + i);
565 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
567 ubh_sync_block(UCPI_UBH(ucpi));
634 ucg = ubh_get_ucg (UCPI_UBH(ucpi));
657 ubh_setbit (UCPI_UBH(ucpi), ucpi->c_freeoff, goal + i);
674 ubh_clrbit (UCPI_UBH(ucpi), ucpi->c_freeoff, result + i);
686 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
688 ubh_sync_block(UCPI_UBH(ucpi));
709 ucg = ubh_get_ucg(UCPI_UBH(ucpi));
721 if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, ufs_fragstoblks(goal))) {
735 ubh_clrblock (UCPI_UBH(ucpi), ucpi->c_freeoff, blkno);
819 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff + start, length,
824 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff, length,
846 blockmap = ubh_blkmap(UCPI_UBH(ucpi), ucpi->c_freeoff, result);
878 ubh_setbit(UCPI_UBH(ucpi), ucpi->c_clusteroff, blkno);
880 ubh_clrbit(UCPI_UBH(ucpi), ucpi->c_clusteroff, blkno);
889 i = ubh_find_next_zero_bit (UCPI_UBH(ucpi), ucpi->c_clusteroff, end, start);
901 i = ubh_find_last_zero_bit (UCPI_UBH(ucpi), ucpi->c_clusteroff, start, end);
913 fs32_add(sb, (__fs32*)ubh_get_addr(UCPI_UBH(ucpi), ucpi->c_clustersumoff + (i << 2)), cnt);
915 fs32_sub(sb, (__fs32*)ubh_get_addr(UCPI_UBH(ucpi), ucpi->c_clustersumoff + (back << 2)), cnt);
917 fs32_sub(sb, (__fs32*)ubh_get_addr(UCPI_UBH(ucpi), ucpi->c_clustersumoff + (forw << 2)), cnt);