Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Dgc.c248 static int select_gc_type(struct f2fs_sb_info *sbi, int gc_type) in select_gc_type() argument
252 if (gc_type == BG_GC) { in select_gc_type()
279 static void select_policy(struct f2fs_sb_info *sbi, int gc_type, in select_policy() argument
290 p->gc_mode = select_gc_type(sbi, gc_type); in select_policy()
306 if (gc_type != FG_GC && in select_policy()
750 static int f2fs_gc_pinned_control(struct inode *inode, int gc_type, in f2fs_gc_pinned_control() argument
755 if (gc_type != FG_GC) in f2fs_gc_pinned_control()
771 int gc_type, int type, char alloc_mode, in f2fs_get_victim() argument
797 select_policy(sbi, gc_type, type, &p); in f2fs_get_victim()
818 if (gc_type == FG_GC) in f2fs_get_victim()
[all …]
H A Df2fs.h4024 int f2fs_move_node_folio(struct folio *node_folio, int gc_type);
4307 int gc_type, int type, char alloc_mode,
4498 #define stat_inc_gc_sec_count(sbi, type, gc_type) \ argument
4499 (F2FS_STAT(sbi)->gc_secs[(type)][(gc_type)]++)
4500 #define stat_inc_gc_seg_count(sbi, type, gc_type) \ argument
4501 (F2FS_STAT(sbi)->gc_segs[(type)][(gc_type)]++)
4506 #define stat_inc_data_blk_count(sbi, blks, gc_type) \ argument
4511 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
4514 #define stat_inc_node_blk_count(sbi, blks, gc_type) \ argument
4519 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
[all …]
H A Dnode.c1909 int f2fs_move_node_folio(struct folio *node_folio, int gc_type) in f2fs_move_node_folio() argument
1911 return f2fs_write_single_node_folio(node_folio, gc_type == FG_GC, in f2fs_move_node_folio()
/linux/include/trace/events/
H A Df2fs.h720 TP_PROTO(struct super_block *sb, int gc_type, bool no_bg_gc,
727 TP_ARGS(sb, gc_type, no_bg_gc, nr_free_secs, dirty_nodes,
733 __field(int, gc_type)
747 __entry->gc_type = gc_type;
763 show_gc_type(__entry->gc_type),
764 (__entry->gc_type == BG_GC) ? __entry->no_bg_gc : -1,
832 TP_PROTO(struct super_block *sb, int type, int gc_type,
836 TP_ARGS(sb, type, gc_type, p, pre_victim, prefree, free),
841 __field(int, gc_type)
855 __entry->gc_type = gc_type;
[all …]
/linux/drivers/input/joystick/
H A Dgamecon.c48 enum gc_type { enum
66 enum gc_type type;