Home
last modified time | relevance | path

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

/linux-4.19.296/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()
160 rqd->scale_step--; in rq_depth_scale_up()
181 if (rqd->scale_step < 0 && hard_throttle) in rq_depth_scale_down()
182 rqd->scale_step = 0; in rq_depth_scale_down()
184 rqd->scale_step++; in rq_depth_scale_down()
Dblk-wbt.c281 if (rqd->scale_step) in latency_exceeded()
292 trace_wbt_step(bdi, msg, rqd->scale_step, rwb->cur_win_nsec, in rwb_trace_step()
332 if (rqd->scale_step > 0) { in rwb_arm_timer()
340 int_sqrt((rqd->scale_step + 1) << 8)); in rwb_arm_timer()
361 trace_wbt_timer(rwb->rqos.q->backing_dev_info, status, rqd->scale_step, in wb_timer_fn()
392 if (rqd->scale_step > 0) in wb_timer_fn()
394 else if (rqd->scale_step < 0) in wb_timer_fn()
404 if (rqd->scale_step || inflight) in wb_timer_fn()
412 rqd->scale_step = 0; in __wbt_update_limits()
Dblk-rq-qos.h41 int scale_step; member