Home
last modified time | relevance | path

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

/linux-6.15/fs/f2fs/
H A Dgc.h117 return SEGS_TO_BLKS(sbi, free_segments(sbi)); in free_segs_blk_count()
125 ovp_blks = SEGS_TO_BLKS(sbi, overprovision_segments(sbi)); in free_user_blocks()
H A Dsegment.h78 #define TOTAL_BLKS(sbi) (SEGS_TO_BLKS(sbi, TOTAL_SEGS(sbi)))
85 (SEGS_TO_BLKS(sbi, GET_R2L_SEGNO(FREE_I(sbi), segno))))
945 return SEGS_TO_BLKS(sbi, 8); in nr_pages_to_skip()
H A Dgc.c335 return SEGS_TO_BLKS(sbi, 2 * p->ofs_unit); in get_max_cost()
2157 (long long)SEGS_TO_BLKS(sbi, segs)); in update_sb_metadata()
2173 long long blks = SEGS_TO_BLKS(sbi, segs); in update_fs_metadata()
2215 if (block_count + SEGS_TO_BLKS(sbi, last_segs) <= in f2fs_resize_fs()
H A Dsegment.c469 SEGS_TO_BLKS(sbi, (factor * DEFAULT_DIRTY_THRESHOLD)); in excess_dirty_threshold()
894 block_t ovp_holes = SEGS_TO_BLKS(sbi, ovp_hole_segs); in f2fs_get_unusable_blocks()
2223 SEGS_TO_BLKS(sbi, end - start)); in f2fs_clear_prefree_segments()
2339 dcc->max_discards = SEGS_TO_BLKS(sbi, MAIN_SEGS(sbi)); in create_discard_cmd_control()
4824 sit_i->sit_blocks = SEGS_TO_BLKS(sbi, sit_segs); in build_sit_info()
H A Dsuper.c3882 sbi->total_node_count = SEGS_TO_BLKS(sbi, in init_sb_info()
4364 SEGS_TO_BLKS(sbi, in f2fs_scan_devices()
4370 SEGS_TO_BLKS(sbi, in f2fs_scan_devices()
H A Df2fs.h1858 #define SEGS_TO_BLKS(sbi, segs) \ macro
1864 #define BLKS_PER_SEC(sbi) (SEGS_TO_BLKS(sbi, (sbi)->segs_per_sec))