Lines Matching defs:rwb
78 static inline bool rwb_enabled(struct rq_wb *rwb) in rwb_enabled()
84 static void wb_timestamp(struct rq_wb *rwb, unsigned long *var) in wb_timestamp()
98 static bool wb_recent_wait(struct rq_wb *rwb) in wb_recent_wait()
105 static inline struct rq_wait *get_rq_wait(struct rq_wb *rwb, in get_rq_wait()
116 static void rwb_wake_all(struct rq_wb *rwb) in rwb_wake_all()
128 static void wbt_rqw_done(struct rq_wb *rwb, struct rq_wait *rqw, in wbt_rqw_done()
172 struct rq_wb *rwb = RQWB(rqos); in __wbt_done() local
188 struct rq_wb *rwb = RQWB(rqos); in wbt_done() local
217 static u64 rwb_sync_issue_lat(struct rq_wb *rwb) in rwb_sync_issue_lat()
235 static int latency_exceeded(struct rq_wb *rwb, struct blk_rq_stat *stat) in latency_exceeded()
288 static void rwb_trace_step(struct rq_wb *rwb, const char *msg) in rwb_trace_step()
297 static void calc_wb_limits(struct rq_wb *rwb) in calc_wb_limits()
310 static void scale_up(struct rq_wb *rwb) in scale_up()
320 static void scale_down(struct rq_wb *rwb, bool hard_throttle) in scale_down()
329 static void rwb_arm_timer(struct rq_wb *rwb) in rwb_arm_timer()
355 struct rq_wb *rwb = cb->data; in wb_timer_fn() local
412 static void wbt_update_limits(struct rq_wb *rwb) in wbt_update_limits()
444 static bool close_io(struct rq_wb *rwb) in close_io()
454 static inline unsigned int get_limit(struct rq_wb *rwb, blk_opf_t opf) in get_limit()
491 struct rq_wb *rwb; member
512 static void __wbt_wait(struct rq_wb *rwb, enum wbt_flags wb_acct, in __wbt_wait()
543 static enum wbt_flags bio_to_wbt_flags(struct rq_wb *rwb, struct bio *bio) in bio_to_wbt_flags()
564 struct rq_wb *rwb = RQWB(rqos); in wbt_cleanup() local
576 struct rq_wb *rwb = RQWB(rqos); in wbt_wait() local
594 struct rq_wb *rwb = RQWB(rqos); in wbt_track() local
600 struct rq_wb *rwb = RQWB(rqos); in wbt_issue() local
620 struct rq_wb *rwb = RQWB(rqos); in wbt_requeue() local
692 struct rq_wb *rwb = RQWB(rqos); in wbt_exit() local
706 struct rq_wb *rwb; in wbt_disable_default() local
721 struct rq_wb *rwb = RQWB(rqos); in wbt_curr_win_nsec_show() local
730 struct rq_wb *rwb = RQWB(rqos); in wbt_enabled_show() local
747 struct rq_wb *rwb = RQWB(rqos); in wbt_inflight_show() local
759 struct rq_wb *rwb = RQWB(rqos); in wbt_min_lat_nsec_show() local
768 struct rq_wb *rwb = RQWB(rqos); in wbt_unknown_cnt_show() local
777 struct rq_wb *rwb = RQWB(rqos); in wbt_normal_show() local
786 struct rq_wb *rwb = RQWB(rqos); in wbt_background_show() local
821 struct rq_wb *rwb; in wbt_init() local