Lines Matching refs:bufio
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()
803 if (IS_ERR(f->bufio)) { in verity_fec_ctr()
805 return PTR_ERR(f->bufio); in verity_fec_ctr()
808 if (dm_bufio_get_device_size(f->bufio) < in verity_fec_ctr()