Lines Matching refs:offset
99 int fd, int64_t offset, unsigned int blocks, unsigned int block,
114 ret = sparse_file_add_fd(s, fd, offset, len, block);
225 static int process_chunk(struct sparse_file *s, int fd, off64_t offset,
236 ret = process_raw_chunk(s, chunk_data_size, fd, offset,
239 verbose_error(s->verbose, ret, "data block at %lld", offset);
247 verbose_error(s->verbose, ret, "fill block at %lld", offset);
256 verbose_error(s->verbose, ret, "skip block at %lld", offset);
265 offset);
271 chunk_header->chunk_type, offset);
286 off64_t offset;
341 offset = lseek64(fd, 0, SEEK_CUR);
343 ret = process_chunk(s, fd, offset, sparse_header.chunk_hdr_sz, &chunk_header,
365 int64_t offset = 0;
399 sparse_file_add_fd(s, fd, offset, to_read, block);
403 offset += to_read;