Home
last modified time | relevance | path

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

/Linux-v5.10/fs/f2fs/
Dgc.c115 if (f2fs_gc(sbi, sync_mode, true, NULL_SEGNO)) in gc_thread_func()
283 return NULL_SEGNO; in check_bg_victims()
644 p.min_segno = NULL_SEGNO; in get_victim_by_default()
654 if (*result != NULL_SEGNO) { in get_victim_by_default()
672 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
675 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
679 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default()
682 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()
690 if (p.min_segno != NULL_SEGNO) in get_victim_by_default()
769 if (is_atgc && p.min_segno == NULL_SEGNO && in get_victim_by_default()
[all …]
Dsegment.c510 f2fs_gc(sbi, false, false, NULL_SEGNO); in f2fs_balance_fs()
867 if (segno == NULL_SEGNO || IS_CURSEG(sbi, segno)) in locate_dirty_segment()
965 return NULL_SEGNO; in get_free_segment()
2165 if (segno == NULL_SEGNO) in get_segment_mtime()
2178 if (segno == NULL_SEGNO) in update_segment_mtime()
2544 curseg->next_segno = NULL_SEGNO; in reset_curseg()
2794 unsigned segno = NULL_SEGNO; in get_ssr_segment()
2838 if (segno != NULL_SEGNO) { in get_ssr_segment()
3317 f2fs_bug_on(sbi, GET_SEGNO(sbi, old_blkaddr) == NULL_SEGNO); in f2fs_allocate_data_block()
3352 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in f2fs_allocate_data_block()
[all …]
Dsegment.h12 #define NULL_SEGNO ((unsigned int)(~0)) macro
99 NULL_SEGNO : GET_L2R_SEGNO(FREE_I(sbi), \
Dsuper.c1726 err = f2fs_gc(sbi, true, false, NULL_SEGNO); in f2fs_disable_checkpoint()
3078 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
3079 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
Dfile.c1636 err = f2fs_gc(sbi, true, false, NULL_SEGNO); in expand_inode_data()
2471 ret = f2fs_gc(sbi, sync, true, NULL_SEGNO); in f2fs_ioc_gc()
Ddata.c1420 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in __allocate_data_block()