Searched refs:wb_thresh (Results 1 – 1 of 1) sorted by relevance
897 u64 wb_thresh; in __wb_calc_thresh() local908 wb_thresh = (thresh * (100 * BDI_RATIO_SCALE - bdi_min_ratio)) / (100 * BDI_RATIO_SCALE); in __wb_calc_thresh()909 wb_thresh *= numerator; in __wb_calc_thresh()910 wb_thresh = div64_ul(wb_thresh, denominator); in __wb_calc_thresh()914 wb_thresh += (thresh * wb_min_ratio) / (100 * BDI_RATIO_SCALE); in __wb_calc_thresh()925 wb_thresh = max(wb_thresh, (thresh - dtc->dirty) / 100); in __wb_calc_thresh()927 wb_thresh = max(wb_thresh, (thresh - dtc->dirty) / 8); in __wb_calc_thresh()931 if (wb_thresh > wb_max_thresh) in __wb_calc_thresh()932 wb_thresh = wb_max_thresh; in __wb_calc_thresh()934 return wb_thresh; in __wb_calc_thresh()[all …]