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()
366 if (count + ufs_fragnum(fragment) > uspi->s_fpb) { in ufs_new_fragments()
370 count = uspi->s_fpb - ufs_fragnum(fragment); in ufs_new_fragments()
464 request = uspi->s_fpb; in ufs_new_fragments()
527 if ((ufs_fragnum (fragment) + newcount) > uspi->s_fpb) in ufs_add_fragments()
551 for (i = newcount; i < (uspi->s_fpb - fragoff); i++) in ufs_add_fragments()
583 for (k = count; k < uspi->s_fpb; k++) \
644 if (count == uspi->s_fpb) { in ufs_alloc_fragments()
651 for (allocsize = count; allocsize < uspi->s_fpb; allocsize++) in ufs_alloc_fragments()
655 if (allocsize == uspi->s_fpb) { in ufs_alloc_fragments()
660 for (i = count; i < uspi->s_fpb; i++) in ufs_alloc_fragments()
662 i = uspi->s_fpb - count; in ufs_alloc_fragments()
731 result = ufs_bitmap_search (sb, ucpi, goal, uspi->s_fpb); in ufs_alloccg_block()
736 if (!try_add_frags(inode, uspi->s_fpb)) in ufs_alloccg_block()
824 (uspi->s_fpb == 8) ? ufs_fragtable_8fpb : ufs_fragtable_other, in ufs_bitmap_search()
825 1 << (count - 1 + (uspi->s_fpb & 7))); in ufs_bitmap_search()
829 (uspi->s_fpb == 8) ? ufs_fragtable_8fpb : in ufs_bitmap_search()
831 1 << (count - 1 + (uspi->s_fpb & 7))); in ufs_bitmap_search()
849 for (end = result + 8; result < end; result += uspi->s_fpb) { in ufs_bitmap_search()
854 for (pos = 0; pos <= uspi->s_fpb - count; pos++) { in ufs_bitmap_search()