Home
last modified time | relevance | path

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

/openbmc/linux/fs/f2fs/
H A Dgc.c216 static int select_gc_type(struct f2fs_sb_info *sbi, int gc_type) in select_gc_type() argument
220 if (gc_type == BG_GC) { in select_gc_type()
247 static void select_policy(struct f2fs_sb_info *sbi, int gc_type, in select_policy() argument
263 p->gc_mode = select_gc_type(sbi, gc_type); in select_policy()
279 if (gc_type != FG_GC && in select_policy()
725 static int f2fs_gc_pinned_control(struct inode *inode, int gc_type, in f2fs_gc_pinned_control() argument
730 if (gc_type != FG_GC) in f2fs_gc_pinned_control()
746 int gc_type, int type, char alloc_mode, in f2fs_get_victim() argument
766 select_policy(sbi, gc_type, type, &p); in f2fs_get_victim()
801 if (gc_type == FG_GC && in f2fs_get_victim()
[all …]
H A Df2fs.h3633 int f2fs_move_node_page(struct page *node_page, int gc_type);
3876 int gc_type, int type, char alloc_mode,
4050 #define stat_inc_gc_sec_count(sbi, type, gc_type) \ argument
4051 (F2FS_STAT(sbi)->gc_secs[(type)][(gc_type)]++)
4052 #define stat_inc_gc_seg_count(sbi, type, gc_type) \ argument
4053 (F2FS_STAT(sbi)->gc_segs[(type)][(gc_type)]++)
4058 #define stat_inc_data_blk_count(sbi, blks, gc_type) \ argument
4063 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
4066 #define stat_inc_node_blk_count(sbi, blks, gc_type) \ argument
4071 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
[all …]
H A Dnode.c1723 int f2fs_move_node_page(struct page *node_page, int gc_type) in f2fs_move_node_page() argument
1727 if (gc_type == FG_GC) { in f2fs_move_node_page()
/openbmc/linux/include/trace/events/
H A Df2fs.h652 TP_PROTO(struct super_block *sb, int gc_type, bool no_bg_gc,
659 TP_ARGS(sb, gc_type, no_bg_gc, nr_free_secs, dirty_nodes,
665 __field(int, gc_type)
679 __entry->gc_type = gc_type;
695 show_gc_type(__entry->gc_type),
696 (__entry->gc_type == BG_GC) ? __entry->no_bg_gc : -1,
764 TP_PROTO(struct super_block *sb, int type, int gc_type,
768 TP_ARGS(sb, type, gc_type, p, pre_victim, prefree, free),
773 __field(int, gc_type)
787 __entry->gc_type = gc_type;
[all …]
/openbmc/linux/drivers/input/joystick/
H A Dgamecon.c48 enum gc_type { enum
66 enum gc_type type;