Lines Matching refs:copy
157 uint8_t copy[FEC_RSM]; in __ecc_read() local
170 memcpy(copy, &ecc_data[i * FEC_RSM], FEC_RSM); in __ecc_read()
180 dump("raw RS block", rsb, copy, FEC_RSM); in __ecc_read()
263 size_t copy = FEC_BLOCKSIZE - coff; in ecc_read() local
265 if (copy > left) { in ecc_read()
266 copy = left; in ecc_read()
269 memcpy(dest, &data[coff], copy); in ecc_read()
271 dest += copy; in ecc_read()
272 left -= copy; in ecc_read()
384 size_t copy = FEC_BLOCKSIZE - coff; in verity_read()
386 if (copy > left) { in verity_read()
387 copy = left; in verity_read()
390 memcpy(dest, &data[coff], copy); in verity_read()
392 dest += copy; in verity_read()
393 left -= copy; in verity_read()