Home
last modified time | relevance | path

Searched refs:data_dev (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
Ddm-verity-target.c240 DMERR_LIMIT("%s: %s block %llu is corrupted", v->data_dev->name, in verity_handle_err()
244 DMERR("%s: reached maximum errors", v->data_dev->name); in verity_handle_err()
666 bio_set_dev(bio, v->data_dev->bdev); in verity_map()
721 v->data_dev->name, in verity_status()
782 *bdev = v->data_dev->bdev; in verity_prepare_ioctl()
785 ti->len != i_size_read(v->data_dev->bdev->bd_inode) >> SECTOR_SHIFT) in verity_prepare_ioctl()
795 return fn(ti, v->data_dev, v->data_start, ti->len, data); in verity_iterate_devices()
834 if (v->data_dev) in verity_dtr()
835 dm_put_device(ti, v->data_dev); in verity_dtr()
1044 r = dm_get_device(ti, argv[1], FMODE_READ, &v->data_dev); in verity_ctr()
[all …]
Ddm-verity-fec.c74 v->data_dev->name, (unsigned long long)rsb, in fec_read_parity()
172 v->data_dev->name, (unsigned long long)rsb, r); in fec_decode_bufs()
175 v->data_dev->name, (unsigned long long)rsb, r); in fec_decode_bufs()
253 v->data_dev->name, in fec_read_bufs()
396 v->data_dev->name, (unsigned long long)rsb, neras); in fec_decode_rsb()
430 DMWARN_LIMIT("%s: FEC: recursion too deep", v->data_dev->name); in verity_fec_decode()
766 f->data_bufio = dm_bufio_client_create(v->data_dev->bdev, in verity_fec_ctr()
Ddm-thin.c234 struct block_device *data_dev; member
327 struct dm_dev *data_dev; member
2817 struct request_queue *q = bdev_get_queue(pt->data_dev->bdev); in data_dev_supports_discard()
2834 struct block_device *data_bdev = pt->data_dev->bdev; in disable_passdown_if_not_supported()
2926 struct block_device *data_dev, in pool_create() argument
3035 pool->data_dev = data_dev; in pool_create()
3077 struct block_device *data_dev, in __pool_find() argument
3088 if (pool->data_dev != data_dev) { in __pool_find()
3097 if (pool->md_dev != metadata_dev || pool->data_dev != data_dev) { in __pool_find()
3104 pool = pool_create(pool_md, metadata_dev, data_dev, block_size, read_only, error); in __pool_find()
[all …]
Ddm-verity.h35 struct dm_dev *data_dev; member
Ddm-raid.c54 struct dm_dev *data_dev; member
797 if (rs->dev[i].data_dev) in raid_set_free()
798 dm_put_device(rs->ti, rs->dev[i].data_dev); in raid_set_free()
837 rs->dev[i].data_dev = NULL; in parse_dev_params()
886 &rs->dev[i].data_dev); in parse_dev_params()
896 rs->dev[i].rdev.bdev = rs->dev[i].data_dev->bdev; in parse_dev_params()
2098 if (!rs->dev[i].data_dev || test_bit(Faulty, &rs->dev[i].rdev.flags)) { in super_sync()
3673 __get_dev_name(rs->dev[i].data_dev)); in raid_status()
3736 if (rs->dev[i].data_dev) in raid_iterate_devices()
3738 rs->dev[i].data_dev, in raid_iterate_devices()
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Dthin-provisioning.rst105 --table "0 20971520 thin-pool $metadata_dev $data_dev \