Searched refs:dm_dev (Results 1 – 25 of 33) sorted by relevance
12
/drivers/md/ |
D | dm-table.c | 227 dm_device_name(md), dd->dm_dev->name); in free_devices() 228 dm_put_table_device(md, dd->dm_dev); in free_devices() 272 if (dd->dm_dev->bdev->bd_dev == dev) in find_device() 281 static int device_area_is_invalid(struct dm_target *ti, struct dm_dev *dev, in device_area_is_invalid() 389 struct dm_dev *old_dev, *new_dev; in upgrade_mode() 391 old_dev = dd->dm_dev; in upgrade_mode() 393 r = dm_get_table_device(md, dd->dm_dev->bdev->bd_dev, in upgrade_mode() 394 dd->dm_dev->mode | new_mode, &new_dev); in upgrade_mode() 398 dd->dm_dev = new_dev; in upgrade_mode() 429 struct dm_dev **result) in dm_get_device() [all …]
|
D | dm.h | 43 struct dm_dev *dm_dev; member 77 int device_supports_dax(struct dm_target *ti, struct dm_dev *dev, 186 struct dm_dev **result); 187 void dm_put_table_device(struct mapped_device *md, struct dm_dev *d);
|
D | dm-mpath.h | 12 struct dm_dev; 15 struct dm_dev *dev; /* Read-only */
|
D | dm.c | 160 struct dm_dev dm_dev; member 777 BUG_ON(td->dm_dev.bdev); in open_table_device() 779 bdev = blkdev_get_by_dev(dev, td->dm_dev.mode | FMODE_EXCL, _dm_claim_ptr); in open_table_device() 785 blkdev_put(bdev, td->dm_dev.mode | FMODE_EXCL); in open_table_device() 789 td->dm_dev.bdev = bdev; in open_table_device() 790 td->dm_dev.dax_dev = dax_get_by_host(bdev->bd_disk->disk_name); in open_table_device() 799 if (!td->dm_dev.bdev) in close_table_device() 802 bd_unlink_disk_holder(td->dm_dev.bdev, dm_disk(md)); in close_table_device() 803 blkdev_put(td->dm_dev.bdev, td->dm_dev.mode | FMODE_EXCL); in close_table_device() 804 put_dax(td->dm_dev.dax_dev); in close_table_device() [all …]
|
D | dm-verity.h | 34 struct dm_dev *data_dev; 35 struct dm_dev *hash_dev;
|
D | dm-exception-store.h | 133 struct dm_dev *dm_snap_origin(struct dm_snapshot *snap); 134 struct dm_dev *dm_snap_cow(struct dm_snapshot *snap);
|
D | dm-linear.c | 22 struct dm_dev *dev; 126 struct dm_dev *dev = lc->dev; in linear_prepare_ioctl()
|
D | dm-default-key.c | 43 struct dm_dev *dev; 337 const struct dm_dev *dev = dkc->dev; in default_key_prepare_ioctl()
|
D | dm-verity-fec.h | 36 struct dm_dev *dev; /* parity data device */
|
D | dm-log.c | 247 struct dm_dev *log_dev; 365 struct dm_dev *dev) in create_log_context() 546 struct dm_dev *dev; in disk_ctr()
|
D | dm-clone-target.c | 73 struct dm_dev *metadata_dev; 74 struct dm_dev *dest_dev; 75 struct dm_dev *source_dev; 1515 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() 2096 struct dm_dev *dest_dev = clone->dest_dev; in clone_iterate_devices() 2097 struct dm_dev *source_dev = clone->source_dev; in clone_iterate_devices()
|
D | dm-dust.c | 23 struct dm_dev *dev; 465 struct dm_dev *dev = dd->dev; in dust_prepare_ioctl()
|
D | dm-snap.c | 51 struct dm_dev *origin; 52 struct dm_dev *cow; 171 struct dm_dev *dm_snap_origin(struct dm_snapshot *s) in dm_snap_origin() 177 struct dm_dev *dm_snap_cow(struct dm_snapshot *s) in dm_snap_cow() 325 struct dm_dev *dev; 1576 static int do_origin(struct dm_dev *origin, struct bio *bio, bool limit); 2541 static int do_origin(struct dm_dev *origin, struct bio *bio, bool limit) in do_origin()
|
D | dm-unstripe.c | 12 struct dm_dev *dev;
|
D | dm-era-target.c | 1142 struct dm_dev *metadata_dev; 1143 struct dm_dev *origin_dev; 1378 static int dev_is_congested(struct dm_dev *dev, int bdi_bits) in dev_is_congested() 1662 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size()
|
D | dm-log-writes.c | 103 struct dm_dev *dev; 104 struct dm_dev *logdev; 844 struct dm_dev *dev = lc->dev; in log_writes_prepare_ioctl()
|
D | dm-cache-target.c | 388 struct dm_dev *metadata_dev; 393 struct dm_dev *origin_dev; 398 struct dm_dev *cache_dev; 2038 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() 2077 struct dm_dev *metadata_dev; 2079 struct dm_dev *cache_dev; 2082 struct dm_dev *origin_dev; 2447 static int is_congested(struct dm_dev *dev, int bdi_bits) in is_congested()
|
D | dm-thin.c | 324 struct dm_dev *data_dev; 325 struct dm_dev *metadata_dev; 339 struct dm_dev *pool_dev; 340 struct dm_dev *origin_dev; 1320 struct dm_dev *origin, dm_block_t data_origin, in schedule_copy() 3299 struct dm_dev *data_dev; in pool_ctr() 3302 struct dm_dev *metadata_dev; in pool_ctr() 4189 struct dm_dev *pool_dev, *origin_dev; in thin_ctr()
|
D | dm-delay.c | 21 struct dm_dev *dev;
|
D | dm-flakey.c | 26 struct dm_dev *dev;
|
D | dm-switch.c | 31 struct dm_dev *dmdev;
|
D | dm-writecache.c | 137 struct dm_dev *dev; 138 struct dm_dev *ssd_dev; 426 static void writecache_disk_flush(struct dm_writecache *wc, struct dm_dev *dev); 504 static void writecache_disk_flush(struct dm_writecache *wc, struct dm_dev *dev) in writecache_disk_flush()
|
D | dm-stripe.c | 22 struct dm_dev *dev;
|
D | dm-bow.c | 82 struct dm_dev *dev; 1188 struct dm_dev *dev = bc->dev; in dm_bow_prepare_ioctl()
|
/drivers/hv/ |
D | hv_balloon.c | 1389 static int dm_thread_func(void *dm_dev) in dm_thread_func() argument 1391 struct hv_dynmem_device *dm = dm_dev; in dm_thread_func()
|
12