Searched refs:SEGS_TO_BLKS (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/fs/f2fs/ |
| H A D | gc.h | 117 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 D | segment.h | 78 #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 D | gc.c | 335 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 D | segment.c | 469 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 D | super.c | 3882 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 D | f2fs.h | 1858 #define SEGS_TO_BLKS(sbi, segs) \ macro 1864 #define BLKS_PER_SEC(sbi) (SEGS_TO_BLKS(sbi, (sbi)->segs_per_sec))
|