Home
last modified time | relevance | path

Searched refs:bcache_device (Results 1 – 10 of 10) sorted by relevance

/drivers/md/bcache/
Dwriteback.h39 struct bcache_device *d;
49 static inline uint64_t bcache_dev_sectors_dirty(struct bcache_device *d) in bcache_dev_sectors_dirty()
59 static inline int offset_to_stripe(struct bcache_device *d, in offset_to_stripe()
151 void bch_sectors_dirty_init(struct bcache_device *d);
Dstats.h43 struct bcache_device;
55 void bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d,
58 struct bcache_device *d);
Dsuper.c737 struct bcache_device *d = b->bd_disk->private_data; in open_dev()
748 struct bcache_device *d = b->private_data; in release_dev()
756 struct bcache_device *d = b->bd_disk->private_data; in ioctl_dev()
777 void bcache_device_stop(struct bcache_device *d) in bcache_device_stop()
788 static void bcache_device_unlink(struct bcache_device *d) in bcache_device_unlink()
802 static void bcache_device_link(struct bcache_device *d, struct cache_set *c, in bcache_device_link()
824 static void bcache_device_detach(struct bcache_device *d) in bcache_device_detach()
846 static void bcache_device_attach(struct bcache_device *d, struct cache_set *c, in bcache_device_attach()
869 static void bcache_device_free(struct bcache_device *d) in bcache_device_free()
896 static int bcache_device_init(struct bcache_device *d, unsigned int block_size, in bcache_device_init()
[all …]
Drequest.c470 struct bcache_device *d;
716 struct bcache_device *d, struct block_device *orig_bdev, in search_alloc()
807 struct bcache_device *d = s->d; in cached_dev_cache_miss_done()
1067 struct bcache_device *d;
1096 static void detached_dev_do_request(struct bcache_device *d, struct bio *bio, in detached_dev_do_request()
1134 struct bcache_device *d; in quit_max_writeback_rate()
1174 struct bcache_device *d = orig_bdev->bd_disk->private_data; in cached_dev_submit_bio()
1231 static int cached_dev_ioctl(struct bcache_device *d, fmode_t mode, in cached_dev_ioctl()
1282 struct bcache_device *d = bio->bi_bdev->bd_disk->private_data; in flash_dev_submit_bio()
1321 static int flash_dev_ioctl(struct bcache_device *d, fmode_t mode, in flash_dev_ioctl()
[all …]
Dbcache.h249 struct bcache_device { struct
279 int (*ioctl)(struct bcache_device *d, fmode_t mode, argument
301 struct bcache_device disk;
529 struct bcache_device **devices;
1028 void bcache_device_stop(struct bcache_device *d);
Dstats.c198 void bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d, in bch_mark_cache_accounting()
207 void bch_mark_cache_miss_collision(struct cache_set *c, struct bcache_device *d) in bch_mark_cache_miss_collision()
Drequest.h42 void bch_flash_dev_request_init(struct bcache_device *d);
Dsysfs.c551 struct bcache_device *d = container_of(kobj, struct bcache_device, in SHOW()
570 struct bcache_device *d = container_of(kobj, struct bcache_device, in STORE()
Dwriteback.c599 struct bcache_device *d = c->devices[inode]; in bcache_dev_sectors_dirty_add()
873 struct bcache_device *d, in bch_root_node_dirty_init()
977 void bch_sectors_dirty_init(struct bcache_device *d) in bch_sectors_dirty_init()
Dbtree.c1752 struct bcache_device *d = c->devices[i]; in bch_btree_gc_finish()