Lines Matching refs:bcache_device
646 struct bcache_device *d = b->bd_disk->private_data; in open_dev()
656 struct bcache_device *d = b->private_data; in release_dev()
663 struct bcache_device *d = b->bd_disk->private_data; in ioctl_dev()
674 void bcache_device_stop(struct bcache_device *d) in bcache_device_stop()
680 static void bcache_device_unlink(struct bcache_device *d) in bcache_device_unlink()
696 static void bcache_device_link(struct bcache_device *d, struct cache_set *c, in bcache_device_link()
715 static void bcache_device_detach(struct bcache_device *d) in bcache_device_detach()
735 static void bcache_device_attach(struct bcache_device *d, struct cache_set *c, in bcache_device_attach()
745 static void bcache_device_free(struct bcache_device *d) in bcache_device_free()
777 static int bcache_device_init(struct bcache_device *d, unsigned block_size, in bcache_device_init()
870 struct bcache_device *d = &dc->disk; in bch_cached_dev_run()
1111 struct bcache_device *d = &dc->disk; in cached_dev_flush()
1220 struct bcache_device *d = container_of(kobj, struct bcache_device, in bch_flash_dev_release()
1227 struct bcache_device *d = container_of(cl, struct bcache_device, cl); in flash_dev_free()
1236 struct bcache_device *d = container_of(cl, struct bcache_device, cl); in flash_dev_flush()
1247 struct bcache_device *d = kzalloc(sizeof(struct bcache_device), in flash_dev_run()