Home
last modified time | relevance | path

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

/openbmc/linux/fs/f2fs/
H A Dgc.c795 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in f2fs_get_victim()
796 p.min_segno = sbi->next_victim_seg[BG_GC]; in f2fs_get_victim()
798 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in f2fs_get_victim()
802 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in f2fs_get_victim()
803 p.min_segno = sbi->next_victim_seg[FG_GC]; in f2fs_get_victim()
805 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in f2fs_get_victim()
1788 sbi->next_victim_seg[gc_type] = in do_garbage_collect()
2044 if (sbi->next_victim_seg[gc_type] >= start) in free_segment_range()
2045 sbi->next_victim_seg[gc_type] = NULL_SEGNO; in free_segment_range()
H A Dsuper.c3777 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
3778 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
H A Df2fs.h1668 unsigned int next_victim_seg[2]; /* next segment in victim section */ member