Lines Matching refs:neras
45 u8 *data, u8 *fec, int neras) in fec_decode_rs8() argument
53 return decode_rs8(fio->rs, data, par, v->fec->rsn, NULL, neras, in fec_decode_rs8()
125 int neras) in fec_decode_bufs() argument
142 res = fec_decode_rs8(v, fio, block, &par[offset], neras); in fec_decode_bufs()
170 if (r < 0 && neras) in fec_decode_bufs()
201 int *neras) in fec_read_bufs() argument
213 if (neras) in fec_read_bufs()
214 *neras = 0; in fec_read_bufs()
258 if (neras && *neras <= v->fec->roots) in fec_read_bufs()
259 fio->erasures[(*neras)++] = i; in fec_read_bufs()
276 if (neras && *neras <= v->fec->roots && in fec_read_bufs()
278 fio->erasures[(*neras)++] = i; in fec_read_bufs()
364 int r, neras = 0; in fec_decode_rsb() local
375 use_erasures ? &neras : NULL); 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()