Lines Matching refs:rqd
237 struct rq_depth *rqd = &rwb->rq_depth; in latency_exceeded() local
281 if (rqd->scale_step) in latency_exceeded()
290 struct rq_depth *rqd = &rwb->rq_depth; in rwb_trace_step() local
292 trace_wbt_step(bdi, msg, rqd->scale_step, rwb->cur_win_nsec, in rwb_trace_step()
293 rwb->wb_background, rwb->wb_normal, rqd->max_depth); in rwb_trace_step()
330 struct rq_depth *rqd = &rwb->rq_depth; in rwb_arm_timer() local
332 if (rqd->scale_step > 0) { in rwb_arm_timer()
340 int_sqrt((rqd->scale_step + 1) << 8)); in rwb_arm_timer()
355 struct rq_depth *rqd = &rwb->rq_depth; in wb_timer_fn() local
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()
410 struct rq_depth *rqd = &rwb->rq_depth; in __wbt_update_limits() local
412 rqd->scale_step = 0; in __wbt_update_limits()
413 rqd->scaled_max = false; in __wbt_update_limits()
415 rq_depth_calc_max_depth(rqd); in __wbt_update_limits()