Lines Matching refs:rq_wait
105 static inline struct rq_wait *get_rq_wait(struct rq_wb *rwb, in get_rq_wait()
109 return &rwb->rq_wait[WBT_RWQ_KSWAPD]; in get_rq_wait()
111 return &rwb->rq_wait[WBT_RWQ_DISCARD]; in get_rq_wait()
113 return &rwb->rq_wait[WBT_RWQ_BG]; in get_rq_wait()
121 struct rq_wait *rqw = &rwb->rq_wait[i]; in rwb_wake_all()
128 static void wbt_rqw_done(struct rq_wb *rwb, struct rq_wait *rqw, in wbt_rqw_done()
173 struct rq_wait *rqw; in __wbt_done()
493 static bool wbt_inflight_cb(struct rq_wait *rqw, void *private_data) in wbt_inflight_cb()
499 static void wbt_cleanup_cb(struct rq_wait *rqw, void *private_data) in wbt_cleanup_cb()
512 struct rq_wait *rqw = get_rq_wait(rwb, wb_acct); in __wbt_wait()
750 atomic_read(&rwb->rq_wait[i].inflight)); in wbt_inflight_show()
833 rq_wait_init(&rwb->rq_wait[i]); in wbt_init()