Home
last modified time | relevance | path

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

/Linux-v5.4/fs/f2fs/
Dgc.c337 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()
1236 sbi->next_victim_seg[gc_type] = segno + 1; in do_garbage_collect()
1516 if (sbi->next_victim_seg[gc_type] >= in f2fs_resize_fs()
1518 sbi->next_victim_seg[gc_type] = NULL_SEGNO; in f2fs_resize_fs()
Dsuper.c2811 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
2812 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
Df2fs.h1290 unsigned int next_victim_seg[2]; /* next segment in victim section */ member