Home
last modified time | relevance | path

Searched refs:free_segments (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/fs/f2fs/
Dgc.h52 if (free_segments(sbi) < overprovision_segments(sbi)) in free_user_blocks()
55 return (free_segments(sbi) - overprovision_segments(sbi)) in free_user_blocks()
Dsegment.h257 unsigned int free_segments; /* # of free segments */ member
416 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() function
499 return FREE_I(sbi)->free_segments; in free_segments()
Dgc.c104 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()
Ddebug.c93 si->free_segs = free_segments(sbi); in update_general_status()
Dcheckpoint.c1289 ckpt->free_segment_count = cpu_to_le32(free_segments(sbi)); in do_checkpoint()
Dsegment.c3847 free_i->free_segments = 0; in build_free_segmap()