Lines Matching refs:copy
159 uint8_t copy[FEC_RSM]; in __ecc_read() local
172 memcpy(copy, &ecc_data[i * FEC_RSM], FEC_RSM); in __ecc_read()
182 dump("raw RS block", rsb, copy, FEC_RSM); in __ecc_read()
265 size_t copy = FEC_BLOCKSIZE - coff; in ecc_read() local
267 if (copy > left) { in ecc_read()
268 copy = left; in ecc_read()
271 memcpy(dest, &data[coff], copy); in ecc_read()
273 dest += copy; in ecc_read()
274 left -= copy; in ecc_read()
386 size_t copy = FEC_BLOCKSIZE - coff; in verity_read()
388 if (copy > left) { in verity_read()
389 copy = left; in verity_read()
392 memcpy(dest, &data[coff], copy); in verity_read()
394 dest += copy; in verity_read()
395 left -= copy; in verity_read()