Home
last modified time | relevance | path

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

/linux-6.1.9/fs/f2fs/
Dsegment.h274 unsigned int free_segments; /* # of free segments */ member
459 free_i->free_segments++; in __set_free()
477 free_i->free_segments--; in __set_inuse()
493 free_i->free_segments++; in __set_test_and_free()
516 free_i->free_segments--; in __set_test_and_inuse()
541 static inline unsigned int free_segments(struct f2fs_sb_info *sbi) in free_segments() function
543 return FREE_I(sbi)->free_segments; in free_segments()
Dgc.h107 return free_segments(sbi) << sbi->log_blocks_per_seg; in free_segs_blk_count()
Dgc.c150 prefree_segments(sbi), free_segments(sbi)); in gc_thread_func()
902 prefree_segments(sbi), free_segments(sbi)); in get_victim_by_default()
1784 free_segments(sbi), in f2fs_gc()
1885 free_segments(sbi), in f2fs_gc()
2053 FREE_I(sbi)->free_segments = (int)FREE_I(sbi)->free_segments + segs; in update_fs_metadata()
Dsysfs.c106 (unsigned long long)(free_segments(sbi))); in free_segments_show()
831 F2FS_GENERAL_RO_ATTR(free_segments);
958 ATTR_LIST(free_segments),
Ddebug.c145 si->free_segs = free_segments(sbi); in update_general_status()
Dcheckpoint.c1469 ckpt->free_segment_count = cpu_to_le32(free_segments(sbi)); in do_checkpoint()
Dsegment.c4304 free_i->free_segments = 0; in build_free_segmap()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-fs-f2fs352 What: /sys/fs/f2fs/<disk>/free_segments