Lines Matching defs:data
46 u8 *data, u8 *fec, int neras)
54 return decode_rs8(fio->rs, data, par, v->fec->rsn, NULL, neras,
60 * to the data block. Caller is responsible for releasing buf.
182 * Locate data block erasures using verity hashes.
185 u8 *want_digest, u8 *data)
188 data, 1 << v->data_dev_block_bits,
197 * Read data blocks that are part of the RS block and deinterleave as much as
221 * read each of the rsn data blocks that are part of the RS block, and
228 * target is the data block we want to correct, target_index is
242 * zeros when encoding data was generated
265 /* locate erasures if the block is on the data device */
357 * Decode all RS blocks in a single data block and return the target block
404 static int fec_bv_copy(struct dm_verity *v, struct dm_verity_io *io, u8 *data,
409 memcpy(data, &fio->output[fio->output_pos], len);
441 * For RS(M, N), the continuous FEC data is divided into blocks of N
484 * Clean up per-bio data.
507 * Initialize per-bio data.
686 * FEC is computed over data blocks, possible metadata, and
690 * data blocks | hash blocks | metadata (optional)
693 * where all data is stored on the same device and FEC covers
703 * Require matching block sizes for data and hash devices for
771 ti->error = "Cannot initialize FEC data bufio client";
819 /* Reserve space for our per-bio data */