Searched defs:snapshots_offset (Results 1 - 3 of 3) sorted by relevance
/external/qemu/android/ |
H A D | snapshot.c | 240 snapshot_print_table( int fd, uint32_t nb_snapshots, uint64_t snapshots_offset ) 246 seek_or_die(fd, snapshots_offset, SEEK_SET); 290 snapshot_read_qcow_header( int fd, uint32_t *nb_snapshots, uint64_t *snapshots_offset ) 298 read_or_die(fd, snapshots_offset, sizeof(*snapshots_offset)); 302 be64_to_cpus(snapshots_offset); 320 uint64_t snapshots_offset; local 321 snapshot_read_qcow_header(fd, &nb_snapshots, &snapshots_offset); 325 snapshot_print_table(fd, nb_snapshots, snapshots_offset);
|
/external/qemu/block/ |
H A D | qcow2-snapshot.c | 78 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 D | qcow2.h | 67 uint64_t snapshots_offset; member in struct:QCowHeader 115 uint64_t snapshots_offset; member in struct:BDRVQcowState
|
Completed in 76 milliseconds