Lines Matching refs:cached_dev
30 static uint64_t __calc_target_rate(struct cached_dev *dc) in __calc_target_rate()
61 static void __update_writeback_rate(struct cached_dev *dc) in __update_writeback_rate()
208 struct cached_dev *dc) in set_at_max_writeback_rate()
244 struct cached_dev *dc = container_of(to_delayed_work(work), in update_writeback_rate()
245 struct cached_dev, in update_writeback_rate()
312 static unsigned int writeback_delay(struct cached_dev *dc, in writeback_delay()
324 struct cached_dev *dc;
355 struct cached_dev *dc = io->dc; in write_dirty_finish()
407 struct cached_dev *dc = io->dc; in write_dirty()
474 static void read_dirty(struct cached_dev *dc) in read_dirty()
643 struct cached_dev *dc = container_of(buf, in dirty_pred()
644 struct cached_dev, in dirty_pred()
652 static void refill_full_stripes(struct cached_dev *dc) in refill_full_stripes()
701 static bool refill_dirty(struct cached_dev *dc) in refill_dirty()
741 struct cached_dev *dc = arg; in bch_writeback_thread()
1048 void bch_cached_dev_writeback_init(struct cached_dev *dc) in bch_cached_dev_writeback_init()
1076 int bch_cached_dev_writeback_start(struct cached_dev *dc) in bch_cached_dev_writeback_start()