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()
314 check(curr <= max_hash_block); in verity_read()
315 uint64_t curr_offset = curr * FEC_BLOCKSIZE; in verity_read()
332 if (likely(f->hashtree().check_block_hash_with_index(curr, data))) { in verity_read()
346 offset, offset + count, curr); in verity_read()
350 offset, offset + count, curr); in verity_read()
357 f->hashtree().check_block_hash_with_index(curr, data)) { in verity_read()
364 f->hashtree().check_block_hash_with_index(curr, data)) { in verity_read()
370 offset, offset + count, curr, curr_offset); in verity_read()
371 dump("decoded block", curr, data, FEC_BLOCKSIZE); in verity_read()
396 ++curr; in verity_read()