Home
last modified time | relevance | path

Searched refs:gc_mode (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-6.6/fs/f2fs/
H A Dgc.c97 if (sbi->gc_mode == GC_URGENT_HIGH || in gc_thread_func()
98 sbi->gc_mode == GC_URGENT_MID) { in gc_thread_func()
157 if (sbi->gc_mode != GC_NORMAL) { in gc_thread_func()
162 sbi->gc_mode = GC_NORMAL; in gc_thread_func()
218 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 in select_gc_type()
1988 int gc_mode, gc_type; free_segment_range() local
[all...]
H A Dsysfs.c149 return sysfs_emit(buf, "%s\n", gc_mode_names[sbi->gc_mode]); in gc_mode_show()
526 sbi->gc_mode = GC_NORMAL; in __sbi_store()
528 sbi->gc_mode = GC_URGENT_HIGH; in __sbi_store()
536 sbi->gc_mode = GC_URGENT_LOW; in __sbi_store()
538 sbi->gc_mode = GC_URGENT_MID; in __sbi_store()
551 sbi->gc_mode = GC_IDLE_CB; in __sbi_store()
553 sbi->gc_mode = GC_IDLE_GREEDY; in __sbi_store()
557 sbi->gc_mode = GC_IDLE_AT; in __sbi_store()
559 sbi->gc_mode = GC_NORMAL; in __sbi_store()
938 F2FS_SBI_RW_ATTR(gc_idle, gc_mode);
1020 F2FS_GENERAL_RO_ATTR(gc_mode); global() variable
[all...]
H A Dsuper.c2223 unsigned int gc_mode = sbi->gc_mode; in f2fs_disable_checkpoint() local
2241 sbi->gc_mode = GC_URGENT_HIGH; in f2fs_disable_checkpoint()
2290 sbi->gc_mode = gc_mode; in f2fs_disable_checkpoint()
3818 sbi->gc_mode = GC_NORMAL; in init_sb_info()
H A Dsegment.h165 * In the victim_sel_policy->gc_mode, there are three gc, aka cleaning, modes.
191 int gc_mode; /* GC_CB or GC_GREEDY */ member
H A Df2fs.h1662 unsigned int gc_mode; /* current GC state */ member
2842 if (sbi->gc_mode == GC_URGENT_HIGH) in is_idle()
2848 if (sbi->gc_mode == GC_URGENT_MID) in is_idle()
2851 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()
1891 if (sbi->gc_mode == GC_URGENT_HIGH || in issue_discard_thread()
3346 (fio->sbi->gc_mode != GC_URGENT_HIGH)) in __get_segment_type_6()
/kernel/linux/linux-5.10/fs/f2fs/
H A Dgc.c93 if (sbi->gc_mode == GC_URGENT_HIGH) { in gc_thread_func()
193 int gc_mode; in select_gc_type() local
197 gc_mode = GC_AT; in select_gc_type()
199 gc_mode = GC_CB; in select_gc_type()
201 gc_mode = GC_GREEDY; in select_gc_type()
204 switch (sbi->gc_mode) { in select_gc_type()
206 gc_mode = GC_CB; in select_gc_type()
210 gc_mode = GC_GREEDY; in select_gc_type()
213 gc_mode = GC_AT; in select_gc_type()
217 return gc_mode; in select_gc_type()
1878 int gc_mode, gc_type; free_segment_range() local
[all...]
H A Dsysfs.c378 sbi->gc_mode = GC_NORMAL; in __sbi_store()
380 sbi->gc_mode = GC_URGENT_HIGH; in __sbi_store()
388 sbi->gc_mode = GC_URGENT_LOW; in __sbi_store()
396 sbi->gc_mode = GC_IDLE_CB; in __sbi_store()
398 sbi->gc_mode = GC_IDLE_GREEDY; in __sbi_store()
402 sbi->gc_mode = GC_IDLE_AT; in __sbi_store()
404 sbi->gc_mode = GC_NORMAL; in __sbi_store()
555 F2FS_RW_ATTR(F2FS_SBI, f2fs_sb_info, gc_idle, gc_mode);
556 F2FS_RW_ATTR(F2FS_SBI, f2fs_sb_info, gc_urgent, gc_mode);
H A Dsegment.h176 * In the victim_sel_policy->gc_mode, there are two gc, aka cleaning, modes.
211 int gc_mode; /* GC_CB or GC_GREEDY */ member
H A Df2fs.h1508 unsigned int gc_mode; /* current GC state */ member
2495 if (sbi->gc_mode == GC_URGENT_HIGH) in is_idle()
2501 if (sbi->gc_mode == GC_URGENT_LOW && in is_idle()
H A Dsegment.c195 if (sbi->gc_mode == GC_URGENT_HIGH) in f2fs_need_SSR()
223 if (sbi->gc_mode == GC_URGENT_HIGH) in need_ssr_by_type()
1923 if (sbi->gc_mode == GC_URGENT_HIGH) in issue_discard_thread()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/include/trace/events/
H A Df2fs.h762 __field(int, gc_mode)
776 __entry->gc_mode = p->gc_mode;
792 show_victim_policy(__entry->gc_mode),
/kernel/linux/linux-6.6/include/trace/events/
H A Df2fs.h774 __field(int, gc_mode)
788 __entry->gc_mode = p->gc_mode;
804 show_victim_policy(__entry->gc_mode),

Completed in 66 milliseconds