Home
last modified time | relevance | path

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

/linux-6.15/fs/f2fs/
H A Dgc.c247 int gc_mode; in select_gc_type() local
251 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 …]
H A Dsysfs.c578 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 …]
H A Dsuper.c2222 unsigned int gc_mode = sbi->gc_mode; in f2fs_disable_checkpoint() local
2240 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()
H A Dsegment.h176 int gc_mode; /* GC_CB or GC_GREEDY */ member
H A Df2fs.h1705 unsigned int gc_mode; /* current GC state */ member
2959 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()
H A Dsegment.c179 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()
/linux-6.15/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-6.15/include/trace/events/
H A Df2fs.h792 __field(int, gc_mode)
806 __entry->gc_mode = p->gc_mode;
822 show_victim_policy(__entry->gc_mode),
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-fs-f2fs670 What: /sys/fs/f2fs/<disk>/gc_mode
673 Description: Show the current gc_mode as a string.