Home
last modified time | relevance | path

Searched refs:NULL_SEGNO (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/fs/f2fs/
Dgc.c105 if (f2fs_gc(sbi, test_opt(sbi, FORCE_FG_GC), true, NULL_SEGNO)) in gc_thread_func()
239 return NULL_SEGNO; in check_bg_victims()
323 p.min_segno = NULL_SEGNO; in get_victim_by_default()
326 if (*result != NULL_SEGNO) { in get_victim_by_default()
337 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { 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()
347 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()
355 if (p.min_segno != NULL_SEGNO) in get_victim_by_default()
424 if (p.min_segno != NULL_SEGNO) { in get_victim_by_default()
[all …]
Dsegment.h12 #define NULL_SEGNO ((unsigned int)(~0)) macro
86 NULL_SEGNO : GET_L2R_SEGNO(FREE_I(sbi), \
Dsegment.c500 f2fs_gc(sbi, false, false, NULL_SEGNO); in f2fs_balance_fs()
827 if (segno == NULL_SEGNO || IS_CURSEG(sbi, segno)) in locate_dirty_segment()
922 return NULL_SEGNO; in get_free_segment()
2459 curseg->next_segno = NULL_SEGNO; in reset_curseg()
2586 unsigned segno = NULL_SEGNO; in get_ssr_segment()
2627 if (segno != NULL_SEGNO) { in get_ssr_segment()
3097 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in f2fs_allocate_data_block()
3169 if (GET_SEGNO(fio->sbi, fio->old_blkaddr) != NULL_SEGNO) in do_write_page()
3337 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) { in f2fs_do_replace_block()
4098 array[i].segno = NULL_SEGNO; in build_curseg()
Dsuper.c1520 err = f2fs_gc(sbi, true, false, NULL_SEGNO); in f2fs_disable_checkpoint()
2811 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()
Ddata.c1057 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in __allocate_data_block()
Dfile.c2299 ret = f2fs_gc(sbi, sync, true, NULL_SEGNO); in f2fs_ioc_gc()