Home
last modified time | relevance | path

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

/linux-6.6.21/fs/f2fs/
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()
245 static void select_policy(struct f2fs_sb_info *sbi, int gc_type, in select_policy() argument
261 p->gc_mode = select_gc_type(sbi, gc_type); in select_policy()
277 if (gc_type != FG_GC && in select_policy()
724 static int f2fs_gc_pinned_control(struct inode *inode, int gc_type, in f2fs_gc_pinned_control() argument
729 if (gc_type != FG_GC) in f2fs_gc_pinned_control()
745 int gc_type, int type, char alloc_mode, in f2fs_get_victim() argument
765 select_policy(sbi, gc_type, type, &p); in f2fs_get_victim()
800 if (gc_type == FG_GC && in f2fs_get_victim()
[all …]
Df2fs.h3627 int f2fs_move_node_page(struct page *node_page, int gc_type);
3865 int gc_type, int type, char alloc_mode,
4039 #define stat_inc_gc_sec_count(sbi, type, gc_type) \ argument
4040 (F2FS_STAT(sbi)->gc_secs[(type)][(gc_type)]++)
4041 #define stat_inc_gc_seg_count(sbi, type, gc_type) \ argument
4042 (F2FS_STAT(sbi)->gc_segs[(type)][(gc_type)]++)
4047 #define stat_inc_data_blk_count(sbi, blks, gc_type) \ argument
4052 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
4055 #define stat_inc_node_blk_count(sbi, blks, gc_type) \ argument
4060 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
[all …]
Dnode.c1700 int f2fs_move_node_page(struct page *node_page, int gc_type) in f2fs_move_node_page() argument
1704 if (gc_type == FG_GC) { in f2fs_move_node_page()
/linux-6.6.21/include/trace/events/
Df2fs.h651 TP_PROTO(struct super_block *sb, int gc_type, bool no_bg_gc,
658 TP_ARGS(sb, gc_type, no_bg_gc, nr_free_secs, dirty_nodes,
664 __field(int, gc_type)
678 __entry->gc_type = gc_type;
694 show_gc_type(__entry->gc_type),
695 (__entry->gc_type == BG_GC) ? __entry->no_bg_gc : -1,
763 TP_PROTO(struct super_block *sb, int type, int gc_type,
767 TP_ARGS(sb, type, gc_type, p, pre_victim, prefree, free),
772 __field(int, gc_type)
786 __entry->gc_type = gc_type;
[all …]
/linux-6.6.21/drivers/input/joystick/
Dgamecon.c48 enum gc_type { enum
66 enum gc_type type;