Lines Matching refs:rq_depth
122 struct rq_depth rq_depth; member
184 return rq_wait_inc_below(rqw, iolat->rq_depth.max_depth); in iolatency_may_queue()
300 unsigned long old = iolat->rq_depth.max_depth; in scale_change()
314 iolat->rq_depth.max_depth = old; in scale_change()
320 iolat->rq_depth.max_depth = max(old, 1UL); in scale_change()
378 if (iolat->rq_depth.max_depth == 1 && direction < 0) { in check_scale_change()
386 iolat->rq_depth.max_depth = UINT_MAX; in check_scale_change()
465 if (unlikely(issue_as_root && iolat->rq_depth.max_depth != UINT_MAX)) { in iolatency_record_time()
845 if (iolat->rq_depth.max_depth == UINT_MAX) in iolatency_pd_stat()
850 iolat->rq_depth.max_depth, avg_lat, cur_win); in iolatency_pd_stat()
887 iolat->rq_depth.queue_depth = blk_queue_depth(blkg->q); in iolatency_pd_init()
888 iolat->rq_depth.max_depth = UINT_MAX; in iolatency_pd_init()
889 iolat->rq_depth.default_depth = iolat->rq_depth.queue_depth; in iolatency_pd_init()