/external/qemu/block/ |
qcow2-snapshot.c | 240 uint64_t *l1_table = NULL; local 279 l1_table = qemu_malloc(s->l1_size * sizeof(uint64_t)); 281 l1_table = NULL; 285 l1_table[i] = cpu_to_be64(s->l1_table[i]); 288 l1_table, s->l1_size * sizeof(uint64_t)) < 0) 290 qemu_free(l1_table); 291 l1_table = NULL; 309 qemu_free(l1_table); 335 s->l1_table, l1_size2) != l1_size2 [all...] |
qcow2.h | 94 uint64_t *l1_table; member in struct:BDRVQcowState
|
qcow.c | 66 uint64_t *l1_table; member in struct:BDRVQcowState 132 s->l1_table = qemu_malloc(s->l1_size * sizeof(uint64_t)); 133 if (!s->l1_table) 135 if (bdrv_pread(bs->file, s->l1_table_offset, s->l1_table, s->l1_size * sizeof(uint64_t)) != 139 be64_to_cpus(&s->l1_table[i]); 165 qemu_free(s->l1_table); 264 l2_offset = s->l1_table[l1_index]; 274 s->l1_table[l1_index] = l2_offset; 736 qemu_free(s->l1_table); 838 memset(s->l1_table, 0, l1_length) [all...] |
qcow2-refcount.c | 749 uint64_t *l1_table, *l2_table, l2_offset, offset, l1_size2, l1_allocated; local 757 l1_table = NULL; 761 l1_table = qemu_mallocz(align_offset(l1_size2, 512)); 763 l1_table = NULL; 767 l1_table, l1_size2) != l1_size2) 770 be64_to_cpus(&l1_table[i]); 773 l1_table = s->l1_table; 781 l2_offset = l1_table[i]; 845 l1_table[i] = l2_offset 1027 uint64_t *l1_table, l2_offset, l1_size2; local [all...] |
vmdk.c | 67 uint32_t *l1_table; member in struct:BDRVVmdkState 411 s->l1_table = qemu_malloc(l1_size); 412 if (bdrv_pread(bs->file, s->l1_table_offset, s->l1_table, l1_size) != l1_size) 415 le32_to_cpus(&s->l1_table[i]); 431 qemu_free(s->l1_table); 503 l2_offset = s->l1_table[l1_index]; 822 qemu_free(s->l1_table);
|