Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/md/
A Ddm-table.c170 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 Ddm-mpath.h13 struct dm_dev;
16 struct dm_dev *dev; /* Read-only */
A Ddm.h43 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 Ddm-verity.h36 struct dm_dev *data_dev;
37 struct dm_dev *hash_dev;
A Ddm-exception-store.h134 struct dm_dev *dm_snap_origin(struct dm_snapshot *snap);
135 struct dm_dev *dm_snap_cow(struct dm_snapshot *snap);
A Ddm.c141 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 Ddm-linear.c23 struct dm_dev *dev;
124 struct dm_dev *dev = lc->dev; in linear_prepare_ioctl()
A Ddm-verity-fec.h36 struct dm_dev *dev; /* parity data device */
A Ddm-log.c250 struct dm_dev *log_dev;
370 struct dm_dev *dev) in create_log_context()
550 struct dm_dev *dev; in disk_ctr()
A Ddm-ebs-target.c24 struct dm_dev *dev; /* Underlying device to emulate block size on. */
415 struct dm_dev *dev = ec->dev; in ebs_prepare_ioctl()
A Ddm-clone-target.c72 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 Ddm-unstripe.c13 struct dm_dev *dev;
A Ddm-dust.c24 struct dm_dev *dev;
540 struct dm_dev *dev = dd->dev; in dust_prepare_ioctl()
A Ddm-snap.c52 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 Ddm-log-writes.c104 struct dm_dev *dev;
105 struct dm_dev *logdev;
824 struct dm_dev *dev = lc->dev; in log_writes_prepare_ioctl()
A Ddm-zoned-target.c41 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 Ddm-cache-target.c312 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 Ddm-delay.c22 struct dm_dev *dev;
A Ddm-era-target.c1175 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 Ddm-thin.c326 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 Ddm-flakey.c27 struct dm_dev *dev;
A Ddm-switch.c32 struct dm_dev *dmdev;
A Ddm-stripe.c25 struct dm_dev *dev;
A Ddm-zone.c268 struct dm_dev *dev, sector_t start, in device_not_zone_append_capable()
/linux-6.3-rc2/include/linux/
A Ddevice-mapper.h18 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