Lines Matching refs:rq_wb
65 struct rq_wb { struct
96 static inline struct rq_wb *RQWB(struct rq_qos *rqos) in RQWB() argument
98 return container_of(rqos, struct rq_wb, rqos); in RQWB()
145 static inline bool rwb_enabled(struct rq_wb *rwb) in rwb_enabled()
151 static void wb_timestamp(struct rq_wb *rwb, unsigned long *var) in wb_timestamp()
165 static bool wb_recent_wait(struct rq_wb *rwb) in wb_recent_wait()
172 static inline struct rq_wait *get_rq_wait(struct rq_wb *rwb, in get_rq_wait()
183 static void rwb_wake_all(struct rq_wb *rwb) in rwb_wake_all()
195 static void wbt_rqw_done(struct rq_wb *rwb, struct rq_wait *rqw, in wbt_rqw_done()
231 struct rq_wb *rwb = RQWB(rqos); in __wbt_done()
247 struct rq_wb *rwb = RQWB(rqos); in wbt_done()
276 static u64 rwb_sync_issue_lat(struct rq_wb *rwb) in rwb_sync_issue_lat()
286 static inline unsigned int wbt_inflight(struct rq_wb *rwb) in wbt_inflight()
303 static int latency_exceeded(struct rq_wb *rwb, struct blk_rq_stat *stat) in latency_exceeded()
356 static void rwb_trace_step(struct rq_wb *rwb, const char *msg) in rwb_trace_step()
365 static void calc_wb_limits(struct rq_wb *rwb) in calc_wb_limits()
378 static void scale_up(struct rq_wb *rwb) in scale_up()
388 static void scale_down(struct rq_wb *rwb, bool hard_throttle) in scale_down()
397 static void rwb_arm_timer(struct rq_wb *rwb) in rwb_arm_timer()
423 struct rq_wb *rwb = cb->data; in wb_timer_fn()
479 static void wbt_update_limits(struct rq_wb *rwb) in wbt_update_limits()
523 static bool close_io(struct rq_wb *rwb) in close_io()
533 static inline unsigned int get_limit(struct rq_wb *rwb, blk_opf_t opf) in get_limit()
563 struct rq_wb *rwb;
584 static void __wbt_wait(struct rq_wb *rwb, enum wbt_flags wb_acct, in __wbt_wait()
615 static enum wbt_flags bio_to_wbt_flags(struct rq_wb *rwb, struct bio *bio) in bio_to_wbt_flags()
636 struct rq_wb *rwb = RQWB(rqos); in wbt_cleanup()
648 struct rq_wb *rwb = RQWB(rqos); in wbt_wait()
666 struct rq_wb *rwb = RQWB(rqos); in wbt_track()
672 struct rq_wb *rwb = RQWB(rqos); in wbt_issue()
692 struct rq_wb *rwb = RQWB(rqos); in wbt_requeue()
764 struct rq_wb *rwb = RQWB(rqos); in wbt_exit()
777 struct rq_wb *rwb; in wbt_disable_default()
792 struct rq_wb *rwb = RQWB(rqos); in wbt_curr_win_nsec_show()
801 struct rq_wb *rwb = RQWB(rqos); in wbt_enabled_show()
818 struct rq_wb *rwb = RQWB(rqos); in wbt_inflight_show()
830 struct rq_wb *rwb = RQWB(rqos); in wbt_min_lat_nsec_show()
839 struct rq_wb *rwb = RQWB(rqos); in wbt_unknown_cnt_show()
848 struct rq_wb *rwb = RQWB(rqos); in wbt_normal_show()
857 struct rq_wb *rwb = RQWB(rqos); in wbt_background_show()
893 struct rq_wb *rwb; in wbt_init()