Home
last modified time | relevance | path

Searched refs:dm_dev (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/md/
Ddm-table.c184 dm_device_name(md), dd->dm_dev->name); in free_devices()
185 dm_put_table_device(md, dd->dm_dev); in free_devices()
229 if (dd->dm_dev->bdev->bd_dev == dev) in find_device()
238 static int device_area_is_invalid(struct dm_target *ti, struct dm_dev *dev, in device_area_is_invalid()
329 struct dm_dev *old_dev, *new_dev; in upgrade_mode()
331 old_dev = dd->dm_dev; in upgrade_mode()
333 r = dm_get_table_device(md, dd->dm_dev->bdev->bd_dev, in upgrade_mode()
334 dd->dm_dev->mode | new_mode, &new_dev); in upgrade_mode()
338 dd->dm_dev = new_dev; in upgrade_mode()
369 struct dm_dev **result) in dm_get_device()
[all …]
Ddm.h43 struct dm_dev *dm_dev; member
76 int device_not_dax_capable(struct dm_target *ti, struct dm_dev *dev,
183 struct dm_dev **result);
184 void dm_put_table_device(struct mapped_device *md, struct dm_dev *d);
Ddm-mpath.h12 struct dm_dev;
15 struct dm_dev *dev; /* Read-only */
Ddm-verity.h35 struct dm_dev *data_dev;
36 struct dm_dev *hash_dev;
Ddm-exception-store.h133 struct dm_dev *dm_snap_origin(struct dm_snapshot *snap);
134 struct dm_dev *dm_snap_cow(struct dm_snapshot *snap);
Ddm.c172 struct dm_dev dm_dev; member
755 BUG_ON(td->dm_dev.bdev); in open_table_device()
757 bdev = blkdev_get_by_dev(dev, td->dm_dev.mode | FMODE_EXCL, _dm_claim_ptr); in open_table_device()
763 blkdev_put(bdev, td->dm_dev.mode | FMODE_EXCL); in open_table_device()
767 td->dm_dev.bdev = bdev; in open_table_device()
768 td->dm_dev.dax_dev = dax_get_by_host(bdev->bd_disk->disk_name); in open_table_device()
777 if (!td->dm_dev.bdev) in close_table_device()
780 bd_unlink_disk_holder(td->dm_dev.bdev, dm_disk(md)); in close_table_device()
781 blkdev_put(td->dm_dev.bdev, td->dm_dev.mode | FMODE_EXCL); in close_table_device()
782 put_dax(td->dm_dev.dax_dev); in close_table_device()
[all …]
Ddm-linear.c22 struct dm_dev *dev;
125 struct dm_dev *dev = lc->dev; in linear_prepare_ioctl()
Ddm-verity-fec.h36 struct dm_dev *dev; /* parity data device */
Ddm-log.c247 struct dm_dev *log_dev;
365 struct dm_dev *dev) in create_log_context()
546 struct dm_dev *dev; in disk_ctr()
Ddm-ebs-target.c23 struct dm_dev *dev; /* Underlying device to emulate block size on. */
410 struct dm_dev *dev = ec->dev; in ebs_prepare_ioctl()
Ddm-clone-target.c72 struct dm_dev *metadata_dev;
73 struct dm_dev *dest_dev;
74 struct dm_dev *source_dev;
1520 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size()
2109 struct dm_dev *dest_dev = clone->dest_dev; in clone_iterate_devices()
2110 struct dm_dev *source_dev = clone->source_dev; in clone_iterate_devices()
Ddm-unstripe.c12 struct dm_dev *dev;
Ddm-dust.c24 struct dm_dev *dev;
536 struct dm_dev *dev = dd->dev; in dust_prepare_ioctl()
Ddm-snap.c51 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;
1601 static int do_origin(struct dm_dev *origin, struct bio *bio, bool limit);
2566 static int do_origin(struct dm_dev *origin, struct bio *bio, bool limit) in do_origin()
Ddm-log-writes.c103 struct dm_dev *dev;
104 struct dm_dev *logdev;
844 struct dm_dev *dev = lc->dev; in log_writes_prepare_ioctl()
Ddm-zoned-target.c41 struct dm_dev **ddev;
693 struct dm_dev *ddev; in dmz_get_zoned_device()
856 dmz->ddev = kcalloc(argc, sizeof(struct dm_dev *), GFP_KERNEL); in dmz_ctr()
Ddm-cache-target.c381 struct dm_dev *metadata_dev;
386 struct dm_dev *origin_dev;
391 struct dm_dev *cache_dev;
2011 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size()
2050 struct dm_dev *metadata_dev;
2052 struct dm_dev *cache_dev;
2055 struct dm_dev *origin_dev;
Ddm-delay.c21 struct dm_dev *dev;
Ddm-era-target.c1156 struct dm_dev *metadata_dev;
1157 struct dm_dev *origin_dev;
1674 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size()
Ddm-thin.c327 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()
3284 struct dm_dev *data_dev; in pool_ctr()
3287 struct dm_dev *metadata_dev; in pool_ctr()
4164 struct dm_dev *pool_dev, *origin_dev; in thin_ctr()
Ddm-flakey.c26 struct dm_dev *dev;
Ddm-switch.c31 struct dm_dev *dmdev;
Ddm-stripe.c22 struct dm_dev *dev;
/kernel/linux/linux-5.10/include/linux/
Ddevice-mapper.h17 struct dm_dev;
111 struct dm_dev *dev,
149 struct dm_dev { struct
163 struct dm_dev **result); argument
164 void dm_put_device(struct dm_target *ti, struct dm_dev *d);
/kernel/linux/linux-5.10/drivers/hv/
Dhv_balloon.c1380 static int dm_thread_func(void *dm_dev) in dm_thread_func() argument
1382 struct hv_dynmem_device *dm = dm_dev; in dm_thread_func()

12