Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dgc.c688 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
689 p.min_segno = sbi->next_victim_seg[BG_GC]; in get_victim_by_default()
691 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
695 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default()
696 p.min_segno = sbi->next_victim_seg[FG_GC]; in get_victim_by_default()
698 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()
1676 sbi->next_victim_seg[gc_type] = segno + 1; in do_garbage_collect()
1888 if (sbi->next_victim_seg[gc_type] >= start) in free_segment_range()
1889 sbi->next_victim_seg[gc_type] = NULL_SEGNO; in free_segment_range()
H A Dsuper.c3464 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
3465 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
H A Df2fs.h1687 unsigned int next_victim_seg[2]; /* next segment in victim section */ member