H A D | dm-verity-fec.c | 45 static int fec_decode_rs8(struct dm_verity *v, struct dm_verity_fec_io *fio, in fec_decode_rs8() argument 54 return decode_rs8(fio->rs, data, par, v->fec->rsn, NULL, neras, in fec_decode_rs8() 55 fio->erasures, 0, NULL); in fec_decode_rs8() 110 struct dm_verity_fec_io *fio, 113 return &fio->bufs[i][j * v->fec->rsn]; 126 * Decode all RS blocks from buffers and copy corrected bytes into fio->output in fec_decode_bufs() 129 static int fec_decode_bufs(struct dm_verity *v, struct dm_verity_fec_io *fio, in fec_decode_bufs() 147 fec_for_each_buffer_rs_block(fio, n, i) { in fec_decode_bufs() 148 block = fec_buffer_rs_block(v, fio, n, i); in fec_decode_bufs() 150 res = fec_decode_rs8(v, fio, bloc in fec_decode_bufs() 105 fec_buffer_rs_block(struct dm_verity * v,struct dm_verity_fec_io * fio,unsigned int i,unsigned int j) fec_buffer_rs_block() argument 124 fec_decode_bufs(struct dm_verity * v,struct dm_verity_fec_io * fio,u64 rsb,int byte_index,unsigned int block_offset,int neras) fec_decode_bufs() argument 208 struct dm_verity_fec_io *fio = fec_io(io); fec_read_bufs() local 306 fec_alloc_bufs(struct dm_verity * v,struct dm_verity_fec_io * fio) fec_alloc_bufs() argument 346 fec_init_bufs(struct dm_verity * v,struct dm_verity_fec_io * fio) fec_init_bufs() argument 362 fec_decode_rsb(struct dm_verity * v,struct dm_verity_io * io,struct dm_verity_fec_io * fio,u64 rsb,u64 offset,bool use_erasures) fec_decode_rsb() argument 407 struct dm_verity_fec_io *fio = fec_io(io); fec_bv_copy() local 424 struct dm_verity_fec_io *fio = fec_io(io); verity_fec_decode() local 490 struct dm_verity_fec_io *fio = fec_io(io); verity_fec_finish_io() local 511 struct dm_verity_fec_io *fio = fec_io(io); verity_fec_init_io() local [all...] |