Lines Matching refs:cache_dev
321 struct dm_dev *cache_dev; member
722 bio_set_dev(bio, cache->cache_dev->bdev); in remap_to_cache()
1099 c_region.bdev = cache->cache_dev->bdev; in copy()
1919 if (cache->cache_dev) in destroy()
1920 dm_put_device(cache->ti, cache->cache_dev); in destroy()
1982 struct dm_dev *cache_dev; member
2002 if (ca->cache_dev) in destroy_cache_args()
2003 dm_put_device(ca->ti, ca->cache_dev); in destroy_cache_args()
2055 &ca->cache_dev); in parse_cache_dev()
2060 ca->cache_sectors = get_dev_size(ca->cache_dev); in parse_cache_dev()
2386 cache->cache_dev = ca->cache_dev; in cache_create()
2388 ca->metadata_dev = ca->origin_dev = ca->cache_dev = NULL; in cache_create()
2870 sector_t size = get_dev_size(cache->cache_dev); in get_cache_dev_size()
3116 format_dev_t(buf, cache->cache_dev->bdev->bd_dev); in cache_status()
3138 format_dev_t(buf, cache->cache_dev->bdev->bd_dev); in cache_status()
3333 r = fn(ti, cache->cache_dev, 0, get_dev_size(cache->cache_dev), data); in cache_iterate_devices()