Searched refs:free_segments (Results 1 – 6 of 6) sorted by relevance
52 if (free_segments(sbi) < overprovision_segments(sbi)) in free_user_blocks()55 return (free_segments(sbi) - overprovision_segments(sbi)) in free_user_blocks()
257 unsigned int free_segments; /* # of free segments */ member416 free_i->free_segments++; in __set_free()434 free_i->free_segments--; in __set_inuse()449 free_i->free_segments++; in __set_test_and_free()472 free_i->free_segments--; in __set_test_and_inuse()497 static inline unsigned int free_segments(struct f2fs_sb_info *sbi) in free_segments() function499 return FREE_I(sbi)->free_segments; in free_segments()
104 prefree_segments(sbi), free_segments(sbi)); in gc_thread_func()400 prefree_segments(sbi), free_segments(sbi)); in get_victim_by_default()1152 free_segments(sbi), in f2fs_gc()1239 free_segments(sbi), in f2fs_gc()
93 si->free_segs = free_segments(sbi); in update_general_status()
1289 ckpt->free_segment_count = cpu_to_le32(free_segments(sbi)); in do_checkpoint()
3847 free_i->free_segments = 0; in build_free_segmap()