Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c246 r = dm_get_device(ti, devname, dm_table_get_mode(ti->table), &fc->dev); in flakey_ctr()
Ddm-switch.c210 r = dm_get_device(ti, dm_shift_arg(as), dm_table_get_mode(ti->table), in parse_path()
Ddm-log-writes.c557 ret = dm_get_device(ti, devname, dm_table_get_mode(ti->table), &lc->dev); in log_writes_ctr()
564 ret = dm_get_device(ti, logdevname, dm_table_get_mode(ti->table), in log_writes_ctr()
Ddm-ebs-target.c291 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &ec->dev); in ebs_ctr()
Ddm-clone-target.c1692 r = dm_get_device(clone->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_metadata_dev()
1712 r = dm_get_device(clone->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_dest_dev()
1734 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-stripe.c71 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), in get_stripe()
Ddm-verity-target.c1044 r = dm_get_device(ti, argv[1], FMODE_READ, &v->data_dev); in verity_ctr()
1050 r = dm_get_device(ti, argv[2], FMODE_READ, &v->hash_dev); in verity_ctr()
Ddm-log-userspace-base.c293 r = dm_get_device(ti, devices_rdata, in userspace_ctr()
Ddm-era-target.c1458 r = dm_get_device(ti, argv[0], FMODE_READ | FMODE_WRITE, &era->metadata_dev); in era_ctr()
1465 r = dm_get_device(ti, argv[1], FMODE_READ | FMODE_WRITE, &era->origin_dev); in era_ctr()
Ddm-snap.c1291 r = dm_get_device(ti, origin_path, origin_mode, &s->origin); in snapshot_ctr()
1309 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
2650 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &o->dev); in origin_ctr()
Ddm-log.c552 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &dev); in disk_ctr()
Ddm-table.c373 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode, in dm_get_device() function
421 EXPORT_SYMBOL(dm_get_device);
Ddm-verity-fec.c610 r = dm_get_device(ti, arg_value, FMODE_READ, &v->fec->dev); in verity_fec_parse_opt_args()
Ddm-thin.c3324 r = dm_get_device(ti, argv[0], metadata_mode, &metadata_dev); in pool_ctr()
3331 r = dm_get_device(ti, argv[1], FMODE_READ | FMODE_WRITE, &data_dev); in pool_ctr()
4207 r = dm_get_device(ti, argv[2], FMODE_READ, &origin_dev); in thin_ctr()
4215 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &pool_dev); in thin_ctr()
Ddm-mpath.c945 r = dm_get_device(ti, dm_shift_arg(as), dm_table_get_mode(ti->table), in parse_path()
1965 r = dm_get_device(ti, argv[1], dm_table_get_mode(ti->table), &dev); in multipath_message()
Ddm-cache-target.c2102 r = dm_get_device(ca->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_metadata_dev()
2125 r = dm_get_device(ca->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_cache_dev()
2144 r = dm_get_device(ca->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_origin_dev()
Ddm-raid.c852 r = dm_get_device(rs->ti, arg, dm_table_get_mode(rs->ti->table), in parse_dev_params()
885 r = dm_get_device(rs->ti, arg, dm_table_get_mode(rs->ti->table), in parse_dev_params()
1257 r = dm_get_device(rs->ti, arg, dm_table_get_mode(rs->ti->table), in parse_raid_params()
Ddm-zoned-target.c699 ret = dm_get_device(ti, path, dm_table_get_mode(ti->table), &ddev); in dmz_get_zoned_device()
Ddm-raid1.c949 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), in get_mirror()
Ddm-writecache.c2200 r = dm_get_device(ti, string, dm_table_get_mode(ti->table), &wc->dev); in writecache_ctr()
2213 r = dm_get_device(ti, string, dm_table_get_mode(ti->table), &wc->ssd_dev); in writecache_ctr()
/kernel/linux/linux-5.10/include/linux/
Ddevice-mapper.h162 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode,

12