Searched refs:end_segno (Results 1 – 4 of 4) sorted by relevance
| /linux/fs/f2fs/ |
| H A D | gc.c | 1778 unsigned int end_segno = start_segno + SEGS_PER_SEC(sbi); in do_garbage_collect() local 1786 sec_end_segno = rounddown(end_segno, SEGS_PER_SEC(sbi)); in do_garbage_collect() 1808 end_segno = start_segno + window_granularity; in do_garbage_collect() 1811 if (end_segno > sec_end_segno) in do_garbage_collect() 1812 end_segno = sec_end_segno; in do_garbage_collect() 1818 sum_blk_cnt = DIV_ROUND_UP(end_segno - segno, sbi->sums_per_block); in do_garbage_collect() 1825 while (segno < end_segno) { in do_garbage_collect() 1832 end_segno = segno - sbi->sums_per_block; in do_garbage_collect() 1834 while (segno < end_segno) { in do_garbage_collect() 1848 while (segno < end_segno) { in do_garbage_collect() [all …]
|
| H A D | debug.c | 74 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 D | segment.c | 2967 unsigned int end_segno = GET_SEGNO(sbi, FDEV(devi).end_blk); in get_new_segment() local 2969 hint = GET_SEC_FROM_SEG(sbi, end_segno) + 1; in get_new_segment() 3597 unsigned int start_segno, end_segno; in f2fs_trim_fs() local 3619 end_segno = (end >= MAX_BLKADDR(sbi)) ? MAIN_SEGS(sbi) - 1 : in f2fs_trim_fs() 3623 end_segno = roundup(end_segno + 1, SEGS_PER_SEC(sbi)) - 1; in f2fs_trim_fs() 3629 cpc.trim_end = end_segno; in f2fs_trim_fs() 3651 end_block = START_BLOCK(sbi, end_segno + 1); in f2fs_trim_fs()
|
| H A D | file.c | 3402 unsigned int start_segno = 0, end_segno = 0; in f2fs_ioc_flush_device() local 3443 end_segno = min(start_segno + range.segments, dev_end_segno); in f2fs_ioc_flush_device() 3445 while (start_segno < end_segno) { in f2fs_ioc_flush_device() 3450 sm->last_victim[GC_CB] = end_segno + 1; in f2fs_ioc_flush_device() 3451 sm->last_victim[GC_GREEDY] = end_segno + 1; in f2fs_ioc_flush_device() 3452 sm->last_victim[ALLOC_NEXT] = end_segno + 1; in f2fs_ioc_flush_device()
|