Home
last modified time | relevance | path

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

/linux-6.3-rc2/block/
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()
A Dblk-wbt.c360 if (rqd->scale_step) in latency_exceeded()
371 trace_wbt_step(bdi, msg, rqd->scale_step, rwb->cur_win_nsec, in rwb_trace_step()
411 if (rqd->scale_step > 0) { in rwb_arm_timer()
419 int_sqrt((rqd->scale_step + 1) << 8)); in rwb_arm_timer()
443 trace_wbt_timer(rwb->rqos.disk->bdi, status, rqd->scale_step, inflight); in wb_timer_fn()
473 if (rqd->scale_step > 0) in wb_timer_fn()
475 else if (rqd->scale_step < 0) in wb_timer_fn()
485 if (rqd->scale_step || inflight) in wb_timer_fn()
493 rqd->scale_step = 0; in wbt_update_limits()
A Dblk-rq-qos.h54 int scale_step; member

Completed in 7 milliseconds