Lines Matching refs:cached_dev

30 static unsigned int cache_mode(struct cached_dev *dc)  in cache_mode()
35 static bool verify(struct cached_dev *dc) in verify()
358 static struct hlist_head *iohash(struct cached_dev *dc, uint64_t k) in iohash()
363 static bool check_should_bypass(struct cached_dev *dc, struct bio *bio) in check_should_bypass()
582 struct cached_dev *dc; in cache_lookup()
608 dc = container_of(s->d, struct cached_dev, disk); in cache_lookup()
643 struct cached_dev *dc = container_of(s->d, in backing_request_endio()
644 struct cached_dev, disk); in backing_request_endio()
755 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_bio_complete()
822 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done()
864 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done_bh()
882 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_cache_miss()
948 static void cached_dev_read(struct cached_dev *dc, struct search *s) in cached_dev_read()
961 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_write_complete()
967 static void cached_dev_write(struct cached_dev *dc, struct search *s) in cached_dev_write()
1086 struct cached_dev *dc = container_of(ddip->d, in detached_dev_end_io()
1087 struct cached_dev, disk); in detached_dev_end_io()
1100 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in detached_dev_do_request()
1131 struct cached_dev *this_dc) in quit_max_writeback_rate()
1135 struct cached_dev *dc; in quit_max_writeback_rate()
1155 dc = container_of(d, struct cached_dev, disk); in quit_max_writeback_rate()
1175 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_submit_bio()
1234 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_ioctl()
1243 void bch_cached_dev_request_init(struct cached_dev *dc) in bch_cached_dev_request_init()