Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dgc.c129 if (f2fs_gc(sbi, sync_mode, !foreground, false, NULL_SEGNO)) in gc_thread_func()
303 return NULL_SEGNO; in check_bg_victims()
660 p.min_segno = NULL_SEGNO; in get_victim_by_default()
670 if (*result != NULL_SEGNO) { in get_victim_by_default()
688 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
691 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
695 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in get_victim_by_default()
698 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in get_victim_by_default()
706 if (p.min_segno != NULL_SEGNO) in get_victim_by_default()
801 if (is_atgc && p.min_segno == NULL_SEGNO && in get_victim_by_default()
[all …]
H A Dsegment.c528 f2fs_gc(sbi, false, false, false, NULL_SEGNO); in f2fs_balance_fs()
892 if (segno == NULL_SEGNO || IS_CURSEG(sbi, segno)) in locate_dirty_segment()
990 return NULL_SEGNO; in get_free_segment()
2201 if (segno == NULL_SEGNO) in get_segment_mtime()
2214 if (segno == NULL_SEGNO) in update_segment_mtime()
2582 curseg->next_segno = NULL_SEGNO; in reset_curseg()
2837 unsigned segno = NULL_SEGNO; in get_ssr_segment()
2881 if (segno != NULL_SEGNO) { in get_ssr_segment()
3400 f2fs_bug_on(sbi, GET_SEGNO(sbi, old_blkaddr) == NULL_SEGNO); in f2fs_allocate_data_block()
3435 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in f2fs_allocate_data_block()
[all …]
H A Dsegment.h12 #define NULL_SEGNO ((unsigned int)(~0)) macro
100 NULL_SEGNO : GET_L2R_SEGNO(FREE_I(sbi), \
H A Dsuper.c2006 err = f2fs_gc(sbi, true, false, false, NULL_SEGNO); in f2fs_disable_checkpoint()
3464 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
3465 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
H A Dfile.c1685 err = f2fs_gc(sbi, true, false, false, NULL_SEGNO); in expand_inode_data()
2519 ret = f2fs_gc(sbi, sync, true, false, NULL_SEGNO); in f2fs_ioc_gc()
H A Ddata.c1393 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) { in __allocate_data_block()