Home
last modified time | relevance | path

Searched refs:end_segno (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/fs/f2fs/
H A Dgc.c1725 unsigned int end_segno = start_segno + SEGS_PER_SEC(sbi); in do_garbage_collect() local
1734 sec_end_segno = rounddown(end_segno, SEGS_PER_SEC(sbi)); in do_garbage_collect()
1756 end_segno = start_segno + window_granularity; in do_garbage_collect()
1759 if (end_segno > sec_end_segno) in do_garbage_collect()
1760 end_segno = sec_end_segno; in do_garbage_collect()
1768 end_segno - segno, META_SSA, true); in do_garbage_collect()
1771 while (segno < end_segno) { in do_garbage_collect()
1776 end_segno = segno - 1; in do_garbage_collect()
1777 for (segno = start_segno; segno < end_segno; segno++) { in do_garbage_collect()
1790 for (segno = start_segno; segno < end_segno; segno++) { in do_garbage_collect()
H A Ddebug.c74 unsigned int start_segno, end_segno; in update_multidevice_stats() local
86 end_segno = GET_SEGNO(sbi, end_blk); in update_multidevice_stats()
88 for (j = start_segno; j < end_segno; j++) { in update_multidevice_stats()
H A Dfile.c3190 unsigned int start_segno = 0, end_segno = 0; in f2fs_ioc_flush_device() local
3231 end_segno = min(start_segno + range.segments, dev_end_segno); in f2fs_ioc_flush_device()
3233 while (start_segno < end_segno) { in f2fs_ioc_flush_device()
3238 sm->last_victim[GC_CB] = end_segno + 1; in f2fs_ioc_flush_device()
3239 sm->last_victim[GC_GREEDY] = end_segno + 1; in f2fs_ioc_flush_device()
3240 sm->last_victim[ALLOC_NEXT] = end_segno + 1; in f2fs_ioc_flush_device()
H A Dsegment.c3432 unsigned int start_segno, end_segno; in f2fs_trim_fs() local
3453 end_segno = (end >= MAX_BLKADDR(sbi)) ? MAIN_SEGS(sbi) - 1 : in f2fs_trim_fs()
3457 end_segno = roundup(end_segno + 1, SEGS_PER_SEC(sbi)) - 1; in f2fs_trim_fs()
3463 cpc.trim_end = end_segno; in f2fs_trim_fs()
3485 end_block = START_BLOCK(sbi, end_segno + 1); in f2fs_trim_fs()