Lines Matching refs:ssd_dev
145 struct dm_dev *ssd_dev; member
277 offset = get_start_sect(wc->ssd_dev->bdev); in persistent_memory_claim()
286 da = dax_direct_access(wc->ssd_dev->dax_dev, offset, p, DAX_ACCESS, in persistent_memory_claim()
311 daa = dax_direct_access(wc->ssd_dev->dax_dev, offset + i, in persistent_memory_claim()
515 region.bdev = wc->ssd_dev->bdev; in ssd_commit_flushed()
544 writecache_disk_flush(wc, wc->ssd_dev); in ssd_commit_flushed()
555 region.bdev = wc->ssd_dev->bdev; in ssd_commit_superblock()
809 writecache_disk_flush(wc, wc->ssd_dev); in writecache_flush()
984 region.bdev = wc->ssd_dev->bdev; in writecache_read_metadata()
1367 bio_set_dev(bio, wc->ssd_dev->bdev); in writecache_map_read()
1421 bio_set_dev(bio, wc->ssd_dev->bdev); in writecache_bio_copy_ssd()
1909 from.bdev = wc->ssd_dev->bdev; in __writecache_writeback_ssd()
2206 if (wc->ssd_dev) in writecache_dtr()
2207 dm_put_device(ti, wc->ssd_dev); in writecache_dtr()
2363 r = dm_get_device(ti, string, dm_table_get_mode(ti->table), &wc->ssd_dev); in writecache_ctr()
2368 wc->memory_map_size = bdev_nr_bytes(wc->ssd_dev->bdev); in writecache_ctr()
2384 wc->block_size < bdev_logical_block_size(wc->ssd_dev->bdev)) { in writecache_ctr()
2508 if (!dax_synchronous(wc->ssd_dev->dax_dev)) { in writecache_ctr()
2706 wc->dev->name, wc->ssd_dev->name, wc->block_size); in writecache_status()