Lines Matching refs:rqd
238 struct rq_depth *rqd = &rwb->rq_depth; in latency_exceeded() local
282 if (rqd->scale_step) in latency_exceeded()
291 struct rq_depth *rqd = &rwb->rq_depth; in rwb_trace_step() local
293 trace_wbt_step(bdi, msg, rqd->scale_step, rwb->cur_win_nsec, in rwb_trace_step()
294 rwb->wb_background, rwb->wb_normal, rqd->max_depth); in rwb_trace_step()
331 struct rq_depth *rqd = &rwb->rq_depth; in rwb_arm_timer() local
333 if (rqd->scale_step > 0) { in rwb_arm_timer()
341 int_sqrt((rqd->scale_step + 1) << 8)); in rwb_arm_timer()
356 struct rq_depth *rqd = &rwb->rq_depth; in wb_timer_fn() local
362 trace_wbt_timer(rwb->rqos.q->backing_dev_info, status, rqd->scale_step, in wb_timer_fn()
393 if (rqd->scale_step > 0) in wb_timer_fn()
395 else if (rqd->scale_step < 0) in wb_timer_fn()
405 if (rqd->scale_step || inflight) in wb_timer_fn()
411 struct rq_depth *rqd = &rwb->rq_depth; in wbt_update_limits() local
413 rqd->scale_step = 0; in wbt_update_limits()
414 rqd->scaled_max = false; in wbt_update_limits()
416 rq_depth_calc_max_depth(rqd); in wbt_update_limits()