Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-rq-qos.c123 if (rqd->scale_step > 0) in rq_depth_calc_max_depth()
139 if (rqd->scale_step > 0) in rq_depth_calc_max_depth()
140 depth = 1 + ((depth - 1) >> min(31, rqd->scale_step)); in rq_depth_calc_max_depth()
141 else if (rqd->scale_step < 0) { in rq_depth_calc_max_depth()
144 depth = 1 + ((depth - 1) << -rqd->scale_step); in rq_depth_calc_max_depth()
166 rqd->scale_step--; in rq_depth_scale_up()
187 if (rqd->scale_step < 0 && hard_throttle) in rq_depth_scale_down()
188 rqd->scale_step = 0; in rq_depth_scale_down()
190 rqd->scale_step++; in rq_depth_scale_down()
H A Dblk-wbt.c350 if (rqd->scale_step) in latency_exceeded()
361 trace_wbt_step(bdi, msg, rqd->scale_step, rwb->cur_win_nsec, in rwb_trace_step()
401 if (rqd->scale_step > 0) { in rwb_arm_timer()
409 int_sqrt((rqd->scale_step + 1) << 8)); in rwb_arm_timer()
433 trace_wbt_timer(rwb->rqos.disk->bdi, status, rqd->scale_step, inflight); in wb_timer_fn()
463 if (rqd->scale_step > 0) in wb_timer_fn()
465 else if (rqd->scale_step < 0) in wb_timer_fn()
475 if (rqd->scale_step || inflight) in wb_timer_fn()
483 rqd->scale_step = 0; in wbt_update_limits()
H A Dblk-rq-qos.h54 int scale_step; member