Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Dgc.h94 return SEGS_TO_BLKS(sbi, free_segments(sbi)); in free_segs_blk_count()
102 ovp_blks = SEGS_TO_BLKS(sbi, overprovision_segments(sbi)); in free_user_blocks()
H A Dsegment.h51 #define TOTAL_BLKS(sbi) (SEGS_TO_BLKS(sbi, TOTAL_SEGS(sbi)))
58 (SEGS_TO_BLKS(sbi, GET_R2L_SEGNO(FREE_I(sbi), segno))))
603 unsigned int used_blocks = __is_large_section(sbi) ? SEGS_TO_BLKS(sbi, in get_left_section_blocks()
988 return SEGS_TO_BLKS(sbi, 8); in nr_pages_to_skip()
H A Dgc.c334 return SEGS_TO_BLKS(sbi, 2 * p->ofs_unit); in get_max_cost()
2306 (long long)SEGS_TO_BLKS(sbi, segs)); in update_sb_metadata()
2322 long long blks = SEGS_TO_BLKS(sbi, segs); in update_fs_metadata()
2372 if (block_count + SEGS_TO_BLKS(sbi, last_segs) <= in f2fs_resize_fs()
H A Dsegment.c488 SEGS_TO_BLKS(sbi, (factor * DEFAULT_DIRTY_THRESHOLD)); in excess_dirty_threshold()
951 block_t ovp_holes = SEGS_TO_BLKS(sbi, ovp_hole_segs); in f2fs_get_unusable_blocks()
2274 SEGS_TO_BLKS(sbi, end - start)); in f2fs_clear_prefree_segments()
2390 dcc->max_discards = SEGS_TO_BLKS(sbi, MAIN_SEGS(sbi)); in create_discard_cmd_control()
5005 sit_i->sit_blocks = SEGS_TO_BLKS(sbi, sit_segs); in build_sit_info()
H A Dsuper.c4390 sbi->total_node_count = SEGS_TO_BLKS(sbi, in init_sb_info()
4866 blks = SEGS_TO_BLKS(sbi, segs); in get_first_seq_zone_segno()
4931 SEGS_TO_BLKS(sbi, in f2fs_scan_devices()
4939 SEGS_TO_BLKS(sbi, in f2fs_scan_devices()
H A Df2fs.h2103 #define SEGS_TO_BLKS(sbi, segs) \ macro
2109 #define BLKS_PER_SEC(sbi) (SEGS_TO_BLKS(sbi, (sbi)->segs_per_sec))