Home | History | Annotate | Download | only in libfec

Lines Matching refs:errors

106    of bytes corrected in `errors' */
108 bool use_erasures, uint8_t *ecc_data, size_t *errors)
132 /* to improve our chances of correcting IO errors, initialize the
141 /* treat errors as corruption */
200 warn("RS block %" PRIu64 ": corrected %zu errors", rsb, nerrs);
201 *errors += nerrs;
232 /* reads `count' bytes from `offset' and corrects possible errors without
233 erasure detection, returning the number of corrected bytes in `errors' */
235 uint64_t offset, size_t *errors)
241 check(errors);
261 ecc_data.get(), errors) == -1) {
282 /* reads `count' bytes from `offset', corrects possible errors with
284 verity hash tree; returns the number of corrections in `errors' */
286 uint64_t offset, size_t *errors)
293 check(errors);
357 errors) == FEC_BLOCKSIZE &&
364 errors) == FEC_BLOCKSIZE &&