Searched refs:snapshots_offset (Results 1 - 6 of 6) sorted by relevance

/external/qemu/android/
H A Dsnapshot.c241 snapshot_print_table( int fd, uint32_t nb_snapshots, uint64_t snapshots_offset )
247 seek_or_die(fd, snapshots_offset, SEEK_SET);
291 snapshot_read_qcow_header( int fd, uint32_t *nb_snapshots, uint64_t *snapshots_offset )
299 read_or_die(fd, snapshots_offset, sizeof(*snapshots_offset));
303 be64_to_cpus(snapshots_offset);
321 uint64_t snapshots_offset; local
322 snapshot_read_qcow_header(fd, &nb_snapshots, &snapshots_offset);
326 snapshot_print_table(fd, nb_snapshots, snapshots_offset);
/external/qemu/block/
H A Dqcow2-snapshot.c78 offset = s->snapshots_offset;
111 s->snapshots_size = offset - s->snapshots_offset;
127 int64_t offset, snapshots_offset; local
140 snapshots_offset = qcow2_alloc_clusters(bs, snapshots_size);
141 offset = snapshots_offset;
173 data64 = cpu_to_be64(snapshots_offset);
174 if (bdrv_pwrite_sync(bs->file, offsetof(QCowHeader, snapshots_offset),
183 qcow2_free_clusters(bs, s->snapshots_offset, s->snapshots_size);
184 s->snapshots_offset = snapshots_offset;
[all...]
H A Dqcow2.h67 uint64_t snapshots_offset; member in struct:QCowHeader
115 uint64_t snapshots_offset; member in struct:BDRVQcowState
H A Dqcow2.c159 be64_to_cpus(&header.snapshots_offset);
185 s->snapshots_offset = header.snapshots_offset;
H A Dqcow2-refcount.c1138 s->snapshots_offset, s->snapshots_size);
/external/e2fsprogs/lib/ext2fs/
H A Dqcow2.h57 __u64 snapshots_offset; member in struct:ext2_qcow2_hdr

Completed in 1738 milliseconds