Searched refs:nb_snapshots (Results 1 - 5 of 5) sorted by relevance
/external/qemu/block/ |
H A D | 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 = qemu_mallocz(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; [all...] |
H A D | qcow2.h | 66 uint32_t nb_snapshots; member in struct:QCowHeader 117 int nb_snapshots; member in struct:BDRVQcowState
|
H A D | qcow2.c | 160 be32_to_cpus(&header.nb_snapshots); 186 s->nb_snapshots = header.nb_snapshots; 1120 if (s->nb_snapshots) {
|
H A D | qcow2-refcount.c | 1129 for(i = 0; i < s->nb_snapshots; i++) {
|
/external/qemu/android/ |
H A D | snapshot.c | 240 snapshot_print_table( int fd, uint32_t nb_snapshots, uint64_t snapshots_offset ) argument 250 for (i = 0; i < nb_snapshots; i++) { 290 snapshot_read_qcow_header( int fd, uint32_t *nb_snapshots, uint64_t *snapshots_offset ) argument 297 read_or_die(fd, nb_snapshots, sizeof(*nb_snapshots)); 301 be32_to_cpus(nb_snapshots); 319 uint32_t nb_snapshots; local 321 snapshot_read_qcow_header(fd, &nb_snapshots, &snapshots_offset); 323 if (nb_snapshots > 0) { 325 snapshot_print_table(fd, nb_snapshots, snapshots_offse [all...] |
Completed in 120 milliseconds