Lines Matching refs:cs_nffree
88 fs32_add(sb, &ucg->cg_cs.cs_nffree, count); in ufs_free_fragments()
89 uspi->cs_total.cs_nffree += count; in ufs_free_fragments()
90 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); in ufs_free_fragments()
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()
457 if (uspi->cs_total.cs_nffree < uspi->s_space_to_time) in ufs_new_fragments()
461 if (uspi->cs_total.cs_nffree > uspi->s_time_to_space) in ufs_new_fragments()
521 if (fs32_to_cpu(sb, UFS_SB(sb)->fs_cs(cgno).cs_nffree) < count) in ufs_add_fragments()
560 fs32_sub(sb, &ucg->cg_cs.cs_nffree, count); in ufs_add_fragments()
561 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); in ufs_add_fragments()
562 uspi->cs_total.cs_nffree -= count; in ufs_add_fragments()
661 fs32_add(sb, &ucg->cg_cs.cs_nffree, i); in ufs_alloc_fragments()
662 uspi->cs_total.cs_nffree += i; in ufs_alloc_fragments()
663 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, i); in ufs_alloc_fragments()
676 fs32_sub(sb, &ucg->cg_cs.cs_nffree, count); in ufs_alloc_fragments()
677 uspi->cs_total.cs_nffree -= count; in ufs_alloc_fragments()
678 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); in ufs_alloc_fragments()