Home
last modified time | relevance | path

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

/Linux-v6.6/mm/
Dpage-writeback.c138 unsigned long wb_thresh; member
865 u64 wb_thresh; in __wb_calc_thresh() local
875 wb_thresh = (thresh * (100 * BDI_RATIO_SCALE - bdi_min_ratio)) / (100 * BDI_RATIO_SCALE); in __wb_calc_thresh()
876 wb_thresh *= numerator; in __wb_calc_thresh()
877 wb_thresh = div64_ul(wb_thresh, denominator); in __wb_calc_thresh()
881 wb_thresh += (thresh * wb_min_ratio) / (100 * BDI_RATIO_SCALE); in __wb_calc_thresh()
882 if (wb_thresh > (thresh * wb_max_ratio) / (100 * BDI_RATIO_SCALE)) in __wb_calc_thresh()
883 wb_thresh = thresh * wb_max_ratio / (100 * BDI_RATIO_SCALE); in __wb_calc_thresh()
885 return wb_thresh; in __wb_calc_thresh()
1007 unsigned long wb_thresh = dtc->wb_thresh; in wb_position_ratio() local
[all …]
Dbacking-dev.c55 unsigned long wb_thresh; in bdi_debug_stats_show() local
73 wb_thresh = wb_calc_thresh(wb, dirty_thresh); in bdi_debug_stats_show()
92 K(wb_thresh), in bdi_debug_stats_show()