Searched refs:uncompressed_chunk (Results 1 – 1 of 1) sorted by relevance
49 uint8_t *uncompressed_chunk; member164 s->uncompressed_chunk = qemu_malloc(512*max_sectors_per_chunk); in dmg_open()232 s->zstream.next_out = s->uncompressed_chunk; in dmg_read_chunk()242 ret = read(s->fd, s->uncompressed_chunk, s->lengths[chunk]); in dmg_read_chunk()247 memset(s->uncompressed_chunk, 0, 512*s->sectorcounts[chunk]); in dmg_read_chunk()266 memcpy(buf+i*512,s->uncompressed_chunk+sector_offset_in_chunk*512,512); in dmg_read()283 free(s->uncompressed_chunk); in dmg_close()