Searched refs:dm_dev (Results 1 – 25 of 34) sorted by relevance
12
/linux-6.1.9/drivers/md/ |
D | dm-table.c | 168 dm_device_name(md), dd->dm_dev->name); in free_devices() 169 dm_put_table_device(md, dd->dm_dev); in free_devices() 215 if (dd->dm_dev->bdev->bd_dev == dev) in find_device() 224 static int device_area_is_invalid(struct dm_target *ti, struct dm_dev *dev, in device_area_is_invalid() 313 struct dm_dev *old_dev, *new_dev; in upgrade_mode() 315 old_dev = dd->dm_dev; in upgrade_mode() 317 r = dm_get_table_device(md, dd->dm_dev->bdev->bd_dev, in upgrade_mode() 318 dd->dm_dev->mode | new_mode, &new_dev); in upgrade_mode() 322 dd->dm_dev = new_dev; in upgrade_mode() 346 struct dm_dev **result) in dm_get_device() [all …]
|
D | dm-mpath.h | 12 struct dm_dev; 15 struct dm_dev *dev; /* Read-only */
|
D | dm.h | 43 struct dm_dev *dm_dev; member 202 struct dm_dev **result); 203 void dm_put_table_device(struct mapped_device *md, struct dm_dev *d);
|
D | dm-verity.h | 36 struct dm_dev *data_dev; 37 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.c | 138 struct dm_dev dm_dev; member 765 td->dm_dev.mode = mode; in open_table_device() 766 td->dm_dev.bdev = bdev; in open_table_device() 767 td->dm_dev.dax_dev = fs_dax_get_by_bdev(bdev, &part_off, NULL, NULL); in open_table_device() 768 format_dev_t(td->dm_dev.name, dev); in open_table_device() 785 bd_unlink_disk_holder(td->dm_dev.bdev, md->disk); in close_table_device() 786 blkdev_put(td->dm_dev.bdev, td->dm_dev.mode | FMODE_EXCL); in close_table_device() 787 put_dax(td->dm_dev.dax_dev); in close_table_device() 798 if (td->dm_dev.bdev->bd_dev == dev && td->dm_dev.mode == mode) in find_table_device() 805 struct dm_dev **result) in dm_get_table_device() [all …]
|
D | dm-linear.c | 22 struct dm_dev *dev; 123 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-log.c | 247 struct dm_dev *log_dev; 363 struct dm_dev *dev) in create_log_context() 543 struct dm_dev *dev; in disk_ctr()
|
D | dm-ebs-target.c | 23 struct dm_dev *dev; /* Underlying device to emulate block size on. */ 414 struct dm_dev *dev = ec->dev; in ebs_prepare_ioctl()
|
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() 2094 struct dm_dev *dest_dev = clone->dest_dev; in clone_iterate_devices() 2095 struct dm_dev *source_dev = clone->source_dev; in clone_iterate_devices()
|
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-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; 1583 static int do_origin(struct dm_dev *origin, struct bio *bio, bool limit); 2558 static int do_origin(struct dm_dev *origin, struct bio *bio, bool limit) in do_origin()
|
D | dm-log-writes.c | 103 struct dm_dev *dev; 104 struct dm_dev *logdev; 823 struct dm_dev *dev = lc->dev; in log_writes_prepare_ioctl()
|
D | dm-zoned-target.c | 41 struct dm_dev **ddev; 692 struct dm_dev *ddev; in dmz_get_zoned_device() 853 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; 1934 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() 1973 struct dm_dev *metadata_dev; 1975 struct dm_dev *cache_dev; 1978 struct dm_dev *origin_dev;
|
D | dm-delay.c | 21 struct dm_dev *dev;
|
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-thin.c | 325 struct dm_dev *data_dev; 326 struct dm_dev *metadata_dev; 338 struct dm_dev *pool_dev; 339 struct dm_dev *origin_dev; 1308 struct dm_dev *origin, dm_block_t data_origin, in schedule_copy() 3260 struct dm_dev *data_dev; in pool_ctr() 3263 struct dm_dev *metadata_dev; in pool_ctr() 4152 struct dm_dev *pool_dev, *origin_dev; in thin_ctr()
|
D | dm-flakey.c | 26 struct dm_dev *dev;
|
D | dm-switch.c | 31 struct dm_dev *dmdev;
|
D | dm-stripe.c | 22 struct dm_dev *dev;
|
D | dm-zone.c | 268 struct dm_dev *dev, sector_t start, in device_not_zone_append_capable()
|
/linux-6.1.9/include/linux/ |
D | device-mapper.h | 17 struct dm_dev; 121 struct dm_dev *dev, 165 struct dm_dev { struct 179 struct dm_dev **result); argument 180 void dm_put_device(struct dm_target *ti, struct dm_dev *d);
|
12