Home
last modified time | relevance | path

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

/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()
677 bio_set_dev(bio, v->data_dev->bdev); in verity_map()
732 v->data_dev->name, in verity_status()
791 DMEMIT(",data_device_name=%s", v->data_dev->name); in verity_status()
836 *bdev = v->data_dev->bdev; in verity_prepare_ioctl()
839 ti->len != i_size_read(v->data_dev->bdev->bd_inode) >> SECTOR_SHIFT) in verity_prepare_ioctl()
849 return fn(ti, v->data_dev, v->data_start, ti->len, data); in verity_iterate_devices()
888 if (v->data_dev) in verity_dtr()
889 dm_put_device(ti, 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
327 struct dm_dev *data_dev; member
2819 struct request_queue *q = bdev_get_queue(pt->data_dev->bdev); in data_dev_supports_discard()
2836 struct block_device *data_bdev = pt->data_dev->bdev; in disable_passdown_if_not_supported()
2930 struct block_device *data_dev, in pool_create() argument
3039 pool->data_dev = data_dev; in pool_create()
3081 struct block_device *data_dev, in __pool_find() argument
3092 if (pool->data_dev != data_dev) { in __pool_find()
3101 if (pool->md_dev != metadata_dev || pool->data_dev != data_dev) { in __pool_find()
3108 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
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()
3673 __get_dev_name(rs->dev[i].data_dev)); in raid_status()
3775 if (rs->dev[i].data_dev) { in raid_iterate_devices()
3776 r = fn(ti, rs->dev[i].data_dev, in raid_iterate_devices()