Lines Matching full:rsb
62 static u8 *fec_read_parity(struct dm_verity *v, u64 rsb, int index, in fec_read_parity() argument
69 position = (index + rsb) * v->fec->roots; in fec_read_parity()
76 v->data_dev->name, (unsigned long long)rsb, in fec_read_parity()
126 struct dm_verity_fec_io *fio, u64 rsb, int byte_index, in fec_decode_bufs() argument
135 par = fec_read_parity(v, rsb, block_offset, &offset, &buf, bio_prio(bio)); in fec_decode_bufs()
163 par = fec_read_parity(v, rsb, block_offset, &offset, &buf, bio_prio(bio)); in fec_decode_bufs()
175 v->data_dev->name, (unsigned long long)rsb, r); in fec_decode_bufs()
178 v->data_dev->name, (unsigned long long)rsb, r); in fec_decode_bufs()
202 u64 rsb, u64 target, unsigned int block_offset, in fec_read_bufs() argument
227 ileaved = fec_interleave(v, rsb * v->fec->rsn + i); in fec_read_bufs()
257 (unsigned long long)rsb, in fec_read_bufs()
364 struct dm_verity_fec_io *fio, u64 rsb, u64 offset, in fec_decode_rsb() argument
377 r = fec_read_bufs(v, io, rsb, offset, pos, in fec_decode_rsb()
382 r = fec_decode_bufs(v, io, fio, rsb, r, pos, neras); in fec_decode_rsb()
398 v->data_dev->name, (unsigned long long)rsb, neras); in fec_decode_rsb()
411 u64 offset, res, rsb; in verity_fec_decode() local
443 rsb = offset - res * (v->fec->rounds << v->data_dev_block_bits); in verity_fec_decode()
450 r = fec_decode_rsb(v, io, fio, rsb, offset, false); in verity_fec_decode()
452 r = fec_decode_rsb(v, io, fio, rsb, offset, true); in verity_fec_decode()