Lines Matching defs:dc
29 static unsigned cache_mode(struct cached_dev *dc, struct bio *bio) in cache_mode()
34 static bool verify(struct cached_dev *dc, struct bio *bio) in verify()
366 static struct hlist_head *iohash(struct cached_dev *dc, uint64_t k) in iohash()
371 static bool check_should_bypass(struct cached_dev *dc, struct bio *bio) in check_should_bypass()
682 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_bio_complete() local
731 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done() local
771 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done_bh() local
790 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_cache_miss() local
857 static void cached_dev_read(struct cached_dev *dc, struct search *s) in cached_dev_read()
870 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_write_complete() local
876 static void cached_dev_write(struct cached_dev *dc, struct search *s) in cached_dev_write()
966 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_make_request() local
1008 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_ioctl() local
1015 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_congested() local
1037 void bch_cached_dev_request_init(struct cached_dev *dc) in bch_cached_dev_request_init()