Home
last modified time | relevance | path

Searched refs:sectorcounts (Results 1 – 1 of 1) sorted by relevance

/external/qemu/block/
Ddmg.c44 uint64_t* sectorcounts; member
85 s->offsets = s->lengths = s->sectors = s->sectorcounts = NULL; in dmg_open()
134 s->sectorcounts = qemu_realloc(s->sectorcounts, new_size); in dmg_open()
142 last_out_offset = s->sectors[i-1]+s->sectorcounts[i-1]; in dmg_open()
154 s->sectorcounts[i] = read_off(bs, offset); in dmg_open()
165 if(s->sectorcounts[i]>max_sectors_per_chunk) in dmg_open()
166 max_sectors_per_chunk = s->sectorcounts[i]; in dmg_open()
189 s->sectors[chunk_num]+s->sectorcounts[chunk_num]<=sector_num) in is_sector_in_chunk()
203 else if(s->sectors[chunk3]+s->sectorcounts[chunk3]>sector_num) in search_chunk()
244 s->zstream.avail_out = 512*s->sectorcounts[chunk]; in dmg_read_chunk()
[all …]