Home
last modified time | relevance | path

Searched refs:free_sections (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/f2fs/
Dsegment.h275 unsigned int free_sections; /* # of free sections */ member
465 free_i->free_sections++; in __set_free()
479 free_i->free_sections--; in __set_inuse()
501 free_i->free_sections++; in __set_test_and_free()
518 free_i->free_sections--; in __set_test_and_inuse()
552 static inline unsigned int free_sections(struct f2fs_sb_info *sbi) in free_sections() function
554 return FREE_I(sbi)->free_sections; in free_sections()
624 free = free_sections(sbi) + freed; in has_not_enough_free_secs()
Dgc.c1783 free_sections(sbi), in f2fs_gc()
1863 if (free_sections(sbi) < NR_CURSEG_PERSIST_TYPE && in f2fs_gc()
1884 free_sections(sbi), in f2fs_gc()
2052 FREE_I(sbi)->free_sections = (int)FREE_I(sbi)->free_sections + secs; in update_fs_metadata()
Ddebug.c146 si->free_secs = free_sections(sbi); in update_general_status()
Dsegment.c184 return free_sections(sbi) <= (node_secs + 2 * dent_secs + imeta_secs + in f2fs_need_SSR()
4305 free_i->free_sections = 0; in build_free_segmap()