Home
last modified time | relevance | path

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

/Linux-v5.15/fs/f2fs/
Dgc.c689 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
690 p.min_segno = sbi->next_victim_seg[BG_GC]; in get_victim_by_default()
692 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
696 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default()
697 p.min_segno = sbi->next_victim_seg[FG_GC]; in get_victim_by_default()
699 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()
1663 sbi->next_victim_seg[gc_type] = segno + 1; in do_garbage_collect()
1867 if (sbi->next_victim_seg[gc_type] >= start) in free_segment_range()
1868 sbi->next_victim_seg[gc_type] = NULL_SEGNO; in free_segment_range()
Dsuper.c3521 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
3522 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
Df2fs.h1671 unsigned int next_victim_seg[2]; /* next segment in victim section */ member