Lines Matching refs:cached_dev
28 static unsigned cache_mode(struct cached_dev *dc, struct bio *bio) in cache_mode()
33 static bool verify(struct cached_dev *dc, struct bio *bio) in verify()
360 static struct hlist_head *iohash(struct cached_dev *dc, uint64_t k) in iohash()
365 static bool check_should_bypass(struct cached_dev *dc, struct bio *bio) in check_should_bypass()
673 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_bio_complete()
722 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done()
762 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done_bh()
781 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_cache_miss()
848 static void cached_dev_read(struct cached_dev *dc, struct search *s) in cached_dev_read()
861 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_write_complete()
867 static void cached_dev_write(struct cached_dev *dc, struct search *s) in cached_dev_write()
956 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_make_request()
996 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_ioctl()
1003 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_congested()
1025 void bch_cached_dev_request_init(struct cached_dev *dc) in bch_cached_dev_request_init()