Searched refs:end_segno (Results 1 – 4 of 4) sorted by relevance
1747 unsigned int end_segno = start_segno + SEGS_PER_SEC(sbi); in do_garbage_collect() local1756 sec_end_segno = rounddown(end_segno, SEGS_PER_SEC(sbi)); in do_garbage_collect()1778 end_segno = start_segno + window_granularity; in do_garbage_collect()1781 if (end_segno > sec_end_segno) in do_garbage_collect()1782 end_segno = sec_end_segno; in do_garbage_collect()1788 sum_blk_cnt = DIV_ROUND_UP(end_segno - segno, sbi->sums_per_block); in do_garbage_collect()1795 while (segno < end_segno) { in do_garbage_collect()1802 end_segno = segno - sbi->sums_per_block; in do_garbage_collect()1804 while (segno < end_segno) { in do_garbage_collect()1818 while (segno < end_segno) { in do_garbage_collect()[all …]
74 unsigned int start_segno, end_segno; in update_multidevice_stats() local86 end_segno = GET_SEGNO(sbi, end_blk); in update_multidevice_stats()88 for (j = start_segno; j < end_segno; j++) { in update_multidevice_stats()
3278 unsigned int start_segno = 0, end_segno = 0; in f2fs_ioc_flush_device() local3319 end_segno = min(start_segno + range.segments, dev_end_segno); in f2fs_ioc_flush_device()3321 while (start_segno < end_segno) { in f2fs_ioc_flush_device()3326 sm->last_victim[GC_CB] = end_segno + 1; in f2fs_ioc_flush_device()3327 sm->last_victim[GC_GREEDY] = end_segno + 1; in f2fs_ioc_flush_device()3328 sm->last_victim[ALLOC_NEXT] = end_segno + 1; in f2fs_ioc_flush_device()
3484 unsigned int start_segno, end_segno; in f2fs_trim_fs() local3506 end_segno = (end >= MAX_BLKADDR(sbi)) ? MAIN_SEGS(sbi) - 1 : in f2fs_trim_fs()3510 end_segno = roundup(end_segno + 1, SEGS_PER_SEC(sbi)) - 1; in f2fs_trim_fs()3516 cpc.trim_end = end_segno; in f2fs_trim_fs()3538 end_block = START_BLOCK(sbi, end_segno + 1); in f2fs_trim_fs()