Searched refs:gc_mode (Results 1 – 10 of 10) sorted by relevance
247 int gc_mode; in select_gc_type() local251 gc_mode = GC_AT; in select_gc_type()253 gc_mode = GC_CB; in select_gc_type()255 gc_mode = GC_GREEDY; in select_gc_type()258 switch (sbi->gc_mode) { in select_gc_type()262 gc_mode = GC_CB; in select_gc_type()266 gc_mode = GC_GREEDY; in select_gc_type()269 gc_mode = GC_AT; in select_gc_type()273 return gc_mode; in select_gc_type()2090 int gc_mode, gc_type; in free_segment_range() local[all …]
578 sbi->gc_mode = GC_NORMAL; in __sbi_store()580 sbi->gc_mode = GC_URGENT_HIGH; in __sbi_store()588 sbi->gc_mode = GC_URGENT_LOW; in __sbi_store()590 sbi->gc_mode = GC_URGENT_MID; in __sbi_store()603 sbi->gc_mode = GC_IDLE_CB; in __sbi_store()605 sbi->gc_mode = GC_IDLE_GREEDY; in __sbi_store()609 sbi->gc_mode = GC_IDLE_AT; in __sbi_store()611 sbi->gc_mode = GC_NORMAL; in __sbi_store()1077 F2FS_SBI_RW_ATTR(gc_idle, gc_mode);1165 F2FS_GENERAL_RO_ATTR(gc_mode);[all …]
2222 unsigned int gc_mode = sbi->gc_mode; in f2fs_disable_checkpoint() local2240 sbi->gc_mode = GC_URGENT_HIGH; in f2fs_disable_checkpoint()2290 sbi->gc_mode = gc_mode; in f2fs_disable_checkpoint()3889 sbi->gc_mode = GC_NORMAL; in init_sb_info()
176 int gc_mode; /* GC_CB or GC_GREEDY */ member
1705 unsigned int gc_mode; /* current GC state */ member2959 if (sbi->gc_mode == GC_URGENT_HIGH) in is_idle()2970 if (sbi->gc_mode == GC_URGENT_MID) in is_idle()2973 if (sbi->gc_mode == GC_URGENT_LOW && in is_idle()
179 if (sbi->gc_mode == GC_URGENT_HIGH) in f2fs_need_SSR()1925 if (sbi->gc_mode == GC_URGENT_HIGH || in issue_discard_thread()3630 (fio->sbi->gc_mode != GC_URGENT_HIGH) && in __get_segment_type_6()
414 struct mb862xx_gc_mode *mode = par->gc_mode; in mb862xxfb_init_fbinfo()640 ccf = par->gc_mode ? par->gc_mode->ccf : GC_CCF_COT_100; in mb862xx_gdc_init()641 mmr = par->gc_mode ? par->gc_mode->mmr : 0x414fb7f2; in mb862xx_gdc_init()708 par->gc_mode = &socrates_gc_mode; in of_platform_mb862xx_probe()714 if (par->gc_mode) in of_platform_mb862xx_probe()715 par->mapped_vram = par->gc_mode->max_vram; in of_platform_mb862xx_probe()
81 struct mb862xx_gc_mode *gc_mode; /* GDC mode init data */ member
792 __field(int, gc_mode)806 __entry->gc_mode = p->gc_mode;822 show_victim_policy(__entry->gc_mode),
670 What: /sys/fs/f2fs/<disk>/gc_mode673 Description: Show the current gc_mode as a string.