Lines Matching refs:rq_depth
238 struct rq_depth *rqd = &rwb->rq_depth; in latency_exceeded()
291 struct rq_depth *rqd = &rwb->rq_depth; in rwb_trace_step()
301 } else if (rwb->rq_depth.max_depth <= 2) { in calc_wb_limits()
302 rwb->wb_normal = rwb->rq_depth.max_depth; in calc_wb_limits()
305 rwb->wb_normal = (rwb->rq_depth.max_depth + 1) / 2; in calc_wb_limits()
306 rwb->wb_background = (rwb->rq_depth.max_depth + 3) / 4; in calc_wb_limits()
312 if (!rq_depth_scale_up(&rwb->rq_depth)) in scale_up()
322 if (!rq_depth_scale_down(&rwb->rq_depth, hard_throttle)) in scale_down()
331 struct rq_depth *rqd = &rwb->rq_depth; in rwb_arm_timer()
356 struct rq_depth *rqd = &rwb->rq_depth; in wb_timer_fn()
411 struct rq_depth *rqd = &rwb->rq_depth; in wbt_update_limits()
474 limit = rwb->rq_depth.max_depth; in get_limit()
684 RQWB(rqos)->rq_depth.queue_depth = blk_queue_depth(rqos->q); in wbt_queue_depth_changed()
842 rwb->rq_depth.default_depth = RWB_DEF_DEPTH; in wbt_init()