Searched refs:SEGS_TO_BLKS (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/f2fs/ |
| H A D | gc.h | 94 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 D | segment.h | 51 #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 D | gc.c | 334 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 D | segment.c | 488 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 D | super.c | 4390 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 D | f2fs.h | 2103 #define SEGS_TO_BLKS(sbi, segs) \ macro 2109 #define BLKS_PER_SEC(sbi) (SEGS_TO_BLKS(sbi, (sbi)->segs_per_sec))
|