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

/linux-master/fs/f2fs/
H A Dgc.c216 static int select_gc_type(struct f2fs_sb_info *sbi, int gc_type) argument
220 if (gc_type == BG_GC) {
245 static void select_policy(struct f2fs_sb_info *sbi, int gc_type, argument
261 p->gc_mode = select_gc_type(sbi, gc_type);
277 if (gc_type != FG_GC &&
319 * If the gc_type is FG_GC, we can select victim segments
723 static int f2fs_gc_pinned_control(struct inode *inode, int gc_type, argument
728 if (gc_type != FG_GC)
744 int gc_type, int type, char alloc_mode,
764 select_policy(sbi, gc_type, typ
743 f2fs_get_victim(struct f2fs_sb_info *sbi, unsigned int *result, int gc_type, int type, char alloc_mode, unsigned long long age) argument
996 gc_node_segment(struct f2fs_sb_info *sbi, struct f2fs_summary *sum, unsigned int segno, int gc_type) argument
1260 move_data_block(struct inode *inode, block_t bidx, int gc_type, unsigned int segno, int off) argument
1417 move_data_page(struct inode *inode, block_t bidx, int gc_type, unsigned int segno, int off) argument
1493 gc_data_segment(struct f2fs_sb_info *sbi, struct f2fs_summary *sum, struct gc_inode_list *gc_list, unsigned int segno, int gc_type, bool force_migrate) argument
1654 __get_victim(struct f2fs_sb_info *sbi, unsigned int *victim, int gc_type) argument
1666 do_garbage_collect(struct f2fs_sb_info *sbi, unsigned int start_segno, struct gc_inode_list *gc_list, int gc_type, bool force_migrate) argument
1790 int gc_type = gc_control->init_gc_type; local
2018 int gc_mode, gc_type; local
[all...]
H A Df2fs.h3643 int f2fs_move_node_page(struct page *node_page, int gc_type);
3886 int gc_type, int type, char alloc_mode,
4060 #define stat_inc_gc_sec_count(sbi, type, gc_type) \
4061 (F2FS_STAT(sbi)->gc_secs[(type)][(gc_type)]++)
4062 #define stat_inc_gc_seg_count(sbi, type, gc_type) \
4063 (F2FS_STAT(sbi)->gc_segs[(type)][(gc_type)]++)
4068 #define stat_inc_data_blk_count(sbi, blks, gc_type) \
4073 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
4076 #define stat_inc_node_blk_count(sbi, blks, gc_type) \
4081 si->bg_node_blks += ((gc_type)
[all...]
H A Dnode.c1708 int f2fs_move_node_page(struct page *node_page, int gc_type) argument
1712 if (gc_type == FG_GC) {
/linux-master/include/trace/events/
H A Df2fs.h668 TP_PROTO(struct super_block *sb, int gc_type, bool no_bg_gc,
675 TP_ARGS(sb, gc_type, no_bg_gc, nr_free_secs, dirty_nodes,
681 __field(int, gc_type)
695 __entry->gc_type = gc_type;
707 TP_printk("dev = (%d,%d), gc_type = %s, no_background_GC = %d, nr_free_secs = %u, "
711 show_gc_type(__entry->gc_type),
712 (__entry->gc_type == BG_GC) ? __entry->no_bg_gc : -1,
780 TP_PROTO(struct super_block *sb, int type, int gc_type,
784 TP_ARGS(sb, type, gc_type,
[all...]
/linux-master/drivers/input/joystick/
H A Dgamecon.c48 enum gc_type { enum
66 enum gc_type type;

Completed in 195 milliseconds