Lines Matching refs:rqd
236 struct rq_depth *rqd = &rwb->rq_depth; in latency_exceeded() local
280 if (rqd->scale_step) in latency_exceeded()
289 struct rq_depth *rqd = &rwb->rq_depth; in rwb_trace_step() local
291 trace_wbt_step(bdi, msg, rqd->scale_step, rwb->cur_win_nsec, in rwb_trace_step()
292 rwb->wb_background, rwb->wb_normal, rqd->max_depth); in rwb_trace_step()
327 struct rq_depth *rqd = &rwb->rq_depth; in rwb_arm_timer() local
329 if (rqd->scale_step > 0) { in rwb_arm_timer()
337 int_sqrt((rqd->scale_step + 1) << 8)); in rwb_arm_timer()
352 struct rq_depth *rqd = &rwb->rq_depth; in wb_timer_fn() local
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()
407 struct rq_depth *rqd = &rwb->rq_depth; in __wbt_update_limits() local
409 rqd->scale_step = 0; in __wbt_update_limits()
410 rqd->scaled_max = false; in __wbt_update_limits()
412 rq_depth_calc_max_depth(rqd); in __wbt_update_limits()