Lines Matching refs:segs_per_sec
2153 start = rounddown(start, sbi->segs_per_sec);
2154 end = roundup(end, sbi->segs_per_sec);
2180 sbi->segs_per_sec << sbi->log_blocks_per_seg);
2182 start = start_segno + sbi->segs_per_sec;
2592 if (segno < MAIN_SEGS(sbi) && segno % sbi->segs_per_sec)
2616 if (!new_sec && ((*newseg + 1) % sbi->segs_per_sec)) {
2719 /* if segs_per_sec is large than 1, we need to keep original policy. */
3260 start_segno = rounddown(start_segno, sbi->segs_per_sec);
3261 end_segno = roundup(end_segno + 1, sbi->segs_per_sec) - 1;
4784 for (segno = 0; segno < MAIN_SEGS(sbi); segno += sbi->segs_per_sec) {
4923 for (s = sbi->segs_per_sec - 1; s >= 0; s--) {
5199 return sbi->segs_per_sec;
5214 for (segno = 0; segno < MAIN_SEGS(sbi); segno += sbi->segs_per_sec) {
5218 for (i = 0; i < sbi->segs_per_sec; i++)
5221 mtime = div_u64(mtime, sbi->segs_per_sec);
5260 sm_info->min_seq_blocks = sbi->blocks_per_seg * sbi->segs_per_sec;