Searched refs:next_victim_seg (Results 1 – 3 of 3) sorted by relevance
337 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()338 p.min_segno = sbi->next_victim_seg[BG_GC]; in get_victim_by_default()340 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()344 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default()345 p.min_segno = sbi->next_victim_seg[FG_GC]; in get_victim_by_default()347 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()1242 sbi->next_victim_seg[gc_type] = segno + 1; in do_garbage_collect()1552 if (sbi->next_victim_seg[gc_type] >= in f2fs_resize_fs()1554 sbi->next_victim_seg[gc_type] = NULL_SEGNO; in f2fs_resize_fs()
2889 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()2890 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
1301 unsigned int next_victim_seg[2]; /* next segment in victim section */ member