Lines Matching refs:rsb
62 static u8 *fec_read_parity(struct dm_verity *v, u64 rsb, int index, in fec_read_parity() argument
68 position = (index + rsb) * v->fec->roots; in fec_read_parity()
75 v->data_dev->name, (unsigned long long)rsb, in fec_read_parity()
125 u64 rsb, int byte_index, unsigned int block_offset, in fec_decode_bufs() argument
133 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs()
161 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs()
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()
201 u64 rsb, u64 target, unsigned int block_offset, in fec_read_bufs() argument
225 ileaved = fec_interleave(v, rsb * v->fec->rsn + i); in fec_read_bufs()
255 (unsigned long long)rsb, in fec_read_bufs()
362 struct dm_verity_fec_io *fio, u64 rsb, u64 offset, in fec_decode_rsb() argument
375 r = fec_read_bufs(v, io, rsb, offset, pos, in fec_decode_rsb()
380 r = fec_decode_bufs(v, fio, rsb, r, pos, neras); in fec_decode_rsb()
397 v->data_dev->name, (unsigned long long)rsb, neras); in fec_decode_rsb()
425 u64 offset, res, rsb; in verity_fec_decode() local
457 rsb = offset - res * (v->fec->rounds << v->data_dev_block_bits); in verity_fec_decode()
464 r = fec_decode_rsb(v, io, fio, rsb, offset, false); in verity_fec_decode()
466 r = fec_decode_rsb(v, io, fio, rsb, offset, true); in verity_fec_decode()