Searched refs:new_ratio (Results 1 – 2 of 2) sorted by relevance
202 unsigned int new_ratio; in bsd_check() local225 new_ratio = db->in_count << RATIO_SCALE_LOG; in bsd_check()228 new_ratio /= db->bytes_out; in bsd_check()231 if (new_ratio < db->ratio || new_ratio < 1 * RATIO_SCALE) in bsd_check()236 db->ratio = new_ratio; in bsd_check()
249 unsigned int new_ratio; in bsd_check() local272 new_ratio = db->in_count << RATIO_SCALE_LOG; in bsd_check()275 new_ratio /= db->bytes_out; in bsd_check()278 if (new_ratio < db->ratio || new_ratio < 1 * RATIO_SCALE) in bsd_check()283 db->ratio = new_ratio; in bsd_check()