Home
last modified time | relevance | path

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

12

/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-default-key.c203 err = dm_get_device(ti, argv[3], dm_table_get_mode(ti->table), in default_key_ctr()
Ddm-delay.c156 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &c->dev); in delay_class_ctr()
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-switch.c210 r = dm_get_device(ti, dm_shift_arg(as), dm_table_get_mode(ti->table), in parse_path()
Ddm-flakey.c246 r = dm_get_device(ti, devname, dm_table_get_mode(ti->table), &fc->dev); in flakey_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-ebs-target.c291 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &ec->dev); in ebs_ctr()
Ddm-verity-target.c1037 r = dm_get_device(ti, argv[1], FMODE_READ, &v->data_dev); in verity_ctr()
1043 r = dm_get_device(ti, argv[2], FMODE_READ, &v->hash_dev); in verity_ctr()
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-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-log-userspace-base.c293 r = dm_get_device(ti, devices_rdata, in userspace_ctr()
Ddm-snap.c1292 r = dm_get_device(ti, origin_path, origin_mode, &s->origin); in snapshot_ctr()
1310 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
2651 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-verity-fec.c611 r = dm_get_device(ti, arg_value, FMODE_READ, &v->fec->dev); in verity_fec_parse_opt_args()
Ddm-table.c377 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode, in dm_get_device() function
425 EXPORT_SYMBOL(dm_get_device);
Ddm-thin.c3326 r = dm_get_device(ti, argv[0], metadata_mode, &metadata_dev); in pool_ctr()
3333 r = dm_get_device(ti, argv[1], FMODE_READ | FMODE_WRITE, &data_dev); in pool_ctr()
4210 r = dm_get_device(ti, argv[2], FMODE_READ, &origin_dev); in thin_ctr()
4218 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &pool_dev); in thin_ctr()
Ddm-cache-target.c2106 r = dm_get_device(ca->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_metadata_dev()
2129 r = dm_get_device(ca->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, in parse_cache_dev()
2148 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-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-zoned-target.c699 ret = dm_get_device(ti, path, dm_table_get_mode(ti->table), &ddev); in dmz_get_zoned_device()
Ddm-bow.c715 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), in dm_bow_ctr()
Ddm-raid1.c949 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), in get_mirror()

12