Lines Matching refs:NULL_SEGNO
129 if (f2fs_gc(sbi, sync_mode, !foreground, false, NULL_SEGNO)) in gc_thread_func()
303 return NULL_SEGNO; in check_bg_victims()
660 p.min_segno = NULL_SEGNO; in get_victim_by_default()
670 if (*result != NULL_SEGNO) { in get_victim_by_default()
688 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { 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()
698 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()
706 if (p.min_segno != NULL_SEGNO) in get_victim_by_default()
801 if (is_atgc && p.min_segno == NULL_SEGNO && in get_victim_by_default()
807 if (p.min_segno != NULL_SEGNO) { in get_victim_by_default()
822 if (p.min_segno != NULL_SEGNO) in get_victim_by_default()
1770 sbi->cur_victim_sec = NULL_SEGNO; in f2fs_gc()
1788 segno = NULL_SEGNO; in f2fs_gc()
1795 segno = NULL_SEGNO; in f2fs_gc()
1889 sbi->next_victim_seg[gc_type] = NULL_SEGNO; in free_segment_range()