Home
last modified time | relevance | path

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

/Linux-v5.4/mm/
Dpage-writeback.c143 unsigned long wb_thresh; member
768 u64 wb_thresh; in __wb_calc_thresh() local
778 wb_thresh = (thresh * (100 - bdi_min_ratio)) / 100; in __wb_calc_thresh()
779 wb_thresh *= numerator; in __wb_calc_thresh()
780 do_div(wb_thresh, denominator); in __wb_calc_thresh()
784 wb_thresh += (thresh * wb_min_ratio) / 100; in __wb_calc_thresh()
785 if (wb_thresh > (thresh * wb_max_ratio) / 100) in __wb_calc_thresh()
786 wb_thresh = thresh * wb_max_ratio / 100; in __wb_calc_thresh()
788 return wb_thresh; in __wb_calc_thresh()
910 unsigned long wb_thresh = dtc->wb_thresh; in wb_position_ratio() local
[all …]
Dbacking-dev.c54 unsigned long wb_thresh; in bdi_debug_stats_show() local
72 wb_thresh = wb_calc_thresh(wb, dirty_thresh); in bdi_debug_stats_show()
92 K(wb_thresh), in bdi_debug_stats_show()