Home
last modified time | relevance | path

Searched refs:scale_step (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/block/
Dblk-rq-qos.c117 if (rqd->scale_step > 0) in rq_depth_calc_max_depth()
133 if (rqd->scale_step > 0) in rq_depth_calc_max_depth()
134 depth = 1 + ((depth - 1) >> min(31, rqd->scale_step)); in rq_depth_calc_max_depth()
135 else if (rqd->scale_step < 0) { in rq_depth_calc_max_depth()
138 depth = 1 + ((depth - 1) << -rqd->scale_step); in rq_depth_calc_max_depth()
159 rqd->scale_step--; in rq_depth_scale_up()
178 if (rqd->scale_step < 0 && hard_throttle) in rq_depth_scale_down()
179 rqd->scale_step = 0; in rq_depth_scale_down()
181 rqd->scale_step++; in rq_depth_scale_down()
Dblk-wbt.c280 if (rqd->scale_step) in latency_exceeded()
291 trace_wbt_step(bdi, msg, rqd->scale_step, rwb->cur_win_nsec, in rwb_trace_step()
329 if (rqd->scale_step > 0) { in rwb_arm_timer()
337 int_sqrt((rqd->scale_step + 1) << 8)); in rwb_arm_timer()
358 trace_wbt_timer(rwb->rqos.q->backing_dev_info, status, rqd->scale_step, in wb_timer_fn()
389 if (rqd->scale_step > 0) in wb_timer_fn()
391 else if (rqd->scale_step < 0) in wb_timer_fn()
401 if (rqd->scale_step || inflight) in wb_timer_fn()
409 rqd->scale_step = 0; in __wbt_update_limits()
Dblk-rq-qos.h41 int scale_step; member