Searched refs:gc_type (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/fs/f2fs/ |
D | gc.c | 132 static int select_gc_type(struct f2fs_gc_kthread *gc_th, int gc_type) in select_gc_type() argument 134 int gc_mode = (gc_type == BG_GC) ? GC_CB : GC_GREEDY; in select_gc_type() 145 static void select_policy(struct f2fs_sb_info *sbi, int gc_type, in select_policy() argument 156 p->gc_mode = select_gc_type(sbi->gc_thread, gc_type); in select_policy() 255 unsigned int *result, int gc_type, int type, char alloc_mode) in get_victim_by_default() argument 265 select_policy(sbi, gc_type, type, &p); in get_victim_by_default() 270 if (p.alloc_mode == LFS && gc_type == FG_GC) { in get_victim_by_default() 298 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default() 319 if (gc_type == FG_GC) in get_victim_by_default() 326 trace_f2fs_get_victim(sbi->sb, type, gc_type, &p, in get_victim_by_default() [all …]
|
D | f2fs.h | 1720 #define stat_inc_seg_count(sbi, type, gc_type) \ argument 1726 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \ 1729 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \ 1736 #define stat_inc_data_blk_count(sbi, blks, gc_type) \ argument 1741 si->bg_data_blks += (gc_type == BG_GC) ? (blks) : 0; \ 1744 #define stat_inc_node_blk_count(sbi, blks, gc_type) \ argument 1749 si->bg_node_blks += (gc_type == BG_GC) ? (blks) : 0; \ 1771 #define stat_inc_seg_count(sbi, type, gc_type) argument 1773 #define stat_inc_data_blk_count(sbi, blks, gc_type) argument 1774 #define stat_inc_node_blk_count(sbi, blks, gc_type) argument
|
/linux-4.1.27/include/trace/events/ |
D | f2fs.h | 514 TP_PROTO(struct super_block *sb, int type, int gc_type, 518 TP_ARGS(sb, type, gc_type, p, pre_victim, prefree, free), 523 __field(int, gc_type) 536 __entry->gc_type = gc_type; 550 show_gc_type(__entry->gc_type),
|
/linux-4.1.27/drivers/input/joystick/ |
D | gamecon.c | 67 enum gc_type { enum 85 enum gc_type type;
|