Home
last modified time | relevance | path

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

/Linux-v4.19/fs/f2fs/
Dgc.c1059 unsigned int end_segno = start_segno + sbi->segs_per_sec; in do_garbage_collect() local
1070 while (segno < end_segno) { in do_garbage_collect()
1077 for (segno = start_segno; segno < end_segno; segno++) { in do_garbage_collect()
Dfile.c2525 unsigned int start_segno = 0, end_segno = 0; in f2fs_ioc_flush_device() local
2560 end_segno = min(start_segno + range.segments, dev_end_segno); in f2fs_ioc_flush_device()
2562 while (start_segno < end_segno) { in f2fs_ioc_flush_device()
2567 sm->last_victim[GC_CB] = end_segno + 1; in f2fs_ioc_flush_device()
2568 sm->last_victim[GC_GREEDY] = end_segno + 1; in f2fs_ioc_flush_device()
2569 sm->last_victim[ALLOC_NEXT] = end_segno + 1; in f2fs_ioc_flush_device()
Dsegment.c2625 unsigned int start_segno, end_segno; in f2fs_trim_fs() local
2647 end_segno = (end >= MAX_BLKADDR(sbi)) ? MAIN_SEGS(sbi) - 1 : in f2fs_trim_fs()
2651 end_segno = roundup(end_segno + 1, sbi->segs_per_sec) - 1; in f2fs_trim_fs()
2657 cpc.trim_end = end_segno; in f2fs_trim_fs()
2678 end_block = START_BLOCK(sbi, end_segno + 1); in f2fs_trim_fs()