Home
last modified time | relevance | path

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

/Linux-v6.1/fs/f2fs/
Dgc.c763 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
764 p.min_segno = sbi->next_victim_seg[BG_GC]; in get_victim_by_default()
766 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
770 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default()
771 p.min_segno = sbi->next_victim_seg[FG_GC]; in get_victim_by_default()
773 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()
1748 sbi->next_victim_seg[gc_type] = segno + 1; in do_garbage_collect()
1963 if (sbi->next_victim_seg[gc_type] >= start) in free_segment_range()
1964 sbi->next_victim_seg[gc_type] = NULL_SEGNO; in free_segment_range()
Dsuper.c3612 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
3613 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
Df2fs.h1736 unsigned int next_victim_seg[2]; /* next segment in victim section */ member