Home
last modified time | relevance | path

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

/drivers/md/
Ddm-verity-target.c247 DMERR_LIMIT("%s: %s block %llu is corrupted", v->data_dev->name, in verity_handle_err()
251 DMERR("%s: reached maximum errors", v->data_dev->name); in verity_handle_err()
503 io_loc.bdev = v->data_dev->bdev; in verity_recheck()
789 bio_set_dev(bio, v->data_dev->bdev); in verity_map()
844 v->data_dev->name, in verity_status()
907 DMEMIT(",data_device_name=%s", v->data_dev->name); in verity_status()
952 *bdev = v->data_dev->bdev; in verity_prepare_ioctl()
954 if (v->data_start || ti->len != bdev_nr_sectors(v->data_dev->bdev)) in verity_prepare_ioctl()
964 return fn(ti, v->data_dev, v->data_start, ti->len, data); in verity_iterate_devices()
1007 if (v->data_dev) in verity_dtr()
[all …]
Ddm-verity-fec.c75 v->data_dev->name, (unsigned long long)rsb, in fec_read_parity()
173 v->data_dev->name, (unsigned long long)rsb, r); in fec_decode_bufs()
176 v->data_dev->name, (unsigned long long)rsb, r); in fec_decode_bufs()
254 v->data_dev->name, in fec_read_bufs()
397 v->data_dev->name, (unsigned long long)rsb, neras); in fec_decode_rsb()
431 DMWARN_LIMIT("%s: FEC: recursion too deep", v->data_dev->name); in verity_fec_decode()
767 f->data_bufio = dm_bufio_client_create(v->data_dev->bdev, in verity_fec_ctr()
Ddm-thin.c234 struct block_device *data_dev; member
325 struct dm_dev *data_dev; member
2818 struct block_device *data_bdev = pt->data_dev->bdev; in disable_passdown_if_not_supported()
2825 if (!bdev_max_discard_sectors(pt->data_dev->bdev)) in disable_passdown_if_not_supported()
2910 struct block_device *data_dev, in pool_create() argument
3018 pool->data_dev = data_dev; in pool_create()
3060 struct block_device *data_dev, in __pool_find() argument
3071 if (pool->data_dev != data_dev) { in __pool_find()
3080 if (pool->md_dev != metadata_dev || pool->data_dev != data_dev) { in __pool_find()
3087 pool = pool_create(pool_md, metadata_dev, data_dev, block_size, read_only, error); in __pool_find()
[all …]
Ddm-verity.h37 struct dm_dev *data_dev; member
Ddm-raid.c54 struct dm_dev *data_dev; member
796 if (rs->dev[i].data_dev) in raid_set_free()
797 dm_put_device(rs->ti, rs->dev[i].data_dev); in raid_set_free()
836 rs->dev[i].data_dev = NULL; in parse_dev_params()
885 &rs->dev[i].data_dev); in parse_dev_params()
895 rs->dev[i].rdev.bdev = rs->dev[i].data_dev->bdev; in parse_dev_params()
2100 if (!rs->dev[i].data_dev || test_bit(Faulty, &rs->dev[i].rdev.flags)) { in super_sync()
3669 __get_dev_name(rs->dev[i].data_dev)); in raid_status()
3772 if (rs->dev[i].data_dev) { in raid_iterate_devices()
3773 r = fn(ti, rs->dev[i].data_dev, in raid_iterate_devices()