Home
last modified time | relevance | path

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

/drivers/md/bcache/
Dstats.h43 struct bcache_device;
55 void bch_mark_cache_accounting(struct cache_set *, struct bcache_device *,
57 void bch_mark_cache_readahead(struct cache_set *, struct bcache_device *);
58 void bch_mark_cache_miss_collision(struct cache_set *, struct bcache_device *);
Dwriteback.h7 static inline uint64_t bcache_dev_sectors_dirty(struct bcache_device *d) in bcache_dev_sectors_dirty()
24 struct bcache_device *d = c->devices[i]; in bcache_flash_devs_sectors_dirty()
36 static inline unsigned offset_to_stripe(struct bcache_device *d, in offset_to_stripe()
107 void bch_sectors_dirty_init(struct bcache_device *);
Dbcache.h246 struct bcache_device { struct
277 int (*ioctl) (struct bcache_device *, fmode_t, unsigned, unsigned long); argument
292 struct bcache_device disk;
489 struct bcache_device **devices;
911 void bcache_device_stop(struct bcache_device *);
Dsuper.c623 struct bcache_device *d = b->bd_disk->private_data; in open_dev()
633 struct bcache_device *d = b->private_data; in release_dev()
640 struct bcache_device *d = b->bd_disk->private_data; in ioctl_dev()
651 void bcache_device_stop(struct bcache_device *d) in bcache_device_stop()
657 static void bcache_device_unlink(struct bcache_device *d) in bcache_device_unlink()
673 static void bcache_device_link(struct bcache_device *d, struct cache_set *c, in bcache_device_link()
692 static void bcache_device_detach(struct bcache_device *d) in bcache_device_detach()
712 static void bcache_device_attach(struct bcache_device *d, struct cache_set *c, in bcache_device_attach()
722 static void bcache_device_free(struct bcache_device *d) in bcache_device_free()
747 static int bcache_device_init(struct bcache_device *d, unsigned block_size, in bcache_device_init()
[all …]
Dstats.c198 void bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d, in bch_mark_cache_accounting()
206 void bch_mark_cache_readahead(struct cache_set *c, struct bcache_device *d) in bch_mark_cache_readahead()
213 void bch_mark_cache_miss_collision(struct cache_set *c, struct bcache_device *d) in bch_mark_cache_miss_collision()
Drequest.c465 struct bcache_device *d;
646 struct bcache_device *d) in search_alloc()
974 struct bcache_device *d = bio->bi_bdev->bd_disk->private_data; in cached_dev_make_request()
1014 static int cached_dev_ioctl(struct bcache_device *d, fmode_t mode, in cached_dev_ioctl()
1023 struct bcache_device *d = data; in cached_dev_congested()
1090 struct bcache_device *d = bio->bi_bdev->bd_disk->private_data; in flash_dev_make_request()
1128 static int flash_dev_ioctl(struct bcache_device *d, fmode_t mode, in flash_dev_ioctl()
1136 struct bcache_device *d = data; in flash_dev_congested()
1150 void bch_flash_dev_request_init(struct bcache_device *d) in bch_flash_dev_request_init()
Drequest.h39 void bch_flash_dev_request_init(struct bcache_device *d);
Dsysfs.c348 struct bcache_device *d = container_of(kobj, struct bcache_device, in SHOW()
367 struct bcache_device *d = container_of(kobj, struct bcache_device, in STORE()
Dwriteback.c293 struct bcache_device *d = c->devices[inode]; in bcache_dev_sectors_dirty_add()
511 void bch_sectors_dirty_init(struct bcache_device *d) in bch_sectors_dirty_init()
Dbtree.c1689 struct bcache_device *d = c->devices[i]; in bch_btree_gc_finish()