Searched refs:seconds_since_update (Results 1 – 1 of 1) sorted by relevance
538 unsigned long seconds_since_update = (jiffies - pd->last_update) / HZ; in bch2_pd_controller_update() local540 if (seconds_since_update == 0) in bch2_pd_controller_update()546 proportional *= seconds_since_update; in bch2_pd_controller_update()550 derivative = div_s64(derivative, seconds_since_update); in bch2_pd_controller_update()552 (pd->d_term / seconds_since_update) ?: 1); in bch2_pd_controller_update()