Lines Matching full:offsets
32 * offsets[i] is the offset in the .dmg file,
34 * sectors[i] is the sector beginning at offsets[i],
41 uint64_t* offsets;
85 s->offsets = s->lengths = s->sectors = s->sectorcounts = NULL;
111 /* read offsets */
131 s->offsets = qemu_realloc(s->offsets, new_size);
141 last_in_offset = s->offsets[i-1]+s->lengths[i-1];
157 s->offsets[i] = last_in_offset+read_off(bs, offset);
231 ret = bdrv_pread(bs->file, s->offsets[chunk] + i,
253 ret = bdrv_pread(bs->file, s->offsets[chunk],
288 free(s->offsets);