Home
last modified time | relevance | path

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

/linux-6.1.9/fs/f2fs/
Dgc.c215 static int select_gc_type(struct f2fs_sb_info *sbi, int gc_type) in select_gc_type() argument
219 if (gc_type == BG_GC) { in select_gc_type()
244 static void select_policy(struct f2fs_sb_info *sbi, int gc_type, in select_policy() argument
260 p->gc_mode = select_gc_type(sbi, gc_type); in select_policy()
276 if (gc_type != FG_GC && in select_policy()
692 static int f2fs_gc_pinned_control(struct inode *inode, int gc_type, in f2fs_gc_pinned_control() argument
697 if (gc_type != FG_GC) in f2fs_gc_pinned_control()
713 unsigned int *result, int gc_type, int type, in get_victim_by_default() argument
733 select_policy(sbi, gc_type, type, &p); in get_victim_by_default()
768 if (gc_type == FG_GC && in get_victim_by_default()
[all …]
Df2fs.h3603 int f2fs_move_node_page(struct page *node_page, int gc_type);
4000 #define stat_inc_seg_count(sbi, type, gc_type) \ argument
4006 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \
4009 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \
4016 #define stat_inc_data_blk_count(sbi, blks, gc_type) \ argument
4021 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
4024 #define stat_inc_node_blk_count(sbi, blks, gc_type) \ argument
4029 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
4069 #define stat_inc_seg_count(sbi, type, gc_type) do { } while (0) argument
4071 #define stat_inc_data_blk_count(sbi, blks, gc_type) do { } while (0) argument
[all …]
Dnode.c1680 int f2fs_move_node_page(struct page *node_page, int gc_type) in f2fs_move_node_page() argument
1684 if (gc_type == FG_GC) { in f2fs_move_node_page()
/linux-6.1.9/include/trace/events/
Df2fs.h647 TP_PROTO(struct super_block *sb, int gc_type, bool no_bg_gc,
654 TP_ARGS(sb, gc_type, no_bg_gc, nr_free_secs, dirty_nodes,
660 __field(int, gc_type)
674 __entry->gc_type = gc_type;
690 show_gc_type(__entry->gc_type),
691 (__entry->gc_type == BG_GC) ? __entry->no_bg_gc : -1,
759 TP_PROTO(struct super_block *sb, int type, int gc_type,
763 TP_ARGS(sb, type, gc_type, p, pre_victim, prefree, free),
768 __field(int, gc_type)
782 __entry->gc_type = gc_type;
[all …]
/linux-6.1.9/drivers/input/joystick/
Dgamecon.c48 enum gc_type { enum
66 enum gc_type type;