Searched refs:bufio (Results 1 – 6 of 6) sorted by relevance
/drivers/md/persistent-data/ |
D | dm-block-manager.c | 357 struct dm_bufio_client *bufio; member 375 bm->bufio = dm_bufio_client_create(bdev, block_size, max_held_per_thread, in dm_block_manager_create() 379 if (IS_ERR(bm->bufio)) { in dm_block_manager_create() 380 r = PTR_ERR(bm->bufio); in dm_block_manager_create() 396 dm_bufio_client_destroy(bm->bufio); in dm_block_manager_destroy() 403 return dm_bufio_get_block_size(bm->bufio); in dm_bm_block_size() 409 return dm_bufio_get_device_size(bm->bufio); in dm_bm_nr_blocks() 421 r = v->check(v, (struct dm_block *) buf, dm_bufio_get_block_size(bm->bufio)); in dm_bm_validate_buffer() 447 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_lock() 483 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock() [all …]
|
/drivers/md/ |
D | dm-verity-fec.c | 76 res = dm_bufio_read(v->fec->bufio, v->fec->start + block, buf); in fec_read_parity() 214 struct dm_bufio_client *bufio; in fec_read_bufs() local 239 bufio = v->fec->data_bufio; in fec_read_bufs() 252 bufio = v->bufio; in fec_read_bufs() 255 bbuf = dm_bufio_read(bufio, block, &buf); in fec_read_bufs() 270 if (bufio == v->fec->data_bufio && in fec_read_bufs() 574 if (f->bufio) in verity_fec_dtr() 575 dm_bufio_client_destroy(f->bufio); in verity_fec_dtr() 794 if (dm_bufio_get_device_size(v->bufio) < f->hash_blocks) { in verity_fec_ctr() 800 f->bufio = dm_bufio_client_create(f->dev->bdev, in verity_fec_ctr() [all …]
|
D | dm-verity-target.c | 268 data = dm_bufio_read(v->bufio, hash_block, &buf); in verity_verify_level() 557 dm_bufio_prefetch(v->bufio, hash_block_start, in verity_prefetch_io() 740 if (v->bufio) in verity_dtr() 741 dm_bufio_client_destroy(v->bufio); in verity_dtr() 1083 v->bufio = dm_bufio_client_create(v->hash_dev->bdev, in verity_ctr() 1086 if (IS_ERR(v->bufio)) { in verity_ctr() 1088 r = PTR_ERR(v->bufio); in verity_ctr() 1089 v->bufio = NULL; in verity_ctr() 1093 if (dm_bufio_get_device_size(v->bufio) < v->hash_blocks) { in verity_ctr()
|
D | dm-verity-fec.h | 44 struct dm_bufio_client *bufio; /* for parity data access */ member
|
D | dm-verity.h | 38 struct dm_bufio_client *bufio; member
|
D | Makefile | 40 obj-$(CONFIG_DM_BUFIO) += dm-bufio.o
|