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));
532 ucg = ubh_get_ucg (UCPI_UBH(ucpi));
542 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_freeoff, fragno + i))
552 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_freeoff, fragno + i))
562 ubh_clrbit (UCPI_UBH(ucpi), ucpi->c_freeoff, fragno + i);
569 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
571 ubh_sync_block(UCPI_UBH(ucpi));
638 ucg = ubh_get_ucg (UCPI_UBH(ucpi));
661 ubh_setbit (UCPI_UBH(ucpi), ucpi->c_freeoff, goal + i);
678 ubh_clrbit (UCPI_UBH(ucpi), ucpi->c_freeoff, result + i);
690 ubh_mark_buffer_dirty (UCPI_UBH(ucpi));
692 ubh_sync_block(UCPI_UBH(ucpi));
713 ucg = ubh_get_ucg(UCPI_UBH(ucpi));
725 if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, ufs_fragstoblks(goal))) {
739 ubh_clrblock (UCPI_UBH(ucpi), ucpi->c_freeoff, blkno);
823 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff + start, length,
828 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff, length,
850 blockmap = ubh_blkmap(UCPI_UBH(ucpi), ucpi->c_freeoff, result);
882 ubh_setbit(UCPI_UBH(ucpi), ucpi->c_clusteroff, blkno);
884 ubh_clrbit(UCPI_UBH(ucpi), ucpi->c_clusteroff, blkno);
893 i = ubh_find_next_zero_bit (UCPI_UBH(ucpi), ucpi->c_clusteroff, end, start);
905 i = ubh_find_last_zero_bit (UCPI_UBH(ucpi), ucpi->c_clusteroff, start, end);
917 fs32_add(sb, (__fs32*)ubh_get_addr(UCPI_UBH(ucpi), ucpi->c_clustersumoff + (i << 2)), cnt);
919 fs32_sub(sb, (__fs32*)ubh_get_addr(UCPI_UBH(ucpi), ucpi->c_clustersumoff + (back << 2)), cnt);
921 fs32_sub(sb, (__fs32*)ubh_get_addr(UCPI_UBH(ucpi), ucpi->c_clustersumoff + (forw << 2)), cnt);