Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Dgc.c39 .victim_segno = NULL_SEGNO, in gc_thread_func()
359 return NULL_SEGNO; in check_bg_victims()
798 p.min_segno = NULL_SEGNO; in f2fs_get_victim()
808 if (*result != NULL_SEGNO) { in f2fs_get_victim()
829 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in f2fs_get_victim()
832 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in f2fs_get_victim()
836 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in f2fs_get_victim()
839 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in f2fs_get_victim()
847 if (p.min_segno != NULL_SEGNO) in f2fs_get_victim()
948 if (is_atgc && p.min_segno == NULL_SEGNO && in f2fs_get_victim()
[all …]
H A Dsegment.h12 #define NULL_SEGNO ((unsigned int)(~0)) macro
71 NULL_SEGNO : GET_L2R_SEGNO(FREE_I(sbi), \
523 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in __set_test_and_free()
525 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in __set_test_and_free()
625 if (unlikely(segno == NULL_SEGNO)) in get_additional_blocks_required()
H A Dsegment.c465 .victim_segno = NULL_SEGNO, in f2fs_balance_fs()
906 if (segno == NULL_SEGNO || is_curseg(sbi, segno)) in locate_dirty_segment()
1009 return NULL_SEGNO; in get_free_segment()
2459 if (segno == NULL_SEGNO) in get_segment_mtime()
2472 if (segno == NULL_SEGNO) in update_segment_mtime()
2598 if (segno == NULL_SEGNO) in update_sit_entry()
3027 if (curseg->next_segno == NULL_SEGNO) in reset_curseg()
3034 curseg->next_segno = NULL_SEGNO; in reset_curseg()
3091 curseg->segno = NULL_SEGNO; in reset_curseg_fields()
3321 unsigned segno = NULL_SEGNO; in get_ssr_segment()
[all …]
H A Dsuper.c560 if (f2fs_sb_has_blkzoned(sbi) && sbi->first_seq_zone_segno != NULL_SEGNO) in adjust_pinned_area_boundary()
2684 .victim_segno = NULL_SEGNO, in f2fs_disable_checkpoint()
4400 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
4401 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in init_sb_info()
4850 return NULL_SEGNO; in get_first_seq_zone_segno()
4871 return NULL_SEGNO; in get_first_seq_zone_segno()
H A Dfile.c1958 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_expand_inode_data()
2869 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_ioc_gc()
H A Ddata.c1526 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in __allocate_data_block()