Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow2-snapshot.c101 offset = s->snapshots_offset; in qcow2_do_read_snapshots()
222 assert(table_length == offset - s->snapshots_offset); in qcow2_do_read_snapshots()
226 offset - s->snapshots_offset > INT_MAX) in qcow2_do_read_snapshots()
256 assert(offset - s->snapshots_offset <= INT_MAX); in qcow2_do_read_snapshots()
257 s->snapshots_size = offset - s->snapshots_offset; in qcow2_do_read_snapshots()
280 uint64_t snapshots_offset; in qcow2_write_snapshots() member
282 int64_t offset, snapshots_offset = 0; in qcow2_write_snapshots() local
305 snapshots_offset = qcow2_alloc_clusters(bs, snapshots_size); in qcow2_write_snapshots()
306 offset = snapshots_offset; in qcow2_write_snapshots()
403 QEMU_BUILD_BUG_ON(offsetof(QCowHeader, snapshots_offset) != in qcow2_write_snapshots()
[all …]
H A Dqcow2.h167 uint64_t snapshots_offset; member
368 uint64_t snapshots_offset; member
H A Dqcow2.c1348 header.snapshots_offset = be64_to_cpu(header.snapshots_offset); in qcow2_do_open()
1560 ret = qcow2_validate_table(bs, header.snapshots_offset, in qcow2_do_open()
1770 s->snapshots_offset = header.snapshots_offset; in qcow2_do_open()
2966 .snapshots_offset = cpu_to_be64(s->snapshots_offset), in qcow2_update_header()
H A Dqcow2-refcount.c2266 s->snapshots_offset, s->snapshots_size); in calculate_refcounts()
2956 if (overlaps_with(s->snapshots_offset, s->snapshots_size)) { in qcow2_check_metadata_overlap()
/openbmc/qemu/tests/image-fuzzer/qcow2/
H A Dfuzz.py236 def snapshots_offset(current): function
/openbmc/qemu/docs/interop/
H A Dqcow2.txt84 64 - 71: snapshots_offset
672 fields snapshots_offset and nb_snapshots. The entries of the snapshot table