Home
last modified time | relevance | path

Searched refs:bufio (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/md/
A Ddm-ebs-target.c87 ba = dm_bufio_read(ec->bufio, block, &b); in __ebs_rw_bvec()
89 ba = dm_bufio_new(ec->bufio, block, &b); in __ebs_rw_bvec()
197 dm_bufio_prefetch(ec->bufio, block1, __nr_blocks(ec, bio)); in __ebs_process_bios()
201 dm_bufio_prefetch(ec->bufio, block1, 1); in __ebs_process_bios()
203 dm_bufio_prefetch(ec->bufio, block2, 1); in __ebs_process_bios()
227 r = write ? dm_bufio_write_dirty_buffers(ec->bufio) : 0; in __ebs_process_bios()
319 if (IS_ERR(ec->bufio)) { in ebs_ctr()
321 r = PTR_ERR(ec->bufio); in ebs_ctr()
322 ec->bufio = NULL; in ebs_ctr()
354 if (ec->bufio) in ebs_dtr()
[all …]
A Ddm-verity-fec.c71 res = dm_bufio_read(v->fec->bufio, block, buf); in fec_read_parity()
206 struct dm_bufio_client *bufio; in fec_read_bufs() local
234 bufio = v->fec->data_bufio; in fec_read_bufs()
247 bufio = v->bufio; in fec_read_bufs()
250 bbuf = dm_bufio_read(bufio, block, &buf); in fec_read_bufs()
265 if (bufio == v->fec->data_bufio && in fec_read_bufs()
558 if (f->bufio) in verity_fec_dtr()
559 dm_bufio_client_destroy(f->bufio); in verity_fec_dtr()
750 f->bufio = dm_bufio_client_create(f->dev->bdev, in verity_fec_ctr()
753 if (IS_ERR(f->bufio)) { in verity_fec_ctr()
[all …]
A Ddm-verity-target.c297 data = dm_bufio_get(v->bufio, hash_block, &buf); in verity_verify_level()
307 data = dm_bufio_read(v->bufio, hash_block, &buf); in verity_verify_level()
708 dm_bufio_prefetch(v->bufio, hash_block_start, in verity_prefetch_io()
951 if (v->bufio) in verity_dtr()
952 dm_bufio_client_destroy(v->bufio); in verity_dtr()
1387 v->bufio = dm_bufio_client_create(v->hash_dev->bdev, in verity_ctr()
1391 if (IS_ERR(v->bufio)) { in verity_ctr()
1393 r = PTR_ERR(v->bufio); in verity_ctr()
1394 v->bufio = NULL; in verity_ctr()
1398 if (dm_bufio_get_device_size(v->bufio) < v->hash_blocks) { in verity_ctr()
A Ddm-verity-fec.h38 struct dm_bufio_client *bufio; /* for parity data access */ member
A Ddm-verity.h39 struct dm_bufio_client *bufio; member
A DMakefile57 obj-$(CONFIG_DM_BUFIO) += dm-bufio.o
A Ddm-integrity.c172 struct dm_bufio_client *bufio; member
1448 data = dm_bufio_read(ic->bufio, *metadata_block, &b); in dm_integrity_rw_tag()
1541 fr.io_req.client = dm_bufio_get_dm_io_client(ic->bufio), in dm_integrity_flush_buffers()
1551 r = dm_bufio_write_dirty_buffers(ic->bufio); in dm_integrity_flush_buffers()
2608 dm_bufio_write_dirty_buffers_async(ic->bufio); in do_journal_write()
4499 if (IS_ERR(ic->bufio)) { in dm_integrity_ctr()
4500 r = PTR_ERR(ic->bufio); in dm_integrity_ctr()
4502 ic->bufio = NULL; in dm_integrity_ctr()
4505 dm_bufio_set_sector_offset(ic->bufio, ic->start + ic->initial_sectors); in dm_integrity_ctr()
4627 if (ic->bufio) in dm_integrity_dtr()
[all …]
/linux-6.3-rc2/drivers/md/persistent-data/
A Ddm-block-manager.c380 struct dm_bufio_client *bufio; member
402 if (IS_ERR(bm->bufio)) { in dm_block_manager_create()
403 r = PTR_ERR(bm->bufio); in dm_block_manager_create()
419 dm_bufio_client_destroy(bm->bufio); in dm_block_manager_destroy()
426 return dm_bufio_get_block_size(bm->bufio); in dm_bm_block_size()
432 return dm_bufio_get_device_size(bm->bufio); in dm_bm_nr_blocks()
471 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_lock()
540 p = dm_bufio_get(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_try_lock()
576 p = dm_bufio_new(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock_zero()
615 return dm_bufio_write_dirty_buffers(bm->bufio); in dm_bm_flush()
[all …]

Completed in 23 milliseconds