Home
last modified time | relevance | path

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

/drivers/md/bcache/
A Drequest.c35 static bool verify(struct cached_dev *dc) in verify()
596 struct cached_dev *dc; in CLOSURE_CALLBACK()
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()
878 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK()
896 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_cache_miss()
975 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK()
1114 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in detached_dev_do_request()
1149 struct cached_dev *dc; in quit_max_writeback_rate()
1189 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_submit_bio()
[all …]
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);
A Dwriteback.c30 static uint64_t __calc_target_rate(struct cached_dev *dc) in __calc_target_rate()
208 struct cached_dev *dc) in set_at_max_writeback_rate()
245 struct cached_dev, in update_writeback_rate()
324 struct cached_dev *dc;
355 struct cached_dev *dc = io->dc; in CLOSURE_CALLBACK()
407 struct cached_dev *dc = io->dc; in CLOSURE_CALLBACK()
474 static void read_dirty(struct cached_dev *dc) in read_dirty()
643 struct cached_dev *dc = container_of(buf, in dirty_pred()
644 struct cached_dev, in dirty_pred()
701 static bool refill_dirty(struct cached_dev *dc) in refill_dirty()
[all …]
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()
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()
A Dbcache.h300 struct cached_dev { struct
895 static inline void cached_dev_put(struct cached_dev *dc) in cached_dev_put()
901 static inline bool cached_dev_get(struct cached_dev *dc) in cached_dev_get()
966 void bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio);
997 bool bch_cached_dev_error(struct cached_dev *dc);
1003 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent);
1027 int bch_cached_dev_attach(struct cached_dev *dc, struct cache_set *c,
1029 void bch_cached_dev_detach(struct cached_dev *dc);
1030 int bch_cached_dev_run(struct cached_dev *dc);
A Dsuper.c996 struct cached_dev *dc; in calc_cached_dev_sectors()
1007 struct cached_dev *dc = arg; in cached_dev_status_update()
1135 struct cached_dev *dc = container_of(w, struct cached_dev, detach); in cached_dev_detach_finish()
1339 struct cached_dev *dc = container_of(kobj, struct cached_dev, in bch_cached_dev_release()
1443 struct cached_dev *dc) in register_bdev()
1771 struct cached_dev *dc) in conditional_stop_bcache_device()
1812 struct cached_dev *dc; in CLOSURE_CALLBACK()
1973 struct cached_dev *dc, *t; in run_cache_set()
2445 struct cached_dev *dc, *t; in bch_is_open_backing()
2691 struct cached_dev *dc;
[all …]
A Dstats.h41 struct cached_dev;
59 struct cached_dev *dc,
A Drequest.h39 void bch_cached_dev_request_init(struct cached_dev *dc);
A Dsysfs.c173 struct cached_dev *dc = container_of(kobj, struct cached_dev, in SHOW()
293 struct cached_dev *dc = container_of(kobj, struct cached_dev, in STORE()
459 struct cached_dev *dc = container_of(kobj, struct cached_dev, in STORE()
A Dio.c56 void bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio) in bch_count_backing_io_errors()
A Ddebug.c108 void bch_data_verify(struct cached_dev *dc, struct bio *bio) in bch_data_verify()
A Dbtree.c1779 struct cached_dev *dc; in bch_btree_gc_finish()
1784 dc = container_of(d, struct cached_dev, disk); in bch_btree_gc_finish()

Completed in 29 milliseconds