Searched refs:SEGS_PER_SEC (Results 1 – 8 of 8) sorted by relevance
51 SEGS_PER_SEC(sbi)) || \53 SEGS_PER_SEC(sbi)) || \55 SEGS_PER_SEC(sbi)) || \57 SEGS_PER_SEC(sbi)) || \59 SEGS_PER_SEC(sbi)) || \61 SEGS_PER_SEC(sbi)) || \63 SEGS_PER_SEC(sbi)) || \65 SEGS_PER_SEC(sbi)))103 (SEGS_PER_SEC(sbi) * BLKS_PER_SEG(sbi) - \106 (SEGS_PER_SEC(sbi) - ((sbi)->unusable_blocks_per_sec >> \[all …]
264 p->ofs_unit = SEGS_PER_SEC(sbi); in select_policy()288 SEGS_PER_SEC(sbi)); in select_policy()501 for (i = 0; i < SEGS_PER_SEC(sbi); i++) in add_victim_entry()503 mtime = div_u64(mtime, SEGS_PER_SEC(sbi)); in add_victim_entry()759 last_segment = MAIN_SECS(sbi) * SEGS_PER_SEC(sbi); in f2fs_get_victim()900 (MAIN_SECS(sbi) * SEGS_PER_SEC(sbi)); in f2fs_get_victim()1692 unsigned int end_segno = start_segno + SEGS_PER_SEC(sbi); in do_garbage_collect()1700 end_segno = rounddown(end_segno, SEGS_PER_SEC(sbi)); in do_garbage_collect()1708 end_segno -= SEGS_PER_SEC(sbi) - in do_garbage_collect()2001 for (segno = start_seg; segno <= end_seg; segno += SEGS_PER_SEC(sbi)) { in f2fs_gc_range()[all …]
2180 start = rounddown(start, SEGS_PER_SEC(sbi)); in f2fs_clear_prefree_segments()2181 end = roundup(end, SEGS_PER_SEC(sbi)); in f2fs_clear_prefree_segments()2211 start = start_segno + SEGS_PER_SEC(sbi); in f2fs_clear_prefree_segments()2649 if (segno < MAIN_SEGS(sbi) && segno % SEGS_PER_SEC(sbi)) in is_next_segment_free()2672 if (!new_sec && ((*newseg + 1) % SEGS_PER_SEC(sbi))) { in get_new_segment()2766 return get_random_u32_below(MAIN_SECS(sbi) * SEGS_PER_SEC(sbi)); in __get_next_segno()3274 start_segno = rounddown(start_segno, SEGS_PER_SEC(sbi)); in f2fs_trim_fs()3275 end_segno = roundup(end_segno + 1, SEGS_PER_SEC(sbi)) - 1; in f2fs_trim_fs()4780 for (segno = 0; segno < MAIN_SEGS(sbi); segno += SEGS_PER_SEC(sbi)) { in init_dirty_segmap()5231 return SEGS_PER_SEC(sbi); in f2fs_usable_segs_in_sec()[all …]
44 for (segno = 0; segno < MAIN_SEGS(sbi); segno += SEGS_PER_SEC(sbi)) { in f2fs_update_sit_info()
526 if (t == 0 || t > SEGS_PER_SEC(sbi)) in __sbi_store()
1821 #define SEGS_PER_SEC(sbi) \ macro3453 #define __is_large_section(sbi) (SEGS_PER_SEC(sbi) > 1)
3780 sbi->migration_granularity = SEGS_PER_SEC(sbi); in init_sb_info()
3092 range.dev_num, sbi->s_ndevs, SEGS_PER_SEC(sbi)); in f2fs_ioc_flush_device()