Home
last modified time | relevance | path

Searched refs:gc_type (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dgc.c192 static int select_gc_type(struct f2fs_sb_info *sbi, int gc_type) in select_gc_type() argument
196 if (gc_type == BG_GC) { in select_gc_type()
221 static void select_policy(struct f2fs_sb_info *sbi, int gc_type, in select_policy() argument
237 p->gc_mode = select_gc_type(sbi, gc_type); in select_policy()
253 if (gc_type != FG_GC && in select_policy()
639 unsigned int *result, int gc_type, int type, in get_victim_by_default() argument
659 select_policy(sbi, gc_type, type, &p); in get_victim_by_default()
694 if (gc_type == FG_GC && in get_victim_by_default()
704 if (p.alloc_mode == LFS && gc_type == FG_GC) { in get_victim_by_default()
768 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default()
[all …]
H A Df2fs.h3556 int f2fs_move_node_page(struct page *node_page, int gc_type);
3962 #define stat_inc_seg_count(sbi, type, gc_type) \ argument
3968 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \
3971 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \
3978 #define stat_inc_data_blk_count(sbi, blks, gc_type) \ argument
3983 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
3986 #define stat_inc_node_blk_count(sbi, blks, gc_type) \ argument
3991 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
4030 #define stat_inc_seg_count(sbi, type, gc_type) do { } while (0) argument
4032 #define stat_inc_data_blk_count(sbi, blks, gc_type) do { } while (0) argument
[all …]
H A Dnode.c1684 int f2fs_move_node_page(struct page *node_page, int gc_type) in f2fs_move_node_page() argument
1688 if (gc_type == FG_GC) { in f2fs_move_node_page()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Df2fs.h758 TP_PROTO(struct super_block *sb, int type, int gc_type,
762 TP_ARGS(sb, type, gc_type, p, pre_victim, prefree, free),
767 __field(int, gc_type)
781 __entry->gc_type = gc_type;
797 show_gc_type(__entry->gc_type),
/OK3568_Linux_fs/kernel/drivers/input/joystick/
H A Dgamecon.c51 enum gc_type { enum
69 enum gc_type type;