Home
last modified time | relevance | path

Searched refs:FREE_I (Results 1 – 7 of 7) sorted by relevance

/linux/fs/f2fs/
H A Dsegment.h58 (SEGS_TO_BLKS(sbi, GET_R2L_SEGNO(FREE_I(sbi), segno))))
71 NULL_SEGNO : GET_L2R_SEGNO(FREE_I(sbi), \
461 struct free_segmap_info *free_i = FREE_I(sbi); in __set_free()
482 struct free_segmap_info *free_i = FREE_I(sbi); in __set_inuse()
494 struct free_segmap_info *free_i = FREE_I(sbi); in __set_test_and_free()
534 struct free_segmap_info *free_i = FREE_I(sbi); in __set_test_and_inuse()
561 return FREE_I(sbi)->free_segments; in free_segments()
571 return FREE_I(sbi)->free_sections; in free_sections()
H A Dgc.c2247 spin_lock(&FREE_I(sbi)->segmap_lock); in free_segment_range()
2249 if (!test_bit(secno, FREE_I(sbi)->free_secmap)) in free_segment_range()
2252 FREE_I(sbi)->free_sections -= freed_secs; in free_segment_range()
2253 spin_unlock(&FREE_I(sbi)->segmap_lock); in free_segment_range()
2272 next_inuse = find_next_inuse(FREE_I(sbi), end + 1, start); in free_segment_range()
2279 spin_lock(&FREE_I(sbi)->segmap_lock); in free_segment_range()
2280 FREE_I(sbi)->free_sections += freed_secs; in free_segment_range()
2281 spin_unlock(&FREE_I(sbi)->segmap_lock); in free_segment_range()
2331 FREE_I(sbi)->free_sections = (int)FREE_I(sbi)->free_sections + secs; in update_fs_metadata()
2332 FREE_I(sbi)->free_segments = (int)FREE_I(sbi)->free_segments + segs; in update_fs_metadata()
H A Dgc.h77 struct free_segmap_info *free_i = FREE_I(sbi); in free_segs_blk_count_zoned()
H A Ddebug.c100 else if (!test_bit(j, FREE_I(sbi)->free_segmap)) in update_multidevice_stats()
119 FREE_I(sbi)->free_secmap)) in update_multidevice_stats()
H A Dfile.c3799 spin_lock(&FREE_I(sbi)->segmap_lock); in f2fs_ioc_reserve_dev_alias()
3801 spin_unlock(&FREE_I(sbi)->segmap_lock); in f2fs_ioc_reserve_dev_alias()
3851 spin_lock(&FREE_I(sbi)->segmap_lock); in f2fs_ioc_reserve_dev_alias()
3853 spin_unlock(&FREE_I(sbi)->segmap_lock); in f2fs_ioc_reserve_dev_alias()
3868 spin_lock(&FREE_I(sbi)->segmap_lock); in f2fs_ioc_reserve_dev_alias()
3870 spin_unlock(&FREE_I(sbi)->segmap_lock); in f2fs_ioc_reserve_dev_alias()
H A Dsegment.c2854 struct free_segmap_info *free_i = FREE_I(sbi); in is_next_segment_free()
2873 struct free_segmap_info *free_i = FREE_I(sbi); in get_new_segment()
5260 struct free_segmap_info *free_i = FREE_I(sbi); in init_dirty_segmap()
H A Df2fs.h2298 static inline struct free_segmap_info *FREE_I(struct f2fs_sb_info *sbi) in FREE_I() function