Symbol: gc_type
drivers/input/joystick/gamecon.c
66
enum gc_type type;
fs/f2fs/f2fs.h
3950
int f2fs_move_node_folio(struct folio *node_folio, int gc_type);
fs/f2fs/f2fs.h
4211
int gc_type, int type, char alloc_mode,
fs/f2fs/f2fs.h
4401
#define stat_inc_gc_sec_count(sbi, type, gc_type) \
fs/f2fs/f2fs.h
4402
(F2FS_STAT(sbi)->gc_secs[(type)][(gc_type)]++)
fs/f2fs/f2fs.h
4403
#define stat_inc_gc_seg_count(sbi, type, gc_type) \
fs/f2fs/f2fs.h
4404
(F2FS_STAT(sbi)->gc_segs[(type)][(gc_type)]++)
fs/f2fs/f2fs.h
4409
#define stat_inc_data_blk_count(sbi, blks, gc_type) \
fs/f2fs/f2fs.h
4414
si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
fs/f2fs/f2fs.h
4417
#define stat_inc_node_blk_count(sbi, blks, gc_type) \
fs/f2fs/f2fs.h
4422
si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
fs/f2fs/f2fs.h
4461
#define stat_inc_gc_sec_count(sbi, type, gc_type) do { } while (0)
fs/f2fs/f2fs.h
4462
#define stat_inc_gc_seg_count(sbi, type, gc_type) do { } while (0)
fs/f2fs/f2fs.h
4464
#define stat_inc_data_blk_count(sbi, blks, gc_type) do { } while (0)
fs/f2fs/f2fs.h
4465
#define stat_inc_node_blk_count(sbi, blks, gc_type) do { } while (0)
fs/f2fs/gc.c
1038
struct f2fs_summary *sum, unsigned int segno, int gc_type,
fs/f2fs/gc.c
1045
bool fggc = (gc_type == FG_GC);
fs/f2fs/gc.c
1064
if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0))
fs/f2fs/gc.c
1102
err = f2fs_move_node_folio(node_folio, gc_type);
fs/f2fs/gc.c
1103
if (!err && gc_type == FG_GC)
fs/f2fs/gc.c
1105
stat_inc_node_blk_count(sbi, 1, gc_type);
fs/f2fs/gc.c
1308
int gc_type, unsigned int segno, int off)
fs/f2fs/gc.c
1329
int type = fio.sbi->am.atgc_enabled && (gc_type == BG_GC) &&
fs/f2fs/gc.c
1343
err = f2fs_gc_pinned_control(inode, gc_type, segno);
fs/f2fs/gc.c
1472
static int move_data_page(struct inode *inode, block_t bidx, int gc_type,
fs/f2fs/gc.c
1487
err = f2fs_gc_pinned_control(inode, gc_type, segno);
fs/f2fs/gc.c
1491
if (gc_type == BG_GC) {
fs/f2fs/gc.c
1549
struct gc_inode_list *gc_list, unsigned int segno, int gc_type,
fs/f2fs/gc.c
1577
if ((gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) ||
fs/f2fs/gc.c
1631
err = f2fs_gc_pinned_control(inode, gc_type, segno);
fs/f2fs/gc.c
1700
gc_type, segno, off);
fs/f2fs/gc.c
1702
err = move_data_page(inode, start_bidx, gc_type,
fs/f2fs/gc.c
1705
if (!err && (gc_type == FG_GC ||
fs/f2fs/gc.c
1714
stat_inc_data_blk_count(sbi, 1, gc_type);
fs/f2fs/gc.c
1728
int gc_type, bool one_time)
fs/f2fs/gc.c
1734
ret = f2fs_get_victim(sbi, victim, gc_type, NO_CHECK_TYPE,
fs/f2fs/gc.c
1742
struct gc_inode_list *gc_list, int gc_type,
fs/f2fs/gc.c
1768
if (gc_type == BG_GC || one_time) {
fs/f2fs/gc.c
1847
if (gc_type == BG_GC && __is_large_section(sbi) &&
fs/f2fs/gc.c
1872
cur_segno, gc_type, &plug);
fs/f2fs/gc.c
1876
gc_type, force_migrate, &plug);
fs/f2fs/gc.c
1878
stat_inc_gc_seg_count(sbi, data_type, gc_type);
fs/f2fs/gc.c
1883
if (gc_type == FG_GC &&
fs/f2fs/gc.c
1888
sbi->next_victim_seg[gc_type] =
fs/f2fs/gc.c
1903
stat_inc_gc_sec_count(sbi, data_type, gc_type);
fs/f2fs/gc.c
1910
int gc_type = gc_control->init_gc_type;
fs/f2fs/gc.c
1922
trace_f2fs_gc_begin(sbi->sb, gc_type, gc_control->no_bg_gc,
fs/f2fs/gc.c
1946
gc_type = FG_GC;
fs/f2fs/gc.c
1965
if (gc_type == BG_GC && gc_control->no_bg_gc) {
fs/f2fs/gc.c
1970
ret = __get_victim(sbi, &segno, gc_type, gc_control->one_time);
fs/f2fs/gc.c
1973
if (ret == -ENODATA && gc_type == FG_GC &&
fs/f2fs/gc.c
1981
seg_freed = do_garbage_collect(sbi, segno, &gc_list, gc_type,
fs/f2fs/gc.c
1997
if (gc_type == FG_GC) {
fs/f2fs/gc.c
2042
if (gc_type == FG_GC)
fs/f2fs/gc.c
2153
int gc_mode, gc_type;
fs/f2fs/gc.c
2167
for (gc_type = BG_GC; gc_type <= FG_GC; gc_type++)
fs/f2fs/gc.c
2168
if (sbi->next_victim_seg[gc_type] >= start)
fs/f2fs/gc.c
2169
sbi->next_victim_seg[gc_type] = NULL_SEGNO;
fs/f2fs/gc.c
254
static int select_gc_type(struct f2fs_sb_info *sbi, int gc_type)
fs/f2fs/gc.c
258
if (gc_type == BG_GC) {
fs/f2fs/gc.c
285
static void select_policy(struct f2fs_sb_info *sbi, int gc_type,
fs/f2fs/gc.c
296
p->gc_mode = select_gc_type(sbi, gc_type);
fs/f2fs/gc.c
312
if (gc_type != FG_GC &&
fs/f2fs/gc.c
755
static int f2fs_gc_pinned_control(struct inode *inode, int gc_type,
fs/f2fs/gc.c
760
if (gc_type != FG_GC)
fs/f2fs/gc.c
776
int gc_type, int type, char alloc_mode,
fs/f2fs/gc.c
802
select_policy(sbi, gc_type, type, &p);
fs/f2fs/gc.c
823
if (gc_type == FG_GC)
fs/f2fs/gc.c
840
if (gc_type == FG_GC &&
fs/f2fs/gc.c
850
if (p.alloc_mode == LFS && gc_type == FG_GC) {
fs/f2fs/gc.c
914
if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap))
fs/f2fs/gc.c
917
if (gc_type == FG_GC && f2fs_section_is_pinned(dirty_i, secno))
fs/f2fs/gc.c
962
if (gc_type == FG_GC)
fs/f2fs/gc.c
972
trace_f2fs_get_victim(sbi->sb, type, gc_type, &p,
fs/f2fs/node.c
1846
int f2fs_move_node_folio(struct folio *node_folio, int gc_type)
fs/f2fs/node.c
1850
if (gc_type == FG_GC) {
include/trace/events/f2fs.h
719
TP_PROTO(struct super_block *sb, int gc_type, bool no_bg_gc,
include/trace/events/f2fs.h
726
TP_ARGS(sb, gc_type, no_bg_gc, nr_free_secs, dirty_nodes,
include/trace/events/f2fs.h
732
__field(int, gc_type)
include/trace/events/f2fs.h
746
__entry->gc_type = gc_type;
include/trace/events/f2fs.h
762
show_gc_type(__entry->gc_type),
include/trace/events/f2fs.h
763
(__entry->gc_type == BG_GC) ? __entry->no_bg_gc : -1,
include/trace/events/f2fs.h
831
TP_PROTO(struct super_block *sb, int type, int gc_type,
include/trace/events/f2fs.h
835
TP_ARGS(sb, type, gc_type, p, pre_victim, prefree, free),
include/trace/events/f2fs.h
840
__field(int, gc_type)
include/trace/events/f2fs.h
854
__entry->gc_type = gc_type;
include/trace/events/f2fs.h
870
show_gc_type(__entry->gc_type),