Lines Matching refs:rsb
61 static u8 *fec_read_parity(struct dm_verity *v, u64 rsb, int index, in fec_read_parity() argument
67 position = (index + rsb) * v->fec->roots; in fec_read_parity()
74 v->data_dev->name, (unsigned long long)rsb, in fec_read_parity()
124 u64 rsb, int byte_index, unsigned int block_offset, in fec_decode_bufs() argument
132 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs()
160 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs()
172 v->data_dev->name, (unsigned long long)rsb, r); in fec_decode_bufs()
175 v->data_dev->name, (unsigned long long)rsb, r); in fec_decode_bufs()
200 u64 rsb, u64 target, unsigned int block_offset, in fec_read_bufs() argument
224 ileaved = fec_interleave(v, rsb * v->fec->rsn + i); in fec_read_bufs()
254 (unsigned long long)rsb, in fec_read_bufs()
361 struct dm_verity_fec_io *fio, u64 rsb, u64 offset, in fec_decode_rsb() argument
374 r = fec_read_bufs(v, io, rsb, offset, pos, in fec_decode_rsb()
379 r = fec_decode_bufs(v, fio, rsb, r, pos, neras); in fec_decode_rsb()
396 v->data_dev->name, (unsigned long long)rsb, neras); in fec_decode_rsb()
424 u64 offset, res, rsb; in verity_fec_decode() local
456 rsb = offset - res * (v->fec->rounds << v->data_dev_block_bits); in verity_fec_decode()
463 r = fec_decode_rsb(v, io, fio, rsb, offset, false); in verity_fec_decode()
465 r = fec_decode_rsb(v, io, fio, rsb, offset, true); in verity_fec_decode()