HomeSort by relevance Sort by last modified time
    Searched refs:nb_snapshots (Results 1 - 5 of 5) sorted by null

  /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 = 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; 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 240 snapshot_print_table( int fd, uint32_t nb_snapshots, uint64_t snapshots_offset )
250 for (i = 0; i < nb_snapshots; i++) {
290 snapshot_read_qcow_header( int fd, uint32_t *nb_snapshots, uint64_t *snapshots_offset )
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_offset)
    [all...]

Completed in 44 milliseconds