Searched refs:gc_type (Results 1 – 5 of 5) sorted by relevance
| /linux/fs/f2fs/ |
| H A D | gc.c | 250 static int select_gc_type(struct f2fs_sb_info *sbi, int gc_type) in select_gc_type() argument 254 if (gc_type == BG_GC) { in select_gc_type() 281 static void select_policy(struct f2fs_sb_info *sbi, int gc_type, in select_policy() argument 292 p->gc_mode = select_gc_type(sbi, gc_type); in select_policy() 308 if (gc_type != FG_GC && in select_policy() 751 static int f2fs_gc_pinned_control(struct inode *inode, int gc_type, in f2fs_gc_pinned_control() argument 756 if (gc_type != FG_GC) in f2fs_gc_pinned_control() 772 int gc_type, int type, char alloc_mode, in f2fs_get_victim() argument 798 select_policy(sbi, gc_type, type, &p); in f2fs_get_victim() 819 if (gc_type == FG_GC) in f2fs_get_victim() [all …]
|
| H A D | f2fs.h | 3862 int f2fs_move_node_folio(struct folio *node_folio, int gc_type); 4117 int gc_type, int type, char alloc_mode, 4307 #define stat_inc_gc_sec_count(sbi, type, gc_type) \ argument 4308 (F2FS_STAT(sbi)->gc_secs[(type)][(gc_type)]++) 4309 #define stat_inc_gc_seg_count(sbi, type, gc_type) \ argument 4310 (F2FS_STAT(sbi)->gc_segs[(type)][(gc_type)]++) 4315 #define stat_inc_data_blk_count(sbi, blks, gc_type) \ argument 4320 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \ 4323 #define stat_inc_node_blk_count(sbi, blks, gc_type) \ argument 4328 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \ [all …]
|
| H A D | node.c | 1814 int f2fs_move_node_folio(struct folio *node_folio, int gc_type) in f2fs_move_node_folio() argument 1818 if (gc_type == FG_GC) { in f2fs_move_node_folio()
|
| /linux/include/trace/events/ |
| H A D | f2fs.h | 710 TP_PROTO(struct super_block *sb, int gc_type, bool no_bg_gc, 717 TP_ARGS(sb, gc_type, no_bg_gc, nr_free_secs, dirty_nodes, 723 __field(int, gc_type) 737 __entry->gc_type = gc_type; 753 show_gc_type(__entry->gc_type), 754 (__entry->gc_type == BG_GC) ? __entry->no_bg_gc : -1, 822 TP_PROTO(struct super_block *sb, int type, int gc_type, 826 TP_ARGS(sb, type, gc_type, p, pre_victim, prefree, free), 831 __field(int, gc_type) 845 __entry->gc_type = gc_type; [all …]
|
| /linux/drivers/input/joystick/ |
| H A D | gamecon.c | 48 enum gc_type { enum 66 enum gc_type type;
|