Searched refs:free_sections (Results 1 – 4 of 4) sorted by relevance
258 unsigned int free_sections; /* # of free sections */ member422 free_i->free_sections++; in __set_free()436 free_i->free_sections--; in __set_inuse()457 free_i->free_sections++; in __set_test_and_free()474 free_i->free_sections--; in __set_test_and_inuse()507 static inline unsigned int free_sections(struct f2fs_sb_info *sbi) in free_sections() function509 return FREE_I(sbi)->free_sections; in free_sections()574 if (free_sections(sbi) + freed == reserved_sections(sbi) + needed && in has_not_enough_free_secs()577 return (free_sections(sbi) + freed) <= in has_not_enough_free_secs()
1151 free_sections(sbi), in f2fs_gc()1238 free_sections(sbi), in f2fs_gc()
94 si->free_secs = free_sections(sbi); in update_general_status()
183 return free_sections(sbi) <= (node_secs + 2 * dent_secs + imeta_secs + in f2fs_need_SSR()3848 free_i->free_sections = 0; in build_free_segmap()