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

/external/qemu/block/
H A Dqcow2-snapshot.c54 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;
[all...]
H A Dqcow2.h66 uint32_t nb_snapshots; member in struct:QCowHeader
117 int nb_snapshots; member in struct:BDRVQcowState
H A Dqcow2.c160 be32_to_cpus(&header.nb_snapshots);
186 s->nb_snapshots = header.nb_snapshots;
1120 if (s->nb_snapshots) {
H A Dqcow2-refcount.c1129 for(i = 0; i < s->nb_snapshots; i++) {
/external/qemu/android/
H A Dsnapshot.c241 snapshot_print_table( int fd, uint32_t nb_snapshots, uint64_t snapshots_offset ) argument
251 for (i = 0; i < nb_snapshots; i++) {
291 snapshot_read_qcow_header( int fd, uint32_t *nb_snapshots, uint64_t *snapshots_offset ) argument
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_offse
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dqcow2.h56 __u32 nb_snapshots; member in struct:ext2_qcow2_hdr

Completed in 151 milliseconds