Home
last modified time | relevance | path

Searched refs:wb_thresh (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dpage-writeback.c138 unsigned long wb_thresh; member
779 u64 wb_thresh; in __wb_calc_thresh() local
789 wb_thresh = (thresh * (100 - bdi_min_ratio)) / 100; in __wb_calc_thresh()
790 wb_thresh *= numerator; in __wb_calc_thresh()
791 wb_thresh = div64_ul(wb_thresh, denominator); in __wb_calc_thresh()
795 wb_thresh += (thresh * wb_min_ratio) / 100; in __wb_calc_thresh()
796 if (wb_thresh > (thresh * wb_max_ratio) / 100) in __wb_calc_thresh()
797 wb_thresh = thresh * wb_max_ratio / 100; in __wb_calc_thresh()
799 return wb_thresh; in __wb_calc_thresh()
921 unsigned long wb_thresh = dtc->wb_thresh; wb_position_ratio() local
[all...]
H A Dbacking-dev.c52 unsigned long wb_thresh; in bdi_debug_stats_show() local
70 wb_thresh = wb_calc_thresh(wb, dirty_thresh); in bdi_debug_stats_show()
90 K(wb_thresh), in bdi_debug_stats_show()
/kernel/linux/linux-6.6/mm/
H A 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; wb_position_ratio() local
[all...]
H A 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()

Completed in 8 milliseconds