Lines Matching refs:segs_per_sec
2162 start = rounddown(start, sbi->segs_per_sec); in f2fs_clear_prefree_segments()
2163 end = roundup(end, sbi->segs_per_sec); in f2fs_clear_prefree_segments()
2191 sbi->segs_per_sec << sbi->log_blocks_per_seg); in f2fs_clear_prefree_segments()
2193 start = start_segno + sbi->segs_per_sec; in f2fs_clear_prefree_segments()
2630 if (segno < MAIN_SEGS(sbi) && segno % sbi->segs_per_sec) in is_next_segment_free()
2654 if (!new_sec && ((*newseg + 1) % sbi->segs_per_sec)) { in get_new_segment()
2757 return get_random_u32_below(MAIN_SECS(sbi) * sbi->segs_per_sec); in __get_next_segno()
3238 start_segno = rounddown(start_segno, sbi->segs_per_sec); in f2fs_trim_fs()
3239 end_segno = roundup(end_segno + 1, sbi->segs_per_sec) - 1; in f2fs_trim_fs()
4748 for (segno = 0; segno < MAIN_SEGS(sbi); segno += sbi->segs_per_sec) { in init_dirty_segmap()
4900 for (s = sbi->segs_per_sec - 1; s >= 0; s--) { in check_zone_write_pointer()
5199 return sbi->segs_per_sec; in f2fs_usable_segs_in_sec()
5214 for (segno = 0; segno < MAIN_SEGS(sbi); segno += sbi->segs_per_sec) { in init_min_max_mtime()
5218 for (i = 0; i < sbi->segs_per_sec; i++) in init_min_max_mtime()
5221 mtime = div_u64(mtime, sbi->segs_per_sec); in init_min_max_mtime()