Home
last modified time | relevance | path

Searched refs:dm_get_device (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/drivers/md/
Ddm-unstripe.c76 if (dm_get_device(ti, argv[3], dm_table_get_mode(ti->table), &uc->dev)) { in unstripe_ctr()
Ddm-linear.c54 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &lc->dev); in linear_ctr()
Ddm-delay.c156 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &c->dev); in delay_class_ctr()
Ddm-flakey.c250 r = dm_get_device(ti, devname, dm_table_get_mode(ti->table), &fc->dev); in flakey_ctr()
Ddm-log-writes.c534 ret = dm_get_device(ti, devname, dm_table_get_mode(ti->table), &lc->dev); in log_writes_ctr()
541 ret = dm_get_device(ti, logdevname, dm_table_get_mode(ti->table), in log_writes_ctr()
Ddm-switch.c210 r = dm_get_device(ti, dm_shift_arg(as), dm_table_get_mode(ti->table), in parse_path()
Ddm-ebs-target.c292 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &ec->dev); in ebs_ctr()
Ddm-stripe.c71 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), in get_stripe()
Ddm-clone-target.c1686 r = dm_get_device(clone->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_metadata_dev()
1706 r = dm_get_device(clone->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_dest_dev()
1728 r = dm_get_device(clone->ti, dm_shift_arg(as), FMODE_READ, in parse_source_dev()
Ddm-dust.c369 if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &dd->dev)) { in dust_ctr()
Ddm-log-userspace-base.c293 r = dm_get_device(ti, devices_rdata, in userspace_ctr()
Ddm-era-target.c1462 r = dm_get_device(ti, argv[0], FMODE_READ | FMODE_WRITE, &era->metadata_dev); in era_ctr()
1469 r = dm_get_device(ti, argv[1], FMODE_READ | FMODE_WRITE, &era->origin_dev); in era_ctr()
Ddm-verity-target.c1214 r = dm_get_device(ti, argv[1], FMODE_READ, &v->data_dev); in verity_ctr()
1220 r = dm_get_device(ti, argv[2], FMODE_READ, &v->hash_dev); in verity_ctr()
Ddm-snap.c1276 r = dm_get_device(ti, origin_path, origin_mode, &s->origin); in snapshot_ctr()
1294 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
2642 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &o->dev); in origin_ctr()
Ddm-log.c550 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &dev); in disk_ctr()
Ddm-verity-fec.c610 r = dm_get_device(ti, arg_value, FMODE_READ, &v->fec->dev); in verity_fec_parse_opt_args()
Ddm-table.c345 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode, in dm_get_device() function
393 EXPORT_SYMBOL(dm_get_device);
Ddm-cache-target.c2023 r = dm_get_device(ca->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_metadata_dev()
2046 r = dm_get_device(ca->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_cache_dev()
2065 r = dm_get_device(ca->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_origin_dev()
Ddm-thin.c3298 r = dm_get_device(ti, argv[0], metadata_mode, &metadata_dev); in pool_ctr()
3305 r = dm_get_device(ti, argv[1], FMODE_READ | FMODE_WRITE, &data_dev); in pool_ctr()
4183 r = dm_get_device(ti, argv[2], FMODE_READ, &origin_dev); in thin_ctr()
4191 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &pool_dev); in thin_ctr()
Ddm-mpath.c946 r = dm_get_device(ti, dm_shift_arg(as), dm_table_get_mode(ti->table), in parse_path()
2004 r = dm_get_device(ti, argv[1], dm_table_get_mode(ti->table), &dev); in multipath_message()
Ddm-raid.c851 r = dm_get_device(rs->ti, arg, dm_table_get_mode(rs->ti->table), in parse_dev_params()
884 r = dm_get_device(rs->ti, arg, dm_table_get_mode(rs->ti->table), in parse_dev_params()
1256 r = dm_get_device(rs->ti, arg, dm_table_get_mode(rs->ti->table), in parse_raid_params()
Ddm-zoned-target.c698 ret = dm_get_device(ti, path, dm_table_get_mode(ti->table), &ddev); in dmz_get_zoned_device()
Ddm-raid1.c947 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), in get_mirror()
Ddm-writecache.c2331 r = dm_get_device(ti, string, dm_table_get_mode(ti->table), &wc->dev); in writecache_ctr()
2344 r = dm_get_device(ti, string, dm_table_get_mode(ti->table), &wc->ssd_dev); in writecache_ctr()
/linux-6.1.9/include/linux/
Ddevice-mapper.h178 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode,

12