Lines Matching refs:s_fpb
99 fs32_sub(sb, &ucg->cg_cs.cs_nffree, uspi->s_fpb); in ufs_free_fragments()
100 uspi->cs_total.cs_nffree -= uspi->s_fpb; in ufs_free_fragments()
101 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, uspi->s_fpb); in ufs_free_fragments()
183 for (i = bit; i < end_bit; i += uspi->s_fpb) { in ufs_free_blocks()
189 inode_sub_bytes(inode, uspi->s_fpb << uspi->s_fshift); in ufs_free_blocks()
362 if (count + ufs_fragnum(fragment) > uspi->s_fpb) { in ufs_new_fragments()
366 count = uspi->s_fpb - ufs_fragnum(fragment); in ufs_new_fragments()
460 request = uspi->s_fpb; in ufs_new_fragments()
523 if ((ufs_fragnum (fragment) + newcount) > uspi->s_fpb) in ufs_add_fragments()
547 for (i = newcount; i < (uspi->s_fpb - fragoff); i++) in ufs_add_fragments()
579 for (k = count; k < uspi->s_fpb; k++) \
640 if (count == uspi->s_fpb) { in ufs_alloc_fragments()
647 for (allocsize = count; allocsize < uspi->s_fpb; allocsize++) in ufs_alloc_fragments()
651 if (allocsize == uspi->s_fpb) { in ufs_alloc_fragments()
656 for (i = count; i < uspi->s_fpb; i++) in ufs_alloc_fragments()
658 i = uspi->s_fpb - count; in ufs_alloc_fragments()
727 result = ufs_bitmap_search (sb, ucpi, goal, uspi->s_fpb); in ufs_alloccg_block()
732 if (!try_add_frags(inode, uspi->s_fpb)) in ufs_alloccg_block()
820 (uspi->s_fpb == 8) ? ufs_fragtable_8fpb : ufs_fragtable_other, in ufs_bitmap_search()
821 1 << (count - 1 + (uspi->s_fpb & 7))); in ufs_bitmap_search()
825 (uspi->s_fpb == 8) ? ufs_fragtable_8fpb : in ufs_bitmap_search()
827 1 << (count - 1 + (uspi->s_fpb & 7))); in ufs_bitmap_search()
845 for (end = result + 8; result < end; result += uspi->s_fpb) { in ufs_bitmap_search()
850 for (pos = 0; pos <= uspi->s_fpb - count; pos++) { in ufs_bitmap_search()