Lines Matching defs:dc
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() local
722 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done() local
762 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done_bh() local
781 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_cache_miss() local
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() local
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() local
996 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_ioctl() local
1003 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_congested() local
1025 void bch_cached_dev_request_init(struct cached_dev *dc) in bch_cached_dev_request_init()