Searched refs:NULL_SEGNO (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | gc.c | 129 if (f2fs_gc(sbi, sync_mode, !foreground, false, NULL_SEGNO)) in gc_thread_func() 302 return NULL_SEGNO; in check_bg_victims() 659 p.min_segno = NULL_SEGNO; in get_victim_by_default() 669 if (*result != NULL_SEGNO) { in get_victim_by_default() 687 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default() 690 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default() 694 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default() 697 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default() 705 if (p.min_segno != NULL_SEGNO) in get_victim_by_default() 800 if (is_atgc && p.min_segno == NULL_SEGNO in get_victim_by_default() [all...] |
H A D | segment.c | 614 f2fs_gc(sbi, false, false, false, NULL_SEGNO); in f2fs_balance_fs() 979 if (segno == NULL_SEGNO || IS_CURSEG(sbi, segno)) in locate_dirty_segment() 1077 return NULL_SEGNO; in get_free_segment() 2319 if (segno == NULL_SEGNO) in get_segment_mtime() 2332 if (segno == NULL_SEGNO) in update_segment_mtime() 2698 curseg->next_segno = NULL_SEGNO; in reset_curseg() 2965 unsigned segno = NULL_SEGNO; in get_ssr_segment() 3009 if (segno != NULL_SEGNO) { in get_ssr_segment() 3516 f2fs_bug_on(sbi, GET_SEGNO(sbi, old_blkaddr) == NULL_SEGNO); in f2fs_allocate_data_block() 3551 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in f2fs_allocate_data_block() [all...] |
H A D | segment.h | 12 #define NULL_SEGNO ((unsigned int)(~0)) macro 100 NULL_SEGNO : GET_L2R_SEGNO(FREE_I(sbi), \
|
H A D | super.c | 1802 err = f2fs_gc(sbi, true, false, false, NULL_SEGNO); in f2fs_disable_checkpoint() 3187 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info() 3188 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
|
H A D | file.c | 1661 err = f2fs_gc(sbi, true, false, false, NULL_SEGNO); in expand_inode_data() 2497 ret = f2fs_gc(sbi, sync, true, false, NULL_SEGNO); in f2fs_ioc_gc()
|
H A D | data.c | 1423 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in __allocate_data_block()
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | gc.c | 39 .victim_segno = NULL_SEGNO, in gc_thread_func() 329 return NULL_SEGNO; in check_bg_victims() 766 p.min_segno = NULL_SEGNO; in f2fs_get_victim() 776 if (*result != NULL_SEGNO) { in f2fs_get_victim() 794 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in f2fs_get_victim() 797 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in f2fs_get_victim() 801 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in f2fs_get_victim() 804 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in f2fs_get_victim() 812 if (p.min_segno != NULL_SEGNO) in f2fs_get_victim() 910 if (is_atgc && p.min_segno == NULL_SEGNO in f2fs_get_victim() [all...] |
H A D | segment.c | 431 .victim_segno = NULL_SEGNO, in f2fs_balance_fs() 830 if (segno == NULL_SEGNO || IS_CURSEG(sbi, segno)) in locate_dirty_segment() 928 return NULL_SEGNO; in get_free_segment() 2361 if (segno == NULL_SEGNO) in get_segment_mtime() 2374 if (segno == NULL_SEGNO) in update_segment_mtime() 2735 curseg->next_segno = NULL_SEGNO; in reset_curseg() 2982 unsigned segno = NULL_SEGNO; in get_ssr_segment() 3026 if (segno != NULL_SEGNO) { in get_ssr_segment() 3429 f2fs_bug_on(sbi, GET_SEGNO(sbi, old_blkaddr) == NULL_SEGNO); in f2fs_allocate_data_block() 3465 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in f2fs_allocate_data_block() [all...] |
H A D | segment.h | 12 #define NULL_SEGNO ((unsigned int)(~0)) macro 100 NULL_SEGNO : GET_L2R_SEGNO(FREE_I(sbi), \
|
H A D | super.c | 2245 .victim_segno = NULL_SEGNO, in f2fs_disable_checkpoint() 3819 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info() 3820 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
|
H A D | file.c | 1679 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_expand_inode_data() 2439 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_ioc_gc()
|
H A D | data.c | 1488 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in __allocate_data_block()
|
Completed in 47 milliseconds