Searched refs:gc_type (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/fs/f2fs/ |
D | gc.c | 157 static int select_gc_type(struct f2fs_sb_info *sbi, int gc_type) in select_gc_type() argument 159 int gc_mode = (gc_type == BG_GC) ? GC_CB : GC_GREEDY; in select_gc_type() 173 static void select_policy(struct f2fs_sb_info *sbi, int gc_type, in select_policy() argument 184 p->gc_mode = select_gc_type(sbi, gc_type); in select_policy() 191 if (gc_type != FG_GC && in select_policy() 303 unsigned int *result, int gc_type, int type, char alloc_mode) in get_victim_by_default() argument 315 select_policy(sbi, gc_type, type, &p); in get_victim_by_default() 332 if (p.alloc_mode == LFS && gc_type == FG_GC) { in get_victim_by_default() 368 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default() 391 if (gc_type == FG_GC) in get_victim_by_default() [all …]
|
D | f2fs.h | 2872 void f2fs_move_node_page(struct page *node_page, int gc_type); 3180 #define stat_inc_seg_count(sbi, type, gc_type) \ argument 3186 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \ 3189 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \ 3196 #define stat_inc_data_blk_count(sbi, blks, gc_type) \ argument 3201 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \ 3204 #define stat_inc_node_blk_count(sbi, blks, gc_type) \ argument 3209 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \ 3242 #define stat_inc_seg_count(sbi, type, gc_type) do { } while (0) argument 3244 #define stat_inc_data_blk_count(sbi, blks, gc_type) do { } while (0) argument [all …]
|
D | node.c | 1590 void f2fs_move_node_page(struct page *node_page, int gc_type) in f2fs_move_node_page() argument 1592 if (gc_type == FG_GC) { in f2fs_move_node_page()
|
/Linux-v4.19/include/trace/events/ |
D | f2fs.h | 695 TP_PROTO(struct super_block *sb, int type, int gc_type, 699 TP_ARGS(sb, type, gc_type, p, pre_victim, prefree, free), 704 __field(int, gc_type) 718 __entry->gc_type = gc_type; 734 show_gc_type(__entry->gc_type),
|
/Linux-v4.19/drivers/input/joystick/ |
D | gamecon.c | 63 enum gc_type { enum 81 enum gc_type type;
|