Searched refs:dm_dev (Results 1 – 25 of 35) sorted by relevance
12
/drivers/md/ |
D | dm-table.c | 171 dm_device_name(md), dd->dm_dev->name); in free_devices() 172 dm_put_table_device(md, dd->dm_dev); in free_devices() 220 if (dd->dm_dev->bdev->bd_dev == dev) in find_device() 229 static int device_area_is_invalid(struct dm_target *ti, struct dm_dev *dev, in device_area_is_invalid() 320 struct dm_dev *old_dev, *new_dev; in upgrade_mode() 322 old_dev = dd->dm_dev; in upgrade_mode() 324 r = dm_get_table_device(md, dd->dm_dev->bdev->bd_dev, in upgrade_mode() 325 dd->dm_dev->mode | new_mode, &new_dev); in upgrade_mode() 329 dd->dm_dev = new_dev; in upgrade_mode() 353 struct dm_dev **result) in dm_get_device() [all …]
|
D | dm.h | 43 struct dm_dev *dm_dev; member 78 int device_not_dax_capable(struct dm_target *ti, struct dm_dev *dev, 209 struct dm_dev **result); 210 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 | 133 struct dm_dev dm_dev; member 660 BUG_ON(td->dm_dev.bdev); in open_table_device() 662 bdev = blkdev_get_by_dev(dev, td->dm_dev.mode | FMODE_EXCL, _dm_claim_ptr); in open_table_device() 668 blkdev_put(bdev, td->dm_dev.mode | FMODE_EXCL); in open_table_device() 672 td->dm_dev.bdev = bdev; in open_table_device() 673 td->dm_dev.dax_dev = fs_dax_get_by_bdev(bdev); in open_table_device() 682 if (!td->dm_dev.bdev) in close_table_device() 685 bd_unlink_disk_holder(td->dm_dev.bdev, dm_disk(md)); in close_table_device() 686 blkdev_put(td->dm_dev.bdev, td->dm_dev.mode | FMODE_EXCL); in close_table_device() 687 put_dax(td->dm_dev.dax_dev); in close_table_device() [all …]
|
D | dm-verity.h | 35 struct dm_dev *data_dev; 36 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; 131 struct dm_dev *dev = lc->dev; in linear_prepare_ioctl()
|
D | dm-verity-fec.h | 36 struct dm_dev *dev; /* parity data device */
|
D | dm-default-key.c | 42 struct dm_dev *dev; 357 const struct dm_dev *dev = dkc->dev; in default_key_prepare_ioctl()
|
D | dm-log.c | 247 struct dm_dev *log_dev; 365 struct dm_dev *dev) in create_log_context() 545 struct dm_dev *dev; in disk_ctr()
|
D | dm-clone-target.c | 72 struct dm_dev *metadata_dev; 73 struct dm_dev *dest_dev; 74 struct dm_dev *source_dev; 1515 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() 2103 struct dm_dev *dest_dev = clone->dest_dev; in clone_iterate_devices() 2104 struct dm_dev *source_dev = clone->source_dev; in clone_iterate_devices()
|
D | dm-ebs-target.c | 23 struct dm_dev *dev; /* Underlying device to emulate block size on. */ 413 struct dm_dev *dev = ec->dev; in ebs_prepare_ioctl()
|
D | dm-snap.c | 51 struct dm_dev *origin; 52 struct dm_dev *cow; 176 struct dm_dev *dm_snap_origin(struct dm_snapshot *s) in dm_snap_origin() 182 struct dm_dev *dm_snap_cow(struct dm_snapshot *s) in dm_snap_cow() 330 struct dm_dev *dev; 1602 static int do_origin(struct dm_dev *origin, struct bio *bio, bool limit); 2577 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-dust.c | 24 struct dm_dev *dev; 540 struct dm_dev *dev = dd->dev; in dust_prepare_ioctl()
|
D | dm-log-writes.c | 103 struct dm_dev *dev; 104 struct dm_dev *logdev; 848 struct dm_dev *dev = lc->dev; in log_writes_prepare_ioctl()
|
D | dm-zoned-target.c | 41 struct dm_dev **ddev; 693 struct dm_dev *ddev; in dmz_get_zoned_device() 863 dmz->ddev = kcalloc(argc, sizeof(struct dm_dev *), GFP_KERNEL); in dmz_ctr()
|
D | dm-cache-target.c | 311 struct dm_dev *metadata_dev; 316 struct dm_dev *origin_dev; 321 struct dm_dev *cache_dev; 1946 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() 1985 struct dm_dev *metadata_dev; 1987 struct dm_dev *cache_dev; 1990 struct dm_dev *origin_dev;
|
D | dm-thin.c | 327 struct dm_dev *data_dev; 328 struct dm_dev *metadata_dev; 340 struct dm_dev *pool_dev; 341 struct dm_dev *origin_dev; 1318 struct dm_dev *origin, dm_block_t data_origin, in schedule_copy() 3288 struct dm_dev *data_dev; in pool_ctr() 3291 struct dm_dev *metadata_dev; in pool_ctr() 4183 struct dm_dev *pool_dev, *origin_dev; in thin_ctr()
|
D | dm-era-target.c | 1160 struct dm_dev *metadata_dev; 1161 struct dm_dev *origin_dev; 1688 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size()
|
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-zone.c | 271 struct dm_dev *dev, sector_t start, in device_not_zone_append_capable()
|
D | dm-bow.c | 82 struct dm_dev *dev; 1268 struct dm_dev *dev = bc->dev; in dm_bow_prepare_ioctl()
|
12