Home
last modified time | relevance | path

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

/Linux-v5.10/fs/f2fs/
Dgc.c672 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
673 p.min_segno = sbi->next_victim_seg[BG_GC]; in get_victim_by_default()
675 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
679 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default()
680 p.min_segno = sbi->next_victim_seg[FG_GC]; in get_victim_by_default()
682 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()
1622 sbi->next_victim_seg[gc_type] = segno + 1; in do_garbage_collect()
1825 if (sbi->next_victim_seg[gc_type] >= start) in free_segment_range()
1826 sbi->next_victim_seg[gc_type] = NULL_SEGNO; in free_segment_range()
Dsuper.c3078 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
3079 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
Df2fs.h1535 unsigned int next_victim_seg[2]; /* next segment in victim section */ member