Home
last modified time | relevance | path

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

/Linux-v6.1/fs/f2fs/
Dgc.c39 .victim_segno = NULL_SEGNO, in gc_thread_func()
329 return NULL_SEGNO; in check_bg_victims()
735 p.min_segno = NULL_SEGNO; in get_victim_by_default()
745 if (*result != NULL_SEGNO) { in get_victim_by_default()
763 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
766 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
770 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default()
773 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()
781 if (p.min_segno != NULL_SEGNO) in get_victim_by_default()
879 if (is_atgc && p.min_segno == NULL_SEGNO && in get_victim_by_default()
[all …]
Dsegment.c403 .victim_segno = NULL_SEGNO, in f2fs_balance_fs()
795 if (segno == NULL_SEGNO || IS_CURSEG(sbi, segno)) in locate_dirty_segment()
893 return NULL_SEGNO; in get_free_segment()
2133 if (segno == NULL_SEGNO) in get_segment_mtime()
2146 if (segno == NULL_SEGNO) in update_segment_mtime()
2516 curseg->next_segno = NULL_SEGNO; in reset_curseg()
2786 unsigned segno = NULL_SEGNO; in get_ssr_segment()
2830 if (segno != NULL_SEGNO) { in get_ssr_segment()
3230 f2fs_bug_on(sbi, GET_SEGNO(sbi, old_blkaddr) == NULL_SEGNO); in f2fs_allocate_data_block()
3265 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in f2fs_allocate_data_block()
[all …]
Dsegment.h12 #define NULL_SEGNO ((unsigned int)(~0)) macro
100 NULL_SEGNO : GET_L2R_SEGNO(FREE_I(sbi), \
Dsuper.c2119 .victim_segno = NULL_SEGNO, in f2fs_disable_checkpoint()
3612 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
3613 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
Dfile.c1693 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in expand_inode_data()
2413 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_ioc_gc()
Ddata.c1424 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) { in __allocate_data_block()