Home
last modified time | relevance | path

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

/Linux-v4.19/fs/f2fs/
Dgc.c100 if (f2fs_gc(sbi, test_opt(sbi, FORCE_FG_GC), true, NULL_SEGNO)) in gc_thread_func()
234 return NULL_SEGNO; in check_bg_victims()
317 p.min_segno = NULL_SEGNO; in get_victim_by_default()
320 if (*result != NULL_SEGNO) { in get_victim_by_default()
334 if (p.min_segno != NULL_SEGNO) in get_victim_by_default()
387 if (p.min_segno != NULL_SEGNO) { in get_victim_by_default()
405 return (p.min_segno == NULL_SEGNO) ? 0 : 1; in get_victim_by_default()
1208 sbi->cur_victim_sec = NULL_SEGNO; in f2fs_gc()
1216 segno = NULL_SEGNO; in f2fs_gc()
1224 segno = NULL_SEGNO; in f2fs_gc()
Dsegment.h15 #define NULL_SEGNO ((unsigned int)(~0)) macro
89 NULL_SEGNO : GET_L2R_SEGNO(FREE_I(sbi), \
Dsegment.c492 f2fs_gc(sbi, false, false, NULL_SEGNO); in f2fs_balance_fs()
804 if (segno == NULL_SEGNO || IS_CURSEG(sbi, segno)) in locate_dirty_segment()
2321 curseg->next_segno = NULL_SEGNO; in reset_curseg()
2444 unsigned segno = NULL_SEGNO; in get_ssr_segment()
2913 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in f2fs_allocate_data_block()
2983 if (GET_SEGNO(fio->sbi, fio->old_blkaddr) != NULL_SEGNO) in do_write_page()
3140 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) { in f2fs_do_replace_block()
3875 array[i].segno = NULL_SEGNO; in build_curseg()
Ddata.c903 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in __allocate_data_block()
Dfile.c2101 ret = f2fs_gc(sbi, sync, true, NULL_SEGNO); in f2fs_ioc_gc()