Searched refs:dm_dev (Results 1 – 25 of 34) sorted by relevance
12
/linux-6.3-rc2/drivers/md/ |
A D | dm-table.c | 170 dm_put_table_device(md, dd->dm_dev); in free_devices() 216 if (dd->dm_dev->bdev->bd_dev == dev) in find_device() 311 struct dm_dev *old_dev, *new_dev; in upgrade_mode() 313 old_dev = dd->dm_dev; in upgrade_mode() 316 dd->dm_dev->mode | new_mode, &new_dev); in upgrade_mode() 320 dd->dm_dev = new_dev; in upgrade_mode() 344 struct dm_dev **result) in dm_get_device() 384 } else if (dd->dm_dev->mode != (mode | dd->dm_dev->mode)) { in dm_get_device() 391 *result = dd->dm_dev; in dm_get_device() 432 if (dd->dm_dev == d) { in dm_put_device() [all …]
|
A D | dm-mpath.h | 13 struct dm_dev; 16 struct dm_dev *dev; /* Read-only */
|
A D | dm.h | 43 struct dm_dev *dm_dev; member 206 struct dm_dev **result); 207 void dm_put_table_device(struct mapped_device *md, struct dm_dev *d);
|
A D | dm-verity.h | 36 struct dm_dev *data_dev; 37 struct dm_dev *hash_dev;
|
A D | dm-exception-store.h | 134 struct dm_dev *dm_snap_origin(struct dm_snapshot *snap); 135 struct dm_dev *dm_snap_cow(struct dm_snapshot *snap);
|
A D | dm.c | 141 struct dm_dev dm_dev; member 766 td->dm_dev.mode = mode; in open_table_device() 767 td->dm_dev.bdev = bdev; in open_table_device() 769 format_dev_t(td->dm_dev.name, dev); in open_table_device() 786 bd_unlink_disk_holder(td->dm_dev.bdev, md->disk); in close_table_device() 787 blkdev_put(td->dm_dev.bdev, td->dm_dev.mode | FMODE_EXCL); in close_table_device() 788 put_dax(td->dm_dev.dax_dev); in close_table_device() 799 if (td->dm_dev.bdev->bd_dev == dev && td->dm_dev.mode == mode) in find_table_device() 806 struct dm_dev **result) in dm_get_table_device() 823 *result = &td->dm_dev; in dm_get_table_device() [all …]
|
A D | dm-linear.c | 23 struct dm_dev *dev; 124 struct dm_dev *dev = lc->dev; in linear_prepare_ioctl()
|
A D | dm-verity-fec.h | 36 struct dm_dev *dev; /* parity data device */
|
A D | dm-log.c | 250 struct dm_dev *log_dev; 370 struct dm_dev *dev) in create_log_context() 550 struct dm_dev *dev; in disk_ctr()
|
A D | dm-ebs-target.c | 24 struct dm_dev *dev; /* Underlying device to emulate block size on. */ 415 struct dm_dev *dev = ec->dev; in ebs_prepare_ioctl()
|
A 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()
|
A D | dm-unstripe.c | 13 struct dm_dev *dev;
|
A D | dm-dust.c | 24 struct dm_dev *dev; 540 struct dm_dev *dev = dd->dev; in dust_prepare_ioctl()
|
A D | dm-snap.c | 52 struct dm_dev *origin; 53 struct dm_dev *cow; 172 struct dm_dev *dm_snap_origin(struct dm_snapshot *s) in dm_snap_origin() 178 struct dm_dev *dm_snap_cow(struct dm_snapshot *s) in dm_snap_cow() 328 struct dm_dev *dev; 1585 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()
|
A D | dm-log-writes.c | 104 struct dm_dev *dev; 105 struct dm_dev *logdev; 824 struct dm_dev *dev = lc->dev; in log_writes_prepare_ioctl()
|
A 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()
|
A D | dm-cache-target.c | 312 struct dm_dev *metadata_dev; 317 struct dm_dev *origin_dev; 322 struct dm_dev *cache_dev; 1965 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size() 2004 struct dm_dev *metadata_dev; 2006 struct dm_dev *cache_dev; 2009 struct dm_dev *origin_dev;
|
A D | dm-delay.c | 22 struct dm_dev *dev;
|
A D | dm-era-target.c | 1175 struct dm_dev *metadata_dev; 1176 struct dm_dev *origin_dev; 1711 static sector_t get_dev_size(struct dm_dev *dev) in get_dev_size()
|
A D | dm-thin.c | 326 struct dm_dev *data_dev; 327 struct dm_dev *metadata_dev; 339 struct dm_dev *pool_dev; 340 struct dm_dev *origin_dev; 1310 struct dm_dev *origin, dm_block_t data_origin, in schedule_copy() 3274 struct dm_dev *data_dev; in pool_ctr() 3277 struct dm_dev *metadata_dev; in pool_ctr() 4168 struct dm_dev *pool_dev, *origin_dev; in thin_ctr()
|
A D | dm-flakey.c | 27 struct dm_dev *dev;
|
A D | dm-switch.c | 32 struct dm_dev *dmdev;
|
A D | dm-stripe.c | 25 struct dm_dev *dev;
|
A D | dm-zone.c | 268 struct dm_dev *dev, sector_t start, in device_not_zone_append_capable()
|
/linux-6.3-rc2/include/linux/ |
A D | device-mapper.h | 18 struct dm_dev; 122 struct dm_dev *dev, 166 struct dm_dev { struct 180 struct dm_dev **result); argument 181 void dm_put_device(struct dm_target *ti, struct dm_dev *d);
|
Completed in 76 milliseconds
12