Searched refs:ncleansegs (Results 1 – 3 of 3) sorted by relevance
30 unsigned long ncleansegs;/* number of clean segments */ member125 return NILFS_SUI(sufile)->ncleansegs; in nilfs_sufile_get_ncleansegs()375 sui->ncleansegs--; in nilfs_sufile_alloc()421 NILFS_SUI(sufile)->ncleansegs--; in nilfs_sufile_do_cancel_free()452 NILFS_SUI(sufile)->ncleansegs -= clean; in nilfs_sufile_do_scrap()483 NILFS_SUI(sufile)->ncleansegs++; in nilfs_sufile_do_free()622 NILFS_SUI(sufile)->ncleansegs--; in nilfs_sufile_do_set_error()724 NILFS_SUI(sufile)->ncleansegs += ncleaned; in nilfs_sufile_truncate_range()767 if (newnsegs < nsegs && nsegs - newnsegs + nrsvsegs > sui->ncleansegs) in nilfs_sufile_resize()775 sui->ncleansegs += newnsegs - nsegs; in nilfs_sufile_resize()[all …]
748 unsigned long ncleansegs; in nilfs_count_free_blocks() local750 ncleansegs = nilfs_sufile_get_ncleansegs(nilfs->ns_sufile); in nilfs_count_free_blocks()751 *nblocks = (sector_t)ncleansegs * nilfs->ns_blocks_per_segment; in nilfs_count_free_blocks()757 unsigned long ncleansegs, nincsegs; in nilfs_near_disk_full() local759 ncleansegs = nilfs_sufile_get_ncleansegs(nilfs->ns_sufile); in nilfs_near_disk_full()763 return ncleansegs <= nilfs->ns_nrsvsegs + nincsegs; in nilfs_near_disk_full()
385 unsigned long ncleansegs; in nilfs_segments_clean_segments_show() local388 ncleansegs = nilfs_sufile_get_ncleansegs(nilfs->ns_sufile); in nilfs_segments_clean_segments_show()391 return snprintf(buf, PAGE_SIZE, "%lu\n", ncleansegs); in nilfs_segments_clean_segments_show()