Lines Matching refs:offsets
32 uint64_t* offsets;
71 /* read offsets */
73 s->offsets = qemu_malloc(offsets_size);
74 if (bdrv_pread(bs->file, 128 + 4 + 4, s->offsets, offsets_size) <
79 s->offsets[i]=be64_to_cpu(s->offsets[i]);
81 uint32_t size=s->offsets[i]-s->offsets[i-1];
108 uint32_t bytes = s->offsets[block_num+1]-s->offsets[block_num];
110 ret = bdrv_pread(bs->file, s->offsets[block_num], s->compressed_block,
151 free(s->offsets);