Searched refs:wb_thresh (Results 1 – 1 of 1) sorted by relevance
886 u64 wb_thresh; in __wb_calc_thresh() local897 wb_thresh = (thresh * (100 * BDI_RATIO_SCALE - bdi_min_ratio)) / (100 * BDI_RATIO_SCALE); in __wb_calc_thresh()898 wb_thresh *= numerator; in __wb_calc_thresh()899 wb_thresh = div64_ul(wb_thresh, denominator); in __wb_calc_thresh()903 wb_thresh += (thresh * wb_min_ratio) / (100 * BDI_RATIO_SCALE); in __wb_calc_thresh()914 wb_thresh = max(wb_thresh, (thresh - dtc->dirty) / 100); in __wb_calc_thresh()916 wb_thresh = max(wb_thresh, (thresh - dtc->dirty) / 8); in __wb_calc_thresh()920 if (wb_thresh > wb_max_thresh) in __wb_calc_thresh()921 wb_thresh = wb_max_thresh; in __wb_calc_thresh()923 return wb_thresh; in __wb_calc_thresh()[all …]