Home
last modified time | relevance | path

Searched refs:cached_dev (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/md/bcache/
H A Dwriteback.h78 static inline bool bcache_dev_stripe_dirty(struct cached_dev *dc, in bcache_dev_stripe_dirty()
102 static inline bool should_writeback(struct cached_dev *dc, struct bio *bio, in should_writeback()
128 static inline void bch_writeback_queue(struct cached_dev *dc) in bch_writeback_queue()
134 static inline void bch_writeback_add(struct cached_dev *dc) in bch_writeback_add()
152 void bch_cached_dev_writeback_init(struct cached_dev *dc);
153 int bch_cached_dev_writeback_start(struct cached_dev *dc);
H A Drequest.c30 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()
596 struct cached_dev *dc; in CLOSURE_CALLBACK()
622 dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK()
657 struct cached_dev *dc = container_of(s->d, in backing_request_endio()
658 struct cached_dev, disk); in backing_request_endio()
769 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK()
836 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK()
[all …]
H A Ddebug.h6 struct cached_dev;
12 void bch_data_verify(struct cached_dev *dc, struct bio *bio);
21 static inline void bch_data_verify(struct cached_dev *dc, struct bio *bio) {} in bch_data_verify()
H A Dstats.c201 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in bch_mark_cache_accounting()
209 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in bch_mark_cache_miss_collision()
215 void bch_mark_sectors_bypassed(struct cache_set *c, struct cached_dev *dc, in bch_mark_sectors_bypassed()
H A Dbcache.h302 struct cached_dev { struct
902 static inline void cached_dev_put(struct cached_dev *dc) in cached_dev_put()
908 static inline bool cached_dev_get(struct cached_dev *dc) in cached_dev_get()
973 void bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio);
1004 bool bch_cached_dev_error(struct cached_dev *dc);
1010 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent);
1034 int bch_cached_dev_attach(struct cached_dev *dc, struct cache_set *c,
1036 void bch_cached_dev_detach(struct cached_dev *dc);
1037 int bch_cached_dev_run(struct cached_dev *dc);
H A Dstats.h41 struct cached_dev;
59 struct cached_dev *dc,
H A Dsuper.c281 struct cached_dev *dc = bio->bi_private; in write_bdev_super_endio()
331 closure_type(dc, struct cached_dev, sb_write); in CLOSURE_CALLBACK()
336 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent) in bch_write_bdev_super()
1004 struct cached_dev *dc; in calc_cached_dev_sectors()
1015 struct cached_dev *dc = arg; in cached_dev_status_update()
1050 int bch_cached_dev_run(struct cached_dev *dc) in bch_cached_dev_run()
1123 static void cancel_writeback_rate_update_dwork(struct cached_dev *dc) in cancel_writeback_rate_update_dwork()
1143 struct cached_dev *dc = container_of(w, struct cached_dev, detach); in cached_dev_detach_finish()
1175 void bch_cached_dev_detach(struct cached_dev *dc) in bch_cached_dev_detach()
1196 int bch_cached_dev_attach(struct cached_dev *dc, struct cache_set *c, in bch_cached_dev_attach()
[all …]
H A Drequest.h39 void bch_cached_dev_request_init(struct cached_dev *dc);