Home
last modified time | relevance | path

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

/Linux-v5.15/fs/f2fs/
Dgc.c129 if (f2fs_gc(sbi, sync_mode, !foreground, false, NULL_SEGNO)) in gc_thread_func()
303 return NULL_SEGNO; in check_bg_victims()
661 p.min_segno = NULL_SEGNO; in get_victim_by_default()
671 if (*result != NULL_SEGNO) { in get_victim_by_default()
689 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
692 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
696 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default()
699 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()
707 if (p.min_segno != NULL_SEGNO) in get_victim_by_default()
802 if (is_atgc && p.min_segno == NULL_SEGNO && in get_victim_by_default()
[all …]
Dsegment.c527 f2fs_gc(sbi, false, false, false, NULL_SEGNO); in f2fs_balance_fs()
893 if (segno == NULL_SEGNO || IS_CURSEG(sbi, segno)) in locate_dirty_segment()
991 return NULL_SEGNO; in get_free_segment()
2230 if (segno == NULL_SEGNO) in get_segment_mtime()
2243 if (segno == NULL_SEGNO) in update_segment_mtime()
2613 curseg->next_segno = NULL_SEGNO; in reset_curseg()
2868 unsigned segno = NULL_SEGNO; in get_ssr_segment()
2912 if (segno != NULL_SEGNO) { in get_ssr_segment()
3408 f2fs_bug_on(sbi, GET_SEGNO(sbi, old_blkaddr) == NULL_SEGNO); in f2fs_allocate_data_block()
3443 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.c2049 err = f2fs_gc(sbi, true, false, false, NULL_SEGNO); in f2fs_disable_checkpoint()
3521 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
3522 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
Dfile.c1677 err = f2fs_gc(sbi, true, false, false, NULL_SEGNO); in expand_inode_data()
2452 ret = f2fs_gc(sbi, sync, true, false, NULL_SEGNO); in f2fs_ioc_gc()
Ddata.c1373 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) { in __allocate_data_block()