Lines Matching refs:bufs
109 return &fio->bufs[i][j * v->fec->rsn];
140 * Decode the RS blocks we have in bufs. Each RS block results in
225 * interleave contents to available bufs
286 * deinterleave and copy the bytes that fit into bufs,
317 if (fio->bufs[n])
320 fio->bufs[n] = mempool_alloc(&v->fec->prealloc_pool, GFP_NOWAIT);
321 if (unlikely(!fio->bufs[n])) {
329 if (fio->bufs[n])
332 fio->bufs[n] = mempool_alloc(&v->fec->extra_pool, GFP_NOWAIT);
334 if (unlikely(!fio->bufs[n]))
354 memset(fio->bufs[n], 0, v->fec->rsn << DM_VERITY_FEC_BUF_RS_BITS);
501 mempool_free(fio->bufs[n], &f->prealloc_pool);
504 mempool_free(fio->bufs[n], &f->extra_pool);
520 memset(fio->bufs, 0, sizeof(fio->bufs));