Home
last modified time | relevance | path

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

/openbmc/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.c532 sbi->gc_mode = GC_NORMAL; in __sbi_store()
534 sbi->gc_mode = GC_URGENT_HIGH; in __sbi_store()
542 sbi->gc_mode = GC_URGENT_LOW; in __sbi_store()
544 sbi->gc_mode = GC_URGENT_MID; in __sbi_store()
557 sbi->gc_mode = GC_IDLE_CB; in __sbi_store()
559 sbi->gc_mode = GC_IDLE_GREEDY; in __sbi_store()
563 sbi->gc_mode = GC_IDLE_AT; in __sbi_store()
565 sbi->gc_mode = GC_NORMAL; in __sbi_store()
944 F2FS_SBI_RW_ATTR(gc_idle, gc_mode);
1026 F2FS_GENERAL_RO_ATTR(gc_mode);
[all …]
H A Dsuper.c2170 unsigned int gc_mode = sbi->gc_mode; in f2fs_disable_checkpoint() local
2188 sbi->gc_mode = GC_URGENT_HIGH; in f2fs_disable_checkpoint()
2237 sbi->gc_mode = gc_mode; in f2fs_disable_checkpoint()
3764 sbi->gc_mode = GC_NORMAL; in init_sb_info()
H A Dsegment.h179 int gc_mode; /* GC_CB or GC_GREEDY */ member
H A Df2fs.h1667 unsigned int gc_mode; /* current GC state */ member
2857 if (sbi->gc_mode == GC_URGENT_HIGH) in is_idle()
2863 if (sbi->gc_mode == GC_URGENT_MID) in is_idle()
2866 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()
1899 if (sbi->gc_mode == GC_URGENT_HIGH || in issue_discard_thread()
3373 (fio->sbi->gc_mode != GC_URGENT_HIGH) && in __get_segment_type_6()
/openbmc/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfbdrv.c423 struct mb862xx_gc_mode *mode = par->gc_mode; in mb862xxfb_init_fbinfo()
649 ccf = par->gc_mode ? par->gc_mode->ccf : GC_CCF_COT_100; in mb862xx_gdc_init()
650 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
/openbmc/linux/include/trace/events/
H A Df2fs.h775 __field(int, gc_mode)
789 __entry->gc_mode = p->gc_mode;
805 show_victim_policy(__entry->gc_mode),
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-fs-f2fs646 What: /sys/fs/f2fs/<disk>/gc_mode
649 Description: Show the current gc_mode as a string.