Home
last modified time | relevance | path

Searched refs:next_victim_seg (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/f2fs/
H A Dgc.c687 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
688 p.min_segno = sbi->next_victim_seg[BG_GC]; in get_victim_by_default()
690 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
694 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default()
695 p.min_segno = sbi->next_victim_seg[FG_GC]; in get_victim_by_default()
697 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()
1680 sbi->next_victim_seg[gc_type] = in do_garbage_collect()
1893 if (sbi->next_victim_seg[gc_type] >= start) in free_segment_range()
1894 sbi->next_victim_seg[gc_type] = NULL_SEGNO; in free_segment_range()
H A Dsuper.c3187 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
3188 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
H A Df2fs.h1509 unsigned int next_victim_seg[2]; /* next segment in victim section */ member
/kernel/linux/linux-6.6/fs/f2fs/
H A Dgc.c794 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in f2fs_get_victim()
795 p.min_segno = sbi->next_victim_seg[BG_GC]; in f2fs_get_victim()
797 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in f2fs_get_victim()
801 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in f2fs_get_victim()
802 p.min_segno = sbi->next_victim_seg[FG_GC]; in f2fs_get_victim()
804 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in f2fs_get_victim()
1777 sbi->next_victim_seg[gc_type] = in do_garbage_collect()
2003 if (sbi->next_victim_seg[gc_type] >= start) in free_segment_range()
2004 sbi->next_victim_seg[gc_type] = NULL_SEGNO; in free_segment_range()
H A Dsuper.c3819 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
3820 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
H A Df2fs.h1663 unsigned int next_victim_seg[2]; /* next segment in victim section */ member

Completed in 32 milliseconds