Lines Matching refs:curr
252 uint64_t curr = offset / FEC_BLOCKSIZE; in ecc_read() local
253 size_t coff = (size_t)(offset - curr * FEC_BLOCKSIZE); in ecc_read()
260 if (__ecc_read(f, rs.get(), data, curr * FEC_BLOCKSIZE, false, in ecc_read()
276 ++curr; in ecc_read()
304 uint64_t curr = offset / FEC_BLOCKSIZE; in verity_read() local
305 size_t coff = (size_t)(offset - curr * FEC_BLOCKSIZE); in verity_read()
313 check(curr <= max_hash_block); in verity_read()
315 uint8_t *hash = &f->verity.hash[curr * SHA256_DIGEST_LENGTH]; in verity_read()
316 uint64_t curr_offset = curr * FEC_BLOCKSIZE; in verity_read()
347 offset, offset + count, curr); in verity_read()
351 offset, offset + count, curr); in verity_read()
371 offset, offset + count, curr, curr_offset); in verity_read()
372 dump("decoded block", curr, data, FEC_BLOCKSIZE); in verity_read()
397 ++curr; in verity_read()