Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/md/
H A Ddm-unstripe.c77 if (dm_get_device(ti, argv[3], dm_table_get_mode(ti->table), &uc->dev)) { in unstripe_ctr()
H A Ddm-linear.c55 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &lc->dev); in linear_ctr()
H A Ddm-delay.c157 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &c->dev); in delay_class_ctr()
H A Ddm-log-writes.c535 ret = dm_get_device(ti, devname, dm_table_get_mode(ti->table), &lc->dev); in log_writes_ctr()
542 ret = dm_get_device(ti, logdevname, dm_table_get_mode(ti->table), in log_writes_ctr()
H A Ddm-switch.c211 r = dm_get_device(ti, dm_shift_arg(as), dm_table_get_mode(ti->table), in parse_path()
H A Ddm-ebs-target.c293 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &ec->dev); in ebs_ctr()
H A Ddm-stripe.c74 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), in get_stripe()
H A Ddm-clone-target.c1686 r = dm_get_device(clone->ti, dm_shift_arg(as), in parse_metadata_dev()
1706 r = dm_get_device(clone->ti, dm_shift_arg(as), in parse_dest_dev()
1728 r = dm_get_device(clone->ti, dm_shift_arg(as), BLK_OPEN_READ, in parse_source_dev()
H A Ddm-dust.c369 if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &dd->dev)) { in dust_ctr()
H A Ddm-flakey.c301 r = dm_get_device(ti, devname, dm_table_get_mode(ti->table), &fc->dev); in flakey_ctr()
H A Ddm-log-userspace-base.c294 r = dm_get_device(ti, devices_rdata, in userspace_ctr()
H A Ddm-era-target.c1485 r = dm_get_device(ti, argv[0], BLK_OPEN_READ | BLK_OPEN_WRITE, in era_ctr()
1493 r = dm_get_device(ti, argv[1], BLK_OPEN_READ | BLK_OPEN_WRITE, in era_ctr()
H A Ddm-verity-target.c1270 r = dm_get_device(ti, argv[1], BLK_OPEN_READ, &v->data_dev); in verity_ctr()
1276 r = dm_get_device(ti, argv[2], BLK_OPEN_READ, &v->hash_dev); in verity_ctr()
H A Ddm-snap.c1278 r = dm_get_device(ti, origin_path, origin_mode, &s->origin); in snapshot_ctr()
1288 r = dm_get_device(ti, cow_path, dm_table_get_mode(ti->table), &s->cow); in snapshot_ctr()
2641 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &o->dev); in origin_ctr()
H A Ddm-log.c557 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &dev); in disk_ctr()
H A Ddm-verity-fec.c611 r = dm_get_device(ti, arg_value, BLK_OPEN_READ, &v->fec->dev); in verity_fec_parse_opt_args()
H A Ddm-table.c339 int __ref dm_get_device(struct dm_target *ti, const char *path, blk_mode_t mode, in dm_get_device() function
403 EXPORT_SYMBOL(dm_get_device);
H A Ddm-cache-target.c2059 r = dm_get_device(ca->ti, dm_shift_arg(as), in parse_metadata_dev()
2082 r = dm_get_device(ca->ti, dm_shift_arg(as), in parse_cache_dev()
2102 r = dm_get_device(ca->ti, dm_shift_arg(as), in parse_origin_dev()
H A Ddm-thin.c3333 r = dm_get_device(ti, argv[0], metadata_mode, &metadata_dev); in pool_ctr()
3340 r = dm_get_device(ti, argv[1], BLK_OPEN_READ | BLK_OPEN_WRITE, &data_dev); in pool_ctr()
4220 r = dm_get_device(ti, argv[2], BLK_OPEN_READ, &origin_dev); in thin_ctr()
4228 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &pool_dev); in thin_ctr()
H A Ddm-mpath.c954 r = dm_get_device(ti, dm_shift_arg(as), dm_table_get_mode(ti->table), in parse_path()
2012 r = dm_get_device(ti, argv[1], dm_table_get_mode(ti->table), &dev); in multipath_message()
H A 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()
H A Ddm-zoned-target.c698 ret = dm_get_device(ti, path, dm_table_get_mode(ti->table), &ddev); in dmz_get_zoned_device()
H A Ddm-raid1.c961 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), in get_mirror()
H A Ddm-writecache.c2350 r = dm_get_device(ti, string, dm_table_get_mode(ti->table), &wc->dev); in writecache_ctr()
2363 r = dm_get_device(ti, string, dm_table_get_mode(ti->table), &wc->ssd_dev); in writecache_ctr()
/openbmc/linux/include/linux/
H A Ddevice-mapper.h177 int dm_get_device(struct dm_target *ti, const char *path, blk_mode_t mode,

12