Searched refs:NULL_SEGNO (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/fs/f2fs/ |
| D | gc.c | 105 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 …]
|
| D | segment.h | 12 #define NULL_SEGNO ((unsigned int)(~0)) macro 86 NULL_SEGNO : GET_L2R_SEGNO(FREE_I(sbi), \
|
| D | segment.c | 500 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()
|
| D | super.c | 1520 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()
|
| D | data.c | 1057 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in __allocate_data_block()
|
| D | file.c | 2299 ret = f2fs_gc(sbi, sync, true, NULL_SEGNO); in f2fs_ioc_gc()
|