/external/qemu/block/ |
qcow2-snapshot.c | 54 for(i = 0; i < s->nb_snapshots; i++) { 60 s->nb_snapshots = 0; 72 if (!s->nb_snapshots) { 79 s->snapshots = g_malloc0(s->nb_snapshots * sizeof(QCowSnapshot)); 80 for(i = 0; i < s->nb_snapshots; i++) { 131 for(i = 0; i < s->nb_snapshots; i++) { 146 for(i = 0; i < s->nb_snapshots; i++) { 177 data32 = cpu_to_be32(s->nb_snapshots); 178 if (bdrv_pwrite_sync(bs->file, offsetof(QCowHeader, nb_snapshots), 198 for(i = 0; i < s->nb_snapshots; i++) [all...] |
qcow2.h | 66 uint32_t nb_snapshots; member in struct:QCowHeader 117 int nb_snapshots; member in struct:BDRVQcowState
|
qcow2.c | 160 be32_to_cpus(&header.nb_snapshots); 186 s->nb_snapshots = header.nb_snapshots; [all...] |
qcow2-refcount.c | [all...] |
/external/qemu/android/ |
snapshot.c | 241 snapshot_print_table( int fd, uint32_t nb_snapshots, uint64_t snapshots_offset ) 251 for (i = 0; i < nb_snapshots; i++) { 291 snapshot_read_qcow_header( int fd, uint32_t *nb_snapshots, uint64_t *snapshots_offset ) 298 read_or_die(fd, nb_snapshots, sizeof(*nb_snapshots)); 302 be32_to_cpus(nb_snapshots); 320 uint32_t nb_snapshots; local 322 snapshot_read_qcow_header(fd, &nb_snapshots, &snapshots_offset); 324 if (nb_snapshots > 0) { 326 snapshot_print_table(fd, nb_snapshots, snapshots_offset) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
qcow2.h | 56 __u32 nb_snapshots; member in struct:ext2_qcow2_hdr
|