Home
last modified time | relevance | path

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

/external/qemu/block/
Dqcow2-snapshot.c54 for(i = 0; i < s->nb_snapshots; i++) { in qcow2_free_snapshots()
60 s->nb_snapshots = 0; in qcow2_free_snapshots()
72 if (!s->nb_snapshots) { in qcow2_read_snapshots()
79 s->snapshots = qemu_mallocz(s->nb_snapshots * sizeof(QCowSnapshot)); in qcow2_read_snapshots()
80 for(i = 0; i < s->nb_snapshots; i++) { in qcow2_read_snapshots()
131 for(i = 0; i < s->nb_snapshots; i++) { in qcow_write_snapshots()
143 for(i = 0; i < s->nb_snapshots; i++) { in qcow_write_snapshots()
174 data32 = cpu_to_be32(s->nb_snapshots); in qcow_write_snapshots()
175 if (bdrv_pwrite(s->hd, offsetof(QCowHeader, nb_snapshots), in qcow_write_snapshots()
195 for(i = 0; i < s->nb_snapshots; i++) { in find_new_snapshot_id()
[all …]
Dqcow2.h62 uint32_t nb_snapshots; member
112 int nb_snapshots; member
Dqcow2.c177 be32_to_cpus(&header.nb_snapshots); in qcow_open()
204 s->nb_snapshots = header.nb_snapshots; in qcow_open()
Dqcow2-refcount.c818 for(i = 0; i < s->nb_snapshots; i++) { in qcow2_check_refcounts()