Lines Matching refs:data_offset
160 uint8_t *hash, uint64_t data_offset, uint8_t *data) in ecc_read_hashes() argument
173 if (fec_pread(f, data, FEC_BLOCKSIZE, data_offset) != FEC_BLOCKSIZE) { in ecc_read_hashes()
175 data_offset, strerror(errno)); in ecc_read_hashes()
204 uint64_t data_offset = hash_offset + FEC_BLOCKSIZE; in verify_tree() local
206 v->hash_data_offset = data_offset; in verify_tree()
235 v->hash_data_offset = data_offset; in verify_tree()
238 data_offset += blocks * FEC_BLOCKSIZE; in verify_tree()
262 data_offset = hash_offset + FEC_BLOCKSIZE; in verify_tree()
273 data_offset + j * FEC_BLOCKSIZE)) { in verify_tree()
282 data_offset + j * FEC_BLOCKSIZE, data) || in verify_tree()
286 hash_offset, data_offset, j); in verify_tree()
296 data_offset + j * FEC_BLOCKSIZE)) { in verify_tree()
309 hash_offset = data_offset; in verify_tree()
310 data_offset += blocks * FEC_BLOCKSIZE; in verify_tree()