Home
last modified time | relevance | path

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

/external/qemu/block/
Dparallels.c51 int catalog_size; member
90 s->catalog_size = le32_to_cpu(ph.catalog_entries); in parallels_open()
91 s->catalog_bitmap = qemu_malloc(s->catalog_size * 4); in parallels_open()
92 if (bdrv_pread(bs->file, 64, s->catalog_bitmap, s->catalog_size * 4) != in parallels_open()
93 s->catalog_size * 4) in parallels_open()
95 for (i = 0; i < s->catalog_size; i++) in parallels_open()
114 if ((index > s->catalog_size) || (s->catalog_bitmap[index] == 0)) in seek_to_sector()
Dbochs.c84 int catalog_size; member
138 s->catalog_size = le32_to_cpu(bochs.extra.redolog.catalog); in bochs_open()
139 s->catalog_bitmap = qemu_malloc(s->catalog_size * 4); in bochs_open()
141 s->catalog_size * 4) != s->catalog_size * 4) in bochs_open()
143 for (i = 0; i < s->catalog_size; i++) in bochs_open()
146 s->data_offset = le32_to_cpu(bochs.header) + (s->catalog_size * 4); in bochs_open()