Home
last modified time | relevance | path

Searched refs:gc_mode (Results 1 – 10 of 10) sorted by relevance

/linux/fs/f2fs/
H A Dgc.c218 int gc_mode; in select_gc_type() local
222 gc_mode = GC_AT; in select_gc_type()
224 gc_mode = GC_CB; in select_gc_type()
226 gc_mode = GC_GREEDY; in select_gc_type()
229 switch (sbi->gc_mode) { in select_gc_type()
231 gc_mode = GC_CB; in select_gc_type()
235 gc_mode = GC_GREEDY; in select_gc_type()
238 gc_mode = GC_AT; in select_gc_type()
242 return gc_mode; in select_gc_type()
251 p->gc_mode = GC_GREEDY; in select_policy()
[all …]
H A Dsysfs.c566 sbi->gc_mode = GC_NORMAL; in __sbi_store()
568 sbi->gc_mode = GC_URGENT_HIGH; in __sbi_store()
576 sbi->gc_mode = GC_URGENT_LOW; in __sbi_store()
578 sbi->gc_mode = GC_URGENT_MID; in __sbi_store()
591 sbi->gc_mode = GC_IDLE_CB; in __sbi_store()
593 sbi->gc_mode = GC_IDLE_GREEDY; in __sbi_store()
597 sbi->gc_mode = GC_IDLE_AT; in __sbi_store()
599 sbi->gc_mode = GC_NORMAL; in __sbi_store()
993 F2FS_SBI_RW_ATTR(gc_idle, gc_mode);
1075 F2FS_GENERAL_RO_ATTR(gc_mode);
[all …]
H A Dsuper.c2179 unsigned int gc_mode = sbi->gc_mode; in f2fs_disable_checkpoint() local
2197 sbi->gc_mode = GC_URGENT_HIGH; in f2fs_disable_checkpoint()
2247 sbi->gc_mode = gc_mode; in f2fs_disable_checkpoint()
3794 sbi->gc_mode = GC_NORMAL; in init_sb_info()
H A Dsegment.h178 int gc_mode; /* GC_CB or GC_GREEDY */ member
H A Df2fs.h1666 unsigned int gc_mode; /* current GC state */ member
2854 if (sbi->gc_mode == GC_URGENT_HIGH) in is_idle()
2860 if (sbi->gc_mode == GC_URGENT_MID) in is_idle()
2863 if (sbi->gc_mode == GC_URGENT_LOW && in is_idle()
H A Dsegment.c179 if (sbi->gc_mode == GC_URGENT_HIGH) in f2fs_need_SSR()
1902 if (sbi->gc_mode == GC_URGENT_HIGH || in issue_discard_thread()
3486 (fio->sbi->gc_mode != GC_URGENT_HIGH)) in __get_segment_type_6()
/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfbdrv.c414 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()
H A Dmb862xxfb.h81 struct mb862xx_gc_mode *gc_mode; /* GDC mode init data */ member
/linux/include/trace/events/
H A Df2fs.h791 __field(int, gc_mode)
805 __entry->gc_mode = p->gc_mode;
821 show_victim_policy(__entry->gc_mode),
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-f2fs661 What: /sys/fs/f2fs/<disk>/gc_mode
664 Description: Show the current gc_mode as a string.