Home
last modified time | relevance | path

Searched refs:wb_thresh (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/mm/
Dpage-writeback.c138 unsigned long wb_thresh; member
920 u64 wb_thresh; in __wb_calc_thresh() local
930 wb_thresh = (thresh * (100 * BDI_RATIO_SCALE - bdi_min_ratio)) / (100 * BDI_RATIO_SCALE); in __wb_calc_thresh()
931 wb_thresh *= numerator; in __wb_calc_thresh()
932 wb_thresh = div64_ul(wb_thresh, denominator); in __wb_calc_thresh()
936 wb_thresh += (thresh * wb_min_ratio) / (100 * BDI_RATIO_SCALE); in __wb_calc_thresh()
937 if (wb_thresh > (thresh * wb_max_ratio) / (100 * BDI_RATIO_SCALE)) in __wb_calc_thresh()
938 wb_thresh = thresh * wb_max_ratio / (100 * BDI_RATIO_SCALE); in __wb_calc_thresh()
940 return wb_thresh; in __wb_calc_thresh()
1074 unsigned long wb_thresh = dtc->wb_thresh; in wb_position_ratio() local
[all …]
Dbacking-dev.c52 unsigned long wb_thresh; member
83 stats->wb_thresh += wb_calc_thresh(wb, stats->dirty_thresh); in collect_wb_stats()
142 K(stats.wb_thresh), in bdi_debug_stats_show()
182 K(stats->wb_thresh), in wb_stats_show()
219 stats.wb_thresh = min(stats.wb_thresh, cgwb_calc_thresh(wb)); in cgwb_debug_stats_show()