Searched refs:gc_type (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/fs/f2fs/ |
D | gc.c | 135 static int select_gc_type(struct f2fs_gc_kthread *gc_th, int gc_type) in select_gc_type() argument 137 int gc_mode = (gc_type == BG_GC) ? GC_CB : GC_GREEDY; in select_gc_type() 148 static void select_policy(struct f2fs_sb_info *sbi, int gc_type, in select_policy() argument 159 p->gc_mode = select_gc_type(sbi->gc_thread, gc_type); in select_policy() 258 unsigned int *result, int gc_type, int type, char alloc_mode) in get_victim_by_default() argument 269 select_policy(sbi, gc_type, type, &p); in get_victim_by_default() 277 if (p.alloc_mode == LFS && gc_type == FG_GC) { in get_victim_by_default() 306 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default() 327 if (gc_type == FG_GC) in get_victim_by_default() 334 trace_f2fs_get_victim(sbi->sb, type, gc_type, &p, in get_victim_by_default() [all …]
|
D | f2fs.h | 1956 #define stat_inc_seg_count(sbi, type, gc_type) \ argument 1962 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \ 1965 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \ 1972 #define stat_inc_data_blk_count(sbi, blks, gc_type) \ argument 1977 si->bg_data_blks += (gc_type == BG_GC) ? (blks) : 0; \ 1980 #define stat_inc_node_blk_count(sbi, blks, gc_type) \ argument 1985 si->bg_node_blks += (gc_type == BG_GC) ? (blks) : 0; \ 2011 #define stat_inc_seg_count(sbi, type, gc_type) argument 2013 #define stat_inc_data_blk_count(sbi, blks, gc_type) argument 2014 #define stat_inc_node_blk_count(sbi, blks, gc_type) argument
|
/linux-4.4.14/include/trace/events/ |
D | f2fs.h | 547 TP_PROTO(struct super_block *sb, int type, int gc_type, 551 TP_ARGS(sb, type, gc_type, p, pre_victim, prefree, free), 556 __field(int, gc_type) 569 __entry->gc_type = gc_type; 583 show_gc_type(__entry->gc_type),
|
/linux-4.4.14/drivers/input/joystick/ |
D | gamecon.c | 67 enum gc_type { enum 85 enum gc_type type;
|